more error cleaning
This commit is contained in:
parent
d9c60a5b08
commit
707660e545
65 changed files with 24545 additions and 2406 deletions
|
|
@ -33,7 +33,11 @@ can_be_councillor_gender_trigger = {
|
|||
has_variable = can_be_councillor_override
|
||||
AND = {
|
||||
is_female = yes
|
||||
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = male_dominated_council } }
|
||||
exists = $COURT_OWNER$.rite
|
||||
trigger_if = {
|
||||
limit = { exists = $COURT_OWNER$.rite }
|
||||
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = male_dominated_council } }
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
is_female = yes
|
||||
|
|
@ -43,7 +47,11 @@ can_be_councillor_gender_trigger = {
|
|||
}
|
||||
AND = {
|
||||
is_male = yes
|
||||
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = female_dominated_council } }
|
||||
exists = $COURT_OWNER$.rite
|
||||
trigger_if = {
|
||||
limit = { exists = $COURT_OWNER$.rite }
|
||||
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = female_dominated_council } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -55,7 +63,7 @@ can_be_chancellor_trigger = {
|
|||
}
|
||||
NAND = {
|
||||
has_council_position = councillor_court_chaplain
|
||||
rite = { rite_has_parameter = clerical_appointment_fixed }
|
||||
rite ?= { rite_has_parameter = clerical_appointment_fixed }
|
||||
}
|
||||
NOR = {
|
||||
has_council_position = councillor_spouse
|
||||
|
|
@ -74,7 +82,7 @@ can_be_steward_trigger = {
|
|||
}
|
||||
NAND = {
|
||||
has_council_position = councillor_court_chaplain
|
||||
rite = { rite_has_parameter = clerical_appointment_fixed }
|
||||
rite ?= { rite_has_parameter = clerical_appointment_fixed }
|
||||
}
|
||||
NOR = {
|
||||
has_council_position = councillor_spouse
|
||||
|
|
@ -94,7 +102,7 @@ can_be_marshal_trigger = {
|
|||
is_hostage = no
|
||||
NAND = {
|
||||
has_council_position = councillor_court_chaplain
|
||||
rite = { rite_has_parameter = clerical_appointment_fixed }
|
||||
rite ?= { rite_has_parameter = clerical_appointment_fixed }
|
||||
}
|
||||
NOR = {
|
||||
has_council_position = councillor_spouse
|
||||
|
|
@ -107,7 +115,7 @@ can_be_marshal_trigger = {
|
|||
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
|
||||
AND = {
|
||||
has_trait = shieldmaiden
|
||||
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens }
|
||||
$COURT_OWNER$.culture ?= { has_cultural_parameter = has_access_to_shieldmaidens }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -116,7 +124,7 @@ can_be_spymaster_trigger = {
|
|||
can_be_councillor_basics_trigger = yes
|
||||
NAND = {
|
||||
has_council_position = councillor_court_chaplain
|
||||
rite = { rite_has_parameter = clerical_appointment_fixed }
|
||||
rite ?= { rite_has_parameter = clerical_appointment_fixed }
|
||||
}
|
||||
NOR = {
|
||||
has_council_position = councillor_spouse
|
||||
|
|
@ -141,11 +149,18 @@ can_be_court_chaplain_trigger = {
|
|||
liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
|
||||
}
|
||||
}
|
||||
$COURT_OWNER$.rite = { rite_has_allowed_gender_for_clergy = scope:court_chaplain_check }
|
||||
rite = $COURT_OWNER$.rite
|
||||
exists = $COURT_OWNER$.rite
|
||||
trigger_if = {
|
||||
limit = { exists = $COURT_OWNER$.rite }
|
||||
$COURT_OWNER$.rite ?= { rite_has_allowed_gender_for_clergy = scope:court_chaplain_check }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { exists = $COURT_OWNER$.rite }
|
||||
rite = $COURT_OWNER$.rite
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
rite = { rite_has_doctrine = doctrine_theocracy_temporal }
|
||||
rite ?= { rite_has_doctrine = doctrine_theocracy_temporal }
|
||||
}
|
||||
OR = {
|
||||
is_ruler = no
|
||||
|
|
@ -166,7 +181,7 @@ can_be_court_chaplain_trigger = {
|
|||
}
|
||||
trigger_if = { # Married characters are excluded if the doctrine is not there
|
||||
limit = {
|
||||
rite = {
|
||||
rite ?= {
|
||||
NOT = { rite_has_parameter = clergy_can_marry }
|
||||
}
|
||||
}
|
||||
|
|
@ -178,7 +193,7 @@ can_be_court_chaplain_trigger = {
|
|||
can_appoint_own_court_chaplain_trigger = {
|
||||
OR = {
|
||||
religious_head_or_challenger ?= this # The appointment authority itself has no one to request a chaplain from
|
||||
rite = {
|
||||
rite ?= {
|
||||
NOT = { rite_has_parameter = clerical_appointment_fixed }
|
||||
}
|
||||
tgp_has_access_to_ministry_trigger = yes
|
||||
|
|
@ -266,15 +281,23 @@ can_be_kurultai_trigger = {
|
|||
is_ruler = yes
|
||||
AND = {
|
||||
is_female = yes
|
||||
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = male_dominated_council } }
|
||||
exists = $COURT_OWNER$.rite
|
||||
trigger_if = {
|
||||
limit = { exists = $COURT_OWNER$.rite }
|
||||
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = male_dominated_council } }
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
is_male = yes
|
||||
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = female_dominated_council } }
|
||||
exists = $COURT_OWNER$.rite
|
||||
trigger_if = {
|
||||
limit = { exists = $COURT_OWNER$.rite }
|
||||
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = female_dominated_council } }
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
has_trait = shieldmaiden
|
||||
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens }
|
||||
$COURT_OWNER$.culture ?= { has_cultural_parameter = has_access_to_shieldmaidens }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -313,15 +336,15 @@ can_be_any_kurultai_trigger = {
|
|||
is_ruler = yes
|
||||
AND = {
|
||||
is_female = yes
|
||||
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = male_dominated_council } }
|
||||
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = male_dominated_council } }
|
||||
}
|
||||
AND = {
|
||||
is_male = yes
|
||||
$COURT_OWNER$.rite = { NOT = { rite_has_parameter = female_dominated_council } }
|
||||
$COURT_OWNER$.rite ?= { NOT = { rite_has_parameter = female_dominated_council } }
|
||||
}
|
||||
AND = {
|
||||
has_trait = shieldmaiden
|
||||
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens }
|
||||
$COURT_OWNER$.culture ?= { has_cultural_parameter = has_access_to_shieldmaidens }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -436,7 +459,7 @@ can_be_fired_from_council_trigger = {
|
|||
has_council_position = councillor_court_chaplain
|
||||
liege = { tgp_has_access_to_ministry_trigger = no }
|
||||
}
|
||||
rite = {
|
||||
rite ?= {
|
||||
OR = {
|
||||
rite_has_doctrine = doctrine_clerical_succession_temporal_appointment
|
||||
rite_has_doctrine = doctrine_clerical_succession_spiritual_appointment
|
||||
|
|
@ -1094,7 +1117,7 @@ task_conversion_valid_county_trigger = {
|
|||
}
|
||||
}
|
||||
NOT = {
|
||||
rite = { has_variable = pam_rite_grace_period }
|
||||
rite ?= { has_variable = pam_rite_grace_period }
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
|
|
@ -1103,7 +1126,7 @@ task_conversion_valid_county_trigger = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:councillor_liege = {
|
||||
faith = {
|
||||
faith ?= {
|
||||
has_doctrine_parameter = unreformed
|
||||
}
|
||||
}
|
||||
|
|
@ -1114,7 +1137,7 @@ task_conversion_valid_county_trigger = {
|
|||
vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege }
|
||||
}
|
||||
scope:councillor_liege = { ai_zeal >= 50 }
|
||||
scope:county_check.faith = { has_doctrine_parameter = unreformed }
|
||||
scope:county_check.faith ?= { has_doctrine_parameter = unreformed }
|
||||
scope:county_check = { # Always convert holy sites
|
||||
any_county_province = {
|
||||
barony = {
|
||||
|
|
@ -1128,7 +1151,7 @@ task_conversion_valid_county_trigger = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:councillor_liege = {
|
||||
faith = {
|
||||
faith ?= {
|
||||
faith_hostility_level = {
|
||||
target = scope:county_check.faith
|
||||
value <= faith_fully_accepted_level
|
||||
|
|
@ -1158,7 +1181,7 @@ task_conversion_valid_county_trigger = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
scope:councillor_liege = {
|
||||
faith = {
|
||||
faith ?= {
|
||||
faith_hostility_level = {
|
||||
target = scope:county_check.faith
|
||||
value <= faith_astray_level
|
||||
|
|
@ -1191,7 +1214,7 @@ task_conversion_valid_county_trigger = {
|
|||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:councillor_liege = {
|
||||
rite = { rite_has_doctrine = doctrine_pluralism_fundamentalist }
|
||||
rite ?= { rite_has_doctrine = doctrine_pluralism_fundamentalist }
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
|
|
@ -1261,11 +1284,11 @@ task_conversion_valid_county_trigger = {
|
|||
limit = {
|
||||
scope:councillor_liege = {
|
||||
OR = {
|
||||
rite = { rite_has_tenet = tenet_tax_nonbelievers }
|
||||
faith = { has_doctrine = special_doctrine_jizya }
|
||||
rite ?= { rite_has_tenet = tenet_tax_nonbelievers }
|
||||
faith ?= { has_doctrine = special_doctrine_jizya }
|
||||
}
|
||||
}
|
||||
scope:councillor_liege.faith = { faith_is_in_same_rf = { FAITH = scope:county_check.faith } }
|
||||
scope:councillor_liege.faith ?= { faith_is_in_same_rf = { FAITH = scope:county_check.faith } }
|
||||
}
|
||||
OR = {
|
||||
scope:councillor_liege = {
|
||||
|
|
@ -1273,8 +1296,8 @@ task_conversion_valid_county_trigger = {
|
|||
vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege }
|
||||
}
|
||||
scope:councillor_liege = { ai_zeal >= 50 }
|
||||
scope:county_check.faith = { has_doctrine_parameter = unreformed }
|
||||
scope:councillor_liege.faith = {
|
||||
scope:county_check.faith ?= { has_doctrine_parameter = unreformed }
|
||||
scope:councillor_liege.faith ?= {
|
||||
any_holy_site_barony = {
|
||||
kingdom = scope:county_check.kingdom
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue