diff --git a/common/on_action/yearly_on_actions.txt b/common/on_action/yearly_on_actions.txt index 9a3f1f404..621f45b5e 100644 --- a/common/on_action/yearly_on_actions.txt +++ b/common/on_action/yearly_on_actions.txt @@ -1660,38 +1660,6 @@ yearly_global_pulse = { complete_great_project = this } } - if = { - limit = { - current_year < 2600 - any_realm_county = { - culture = culture:portuguese - culture = culture:galician - } - } - random_held_county = { - limit = { - OR = { - culture = culture:portuguese - culture = culture:galician - } - NOT = { rite = rite:sebastianist_rite } - } - weight = { - base = 1 - modifier = { - divide = development_level - } - modifier = { - divide = county_control - } - modifier = { - factor = 2 - is_coastal_county = yes - } - } - rite = rite:sebastianist_rite - } - } } on_actions = { @@ -3672,6 +3640,38 @@ yearly_playable_pulse = { } remove_puppet_modifiers_effect = yes } + if = { + limit = { + current_year < 2600 + any_sub_realm_county = { + culture = culture:portuguese + culture = culture:galician + } + } + random_sub_realm_county = { + limit = { + OR = { + culture = culture:portuguese + culture = culture:galician + } + NOT = { rite = rite:sebastianist_rite } + } + weight = { + base = 1 + modifier = { + divide = development_level + } + modifier = { + divide = county_control + } + modifier = { + factor = 2 + is_coastal_county = yes + } + } + set_county_rite = rite:sebastianist_rite + } + } #gnostic tenet learning effect gnostic_tenet_learning_effect = yes pam_align_theocracy_with_faith_government_effect = yes