Scripted effect · By God Alone files
pam_heresy_c1_pick_diverging_rite_effect
pam_heresy_c1_pick_diverging_rite_effect = yesgame/common/scripted_effects/pam_heresy_shared_effects.txt, line 108 (43 lines). No parameters.
pam_heresy_c1_pick_diverging_rite_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 108 of its file. It takes no parameters: pam_heresy_c1_pick_diverging_rite_effect = yes. The game's script calls it in 1 place, among them heresy_light.0001 (event). Patch 1.20.1.2, from game/common/scripted_effects/pam_heresy_shared_effects.txt.
The comment above it in the file
Faith scope. Picks the rite to diverge in Component 1. Saves scope:diverging_rite. Filters: exclude mainline, damper insular_celtic / mozarabic_church to factor 0.1. Weighted by current divergence so already-divergent rites are more likely.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (43 lines of game script)
pam_heresy_c1_pick_diverging_rite_effect = {
clear_saved_scope = diverging_rite
random_faith_rite = {
limit = {
this != faith.main_rite
rite_counties >= 1
head_of_rite ?= { is_ai = yes }
}
weight = {
base = 5
# More divergent rites are more likely to deepen further.
modifier = {
add = 10
"divergence(faith.main_rite)" >= 25
}
modifier = {
add = 20
"divergence(faith.main_rite)" >= 50
}
modifier = {
add = 20
"divergence(faith.main_rite)" >= 75
}
# Pluralism-resistant rites are less prone to lurching toward heresy.
modifier = {
factor = 0.5
rite_has_parameter = pluralism_pluralistic_resistant_to_heresy
}
# Insular Celtic and Mozarabic are doctrinally weird but historically not the seedbed for heresy outbreaks; dampen without excluding outright.
modifier = {
factor = 0.1
OR = {
this = rite:insular_celtic
this = rite:mozarabic_church
}
}
}
save_scope_as = diverging_rite
}
}As written in game/common/scripted_effects/pam_heresy_shared_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_heresy_c1_pick_diverging_rite_effect.
Events (1)
Source: game/common/scripted_effects/pam_heresy_shared_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.