can_be_chancellor_trigger = {
is_adult = yes
prisoner = no
NOT = { trait = incapable }
# AI councillors may only be In Hiding if their liege is a player (prevents a lot of auto-resignation)
OR = {
NOT = { trait = in_hiding }
AND = {
liege = { ai = no }
ai = yes
}
}
# Must be male, or else one of these other things must be true:
OR = {
is_female = no
trait = horse # If Glitterhoof happens to be female, it's kind of irrelevant, eh?
AND = {
emf_feminist_religion_trigger = yes # Various "feminist" religions...
liege = { religion = ROOT } # ... and the liege has the same feminist religion.
}
# Basques without Agnatic Succession may appoint females
AND = {
culture = basque
liege = {
culture = basque
primary_title = {
succ_law_title = { NOT = { has_law = agnatic_succession } }
}
}
}
# With Absolute Cognatic Succession, may always appoint females
liege = {
primary_title = {
succ_law_title = { has_law = true_cognatic_succession }
}
}
AND = {
# With high enough Status of Women law (Zeus-only), ...
liege = {
primary_title = {
OR = {
has_law = status_of_women_2
has_law = status_of_women_3
}
}
}
OR = {
liege = { # ... women close to the liege may be appointed, or...
OR = {
dynasty = ROOT
is_close_relative = ROOT
any_spouse = { character = ROOT }
any_consort = { character = ROOT }
}
}
# ... or they must be landed women or nuns
is_landed = yes
trait = nun
}
}
# With Status of Women at its maximum setting, women may always be appointed
liege = { primary_title = { has_law = status_of_women_4 } }
# If the Gender Equality scenario customization decision was used (with unlocked council chosen), women
# may always be appointed for non-Muslims.
AND = {
has_global_flag = emf_gender_eq_council
NOT = { liege = { religion_group = muslim } }
}
# And then there are always special scripted exceptions.
has_character_flag = special_chancellor
}
# Chancellor must be not Waldensian, or not a theocrat, or not a ruler
OR = {
NOT = { religion = waldensian }
is_theocracy = no
is_ruler = no
}
# Chancellor must be not Bogomilist, or not a Perfecti nor theocrat, or the liege is also Bogomilist and that faith
# has been significantly reformed (via laws)
OR = {
NOT = { religion = bogomilist }
NOR = {
trait = perfecti
is_theocracy = yes
}
liege = {
religion = bogomilist
OR = {
has_law = bogomilist_church_2
has_law = bogomilist_church_3
has_law = bogomilist_church_4
}
}
}
liege = { any_demesne_title = { is_titular = no } } # Stop, e.g, adventurers from appointing councillors
}