I'm trying to make an elective succession where commanders are elected for two year terms (This part is already functional through an event), and are then the electors and candidates in the title succession, as a form of parliamentary republic government.
Code:
additive_modifier = {
value = 10
OR = {
has_minor_title = title_commander
higher_real_tier_than = BARON
}
any_dejure_liege = { title = FROMFROM }
}
This is the code I'm using to add commanders (and landed characters) as electors, and it does work for commanders in the home court as well as for landed characters. The problem I'm having is that only commanders in the court of the title itself are eligible to vote, any vassal commander is ineligible.
Code:
additive_modifier = { #The rulers and commanders of all de jure vassal titles are also electors.
value = 10
OR = {
has_minor_title = title_commander
higher_real_tier_than = BARON
}
OR = {
any_dejure_liege = { title = FROMFROM } #One step down from lord.
any_dejure_liege = { any_dejure_liege = { title = FROMFROM } } #Two steps down from lord.
any_dejure_liege = { any_dejure_liege = { any_dejure_liege = { title = FROMFROM } } } #Three steps down from lord.
}
}
This is my ugly attempt at including everyone down to count tier (from an emperor), but it doesn't work, giving only the same list of characters as the first block. I don't suppose I've made some very easy to notice mistake somewhere? I'm having the same problem with available candidates, for which I use the below, very similar, block.
Code:
FROM = { #Title holders and commanders are eligible.
OR = {
has_minor_title = title_commander
higher_real_tier_than = BARON
}
OR = { #Eligible locations.
any_dejure_liege = { title = ROOT_FROMFROM } #Any de jure vassal of the title.
}
}