diff --git a/common/on_action/yearly_on_actions.txt b/common/on_action/yearly_on_actions.txt index b1ce932de..621f45b5e 100644 --- a/common/on_action/yearly_on_actions.txt +++ b/common/on_action/yearly_on_actions.txt @@ -3640,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