diff --git a/common/on_action/yearly_on_actions.txt b/common/on_action/yearly_on_actions.txt index 297c11106..5c752fde3 100644 --- a/common/on_action/yearly_on_actions.txt +++ b/common/on_action/yearly_on_actions.txt @@ -3640,38 +3640,45 @@ yearly_playable_pulse = { } remove_puppet_modifiers_effect = yes } - if = { - limit = { - current_year < 2600 - any_sub_realm_county = { - OR = { - culture = culture:portuguese - culture = culture:galician - } + random_list = { + 5 = { + if = { + limit = { + current_year < 2600 + any_sub_realm_county = { + OR = { + 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 + } } } - 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 + 95 = { + #do nothing } } #gnostic tenet learning effect