Code:
allow = {
is_female = no
age = 18
in_command = no
is_governor = no
has_tech_office = no
prisoner = no
has_title = title_ex_general
is_ruler = yes
OR = {
OR = {
country = { government = monarchy }
AND = {
OR = {
from_ruler_family = yes
}
}
}
OR = {
country = { government = tribal }
AND = {
OR = {
has_title = title_clan_chief
}
}
}
OR = {
country = { government = republic }
AND = {
OR = {
has_title = title_ex_ruler
has_title = title_pro_ruler
has_title = title_ex_civic_tech
has_title = title_pro_civic_tech
has_title = title_ex_censor
}
}
}
}
}
So, yeah, basically that mess is what I have tried so far. In short, I want separate conditions for " allow = { " depending on the government. This is mostly because I think monarchies and tribes have an unfair advantage towards republics since they can pick whomever they want to lead armies. Also, I would like kings to lead armies more often, wich is alot ore historical than the current setup. While a republic is more stable, the monarchies and tribes will still have a yet to be added title wich will allow generalship too, but that will come later.
I don't know how the AND - OR stuff work together, I think the above code shows that quite clearly. How can I get separate conditions? Right now it checks all of the above, so either I get zero generals available or everyone as usual (talking about monarchies).
All help greatly appreciated.