Scripted effect · By God Alone files
pam_save_schism_rite_dissenter_effect
pam_save_schism_rite_dissenter_effect = { RITE = … }game/common/scripted_effects/pam_effects.txt, line 12199 (50 lines). Parameters: $RITE$.
pam_save_schism_rite_dissenter_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12199 of its file. A call passes 1 parameter: RITE. The game's script calls it in 1 place, among them The One Left Behind (event pam_the_christian_church.0063). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
$RITE$ is the rite they stayed with, evaluated on the character Shares pam_schism_rite_dissenter_valid_trigger with pam_the_christian_church.0063
What it does
- Every pool character:
- Where:
pam_schism_rite_dissenter_valid_trigger = { RITE = $RITE$ }
province = root.location
- Where:
If
a check the game hides
Then
create_character = { … }
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (50 lines of game script)
pam_save_schism_rite_dissenter_effect = {
every_courtier = {
limit = { pam_schism_rite_dissenter_valid_trigger = { RITE = $RITE$ } }
add_to_list = pam_schism_dissenter_candidates
}
every_vassal_or_below = {
limit = { pam_schism_rite_dissenter_valid_trigger = { RITE = $RITE$ } }
add_to_list = pam_schism_dissenter_candidates
}
every_pool_character = {
province = root.location
limit = { pam_schism_rite_dissenter_valid_trigger = { RITE = $RITE$ } }
add_to_list = pam_schism_dissenter_candidates
}
random_in_list = {
list = pam_schism_dissenter_candidates
weight = {
base = 1
modifier = {
add = 10
pam_is_investiture_clergy_trigger = yes
}
modifier = {
add = 5
highest_held_title_tier >= tier_county
}
modifier = {
add = 5
is_close_family_of = root
}
}
save_scope_as = schism_dissenter
}
if = {
limit = {
NOT = { exists = scope:schism_dissenter }
}
create_character = {
template = priest_character_template
employer = root
faith = root.faith
rite = $RITE$
culture = root.culture
save_scope_as = schism_dissenter
after_creation = {
add_character_flag = created
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_save_schism_rite_dissenter_effect.
Events (1)
- The One Left Behind
pam_the_christian_church.0063
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.