Scripted effect · By God Alone files
pam_schism_county_conversion_progress_effect
pam_schism_county_conversion_progress_effect = yesgame/common/scripted_effects/pam_effects.txt, line 12252 (25 lines). No parameters.
pam_schism_county_conversion_progress_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 12252 of its file. It takes no parameters: pam_schism_county_conversion_progress_effect = yes. The game's script calls it in 1 place, among them on_county_rite_change (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
A county is root when on_county_rite_change runs this, with scope:old_rite the rite it used to have A faith swap books nothing, because the schism is a quarrel within Christianity
What it does
If
rite != scope:old_ritepam_schism_rite_in_pair_trigger = { RITE = scope:old_rite }- Any county holy site: Any holy site faith:
Then
If
pam_schism_county_rite_in_pair_trigger = { COUNTY = root }
Then
pam_change_great_schism_progress_effect = { VALUE = pam_great_schism_progress_county_conversion_value TT = pam_great_schism_progress_county_conversion_tt }
Otherwise
pam_change_great_schism_progress_effect = { VALUE = pam_great_schism_progress_county_conversion_edge_value TT = pam_great_schism_progress_county_conversion_edge_tt }
• 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 (25 lines of game script)
pam_schism_county_conversion_progress_effect = {
if = {
limit = {
exists = scope:old_rite
rite != scope:old_rite
pam_schism_rite_in_pair_trigger = { RITE = scope:old_rite }
any_county_holy_site = {
any_holy_site_faith = { this = faith:christian_faith }
}
}
if = {
limit = { pam_schism_county_rite_in_pair_trigger = { COUNTY = root } }
pam_change_great_schism_progress_effect = {
VALUE = pam_great_schism_progress_county_conversion_value
TT = pam_great_schism_progress_county_conversion_tt
}
}
else = { # Attribute to the pair rite losing the county (gainer is outside the pair)
pam_change_great_schism_progress_effect = {
VALUE = pam_great_schism_progress_county_conversion_edge_value
TT = pam_great_schism_progress_county_conversion_edge_tt
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_schism_county_conversion_progress_effect.
On actions (the game's own hooks) (1)
- on_county_rite_change
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.