This would be really neat!
Yeah. Archievements for Game of Thrones for exemple. Or for me map mod... 'Ave Cesare! - Unite Italy as Cesare Borgia'
This would be really neat!
Id don't know if these have been added to the wish list but for the fantasy mod I am working on the following commands would be great.
change_gender
change_age
return_to_life
title_name_grand_prince = {
limit = {
OR = {
AND = {
tier = king
holder = {
is_feudal = yes
culture = russian
}
}
AND = {
tier = emperor
holder = {
is_republic = yes
NOT = {
culture = ...
}
}
}
}
}
petty = no
}
succ_primogeniture = {
...
priorities = {
purple_born = {
priority = +1
limit = {
OR = {
title = e_byzantium
title = e_roman_empire
}
ROOT = { #candidate
trait = purple_born
OR = {
father = { character = FROM }
mother = { character = FROM }
}
}
}
}
bastard = {
priority = -1
...
}
monasty = {
priority = never
...
}
...
}
}
-Moddable succession laws.
I don't know about that. Consider that there are a number of ways to 'interfere' with succession - republican houses can nominate their heir, as can certain religions. Born in the Purple interrupts otherwise standard laws. Not full laws, no, but outside the scope of the 'hard-wired' ones.Will never happen, because it would destroy the performance of the game. It was coded in a way that make it impossible.
I don't know about that. Consider that there are a number of ways to 'interfere' with succession - republican houses can nominate their heir, as can certain religions. Born in the Purple interrupts otherwise standard laws. Not full laws, no, but outside the scope of the 'hard-wired' ones.
Of course, I have no real idea how it fits together inside the exe. Maybe it is impossible. Maybe it's just prohibitively difficult. Of course, even if it might never happen, it doesn't hurt to raise it every so often - it might inspire a random idea that overcomes the problems and makes it happen.
It was what a dev said once. Moddable succession laws are impossible. The best we can do is to ask for special successon laws.
-More flexible title name with conditions.
Code:title_name_grand_prince = { limit = { OR = { AND = { tier = king holder = { is_feudal = yes culture = russian } } AND = { tier = emperor holder = { is_republic = yes NOT = { culture = ... } } } } } petty = no }
Actually, the best we can do is peudo implement succession mechasism via the on action events that can be fired on inheritance.
Now that I come to rhink of it, reproducing, say, agnatic primogeniture with on action and using that instead of the hard coded succession could be a good test of viability!
Relating to that, is there a condition to compare ages? Like "is_older_than" that works on character scope taking characters as values? If there is, can someone provide the syntax? If there isn't, it would be a neat addition
The AI wouldn't be able to properly handle that situation, nor would any of the events that call the pretender or heir for titles.
What is the AI supposed to not be able to handle? I was just theorizing of overriding succesion by events. Not that I know very well how does exactly inheritqnce work, really... By the way, could you perhaps point me towards those events that call the heir and the pretenders?
It was what a dev said once. Moddable succession laws are impossible. The best we can do is to ask for special successon laws.
Allow comparing the same variable from two different scopes (E.G., var1 in ROOT, and var1 in FROM)
ROOT = {
FROM = {
copy_variable = { which = var1 scope = PREV }
}
}
This could even be done as simply as
Code:ROOT = { FROM = { copy_variable = { which = var1 scope = PREV } } }
which would copy the variable over with the same name from FROM to ROOT to allow comparison there.
ROOT = {
FROM = {
set_variable = { which = var1 which = PREV }
}
}