Scripted effect
rite_growth_pick_founder_effect
rite_growth_pick_founder_effect = yesgame/common/scripted_effects/00_religion_effects.txt, line 992 (129 lines). No parameters.
rite_growth_pick_founder_effect is a scripted effect in Crusader Kings III, written at line 992 of its file. It takes no parameters: rite_growth_pick_founder_effect = yes. The game's script calls it in 1 place, among them rite_growth.0001 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_religion_effects.txt.
The comment above it in the file
This needs faith scope and scope:source_rite, then we save the pick as scope:founder
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (120 lines of game script)
rite_growth_pick_founder_effect = {
random_faith_ruler = {
limit = { # Archbishops that actually know shit
is_eligible_rite_growth_founder_trigger = yes
rite_growth_founder_is_well_versed_trigger = yes
OR = {
rite_growth_holds_sizable_clerical_region_trigger = yes # Is an Archbishop with a sizable see
exists = clerical_elector_title # Is a cardinal
}
}
alternative_limit = { # Archbishops making shit up
is_eligible_rite_growth_founder_trigger = yes
OR = {
rite_growth_holds_sizable_clerical_region_trigger = yes # Is an Archbishop with a sizable see
exists = clerical_elector_title # Is a cardinal
}
}
alternative_limit = { # Rulers that know shit
is_eligible_rite_growth_founder_trigger = yes
rite_growth_founder_is_well_versed_trigger = yes
}
alternative_limit = { # Rulers making shit up
is_eligible_rite_growth_founder_trigger = yes
}
weight = {
base = 1
# Tier weight - higher tier reaches more land.
modifier = {
add = 5
highest_held_title_tier >= tier_kingdom
}
# In faiths with archbishops, prefer the archbishops themselves.
modifier = {
add = 50
root = { has_doctrine_parameter = has_clerical_regions }
rite_growth_holds_sizable_clerical_region_trigger = yes
}
# An archbishop with a king inside an existing clerical region is the "perfect" candidate.
modifier = {
add = 100
root = { has_doctrine_parameter = has_clerical_regions }
save_temporary_scope_as = ruler_check
any_held_title = {
has_clerical_region = yes
clerical_region_size >= rite_growth_min_clerical_region_size
any_ruler_in_clerical_region = {
faith = root
is_landed = yes
highest_held_title_tier = tier_kingdom
NOR = {
this = scope:ruler_check
has_trait = heresiarch
has_trait = herald
recently_converted_faith_trigger = yes
has_character_flag = recently_converted_by_rite_growth
this = faith.religious_head
rite.head_of_rite ?= this
}
NOT = { any_held_title = { has_clerical_region = yes } }
}
}
}
# No clerical regions: prefer founders amid a dense source-rite cluster
modifier = {
add = 25
root = { NOT = { has_doctrine_parameter = has_clerical_regions } }
any_sub_realm_county = {
rite = scope:source_rite
count >= 10
}
}
modifier = {
add = 15
root = { NOT = { has_doctrine_parameter = has_clerical_regions } }
any_held_title = {
tier = tier_county
rite = scope:source_rite
count >= 3
}
}
# Would come up with interesting new rites
modifier = {
add = 15
OR = {
has_trait = eccentric
has_trait = possessed
has_trait = lunatic
}
}
# Theological fitness traits.
modifier = {
add = 10
OR = {
has_trait = theologian
has_trait = lifestyle_scholar
has_trait = lifestyle_mystic
has_trait = devoted
}
}
modifier = {
factor = 2
has_focus = learning_theology_focus
}
modifier = {
factor = 2
has_trait = zealous
}
# Strong negative for those very loyal to the religious head
modifier = {
factor = 0
# Headless faiths have nobody to be loyal to
exists = faith.religious_head
opinion = {
target = faith.religious_head
value >= 75
}
}
# Within the clerical region of your head of faith
modifier = {As written in game/common/scripted_effects/00_religion_effects.txt.
The first 120 of its 129 lines; the rest is in game/common/scripted_effects/00_religion_effects.txt from line 992.
Where it is used
Every place in common/, events/ and history/ that calls rite_growth_pick_founder_effect.
Events (1)
Source: game/common/scripted_effects/00_religion_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.