Scripted effect · By God Alone files
pam_investiture_maybe_end_crisis_effect
pam_investiture_maybe_end_crisis_effect = yesgame/common/scripted_effects/pam_investiture_council_effects.txt, line 412 (12 lines). No parameters.
pam_investiture_maybe_end_crisis_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 412 of its file. It takes no parameters: pam_investiture_maybe_end_crisis_effect = yes. The game's script calls it in 1 place, among them The Christian Church (situation). Patch 1.20.1.2, from game/common/scripted_effects/pam_investiture_council_effects.txt.
What it does
- The Christian Church:
If
- In the Investiture Controversy phase
pam_investiture_crisis_has_contested_faith_trigger = no
Then
- It enters the Reform phase
• 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 (12 lines of game script)
pam_investiture_maybe_end_crisis_effect = {
situation:the_christian_church ?= {
if = {
limit = {
has_situation_top_phase_parameter = the_christian_church_investiture_controversy
pam_investiture_crisis_has_contested_faith_trigger = no
}
change_top_phase = { phase = reform_phase }
if = { limit = { has_variable = investiture_awaiting_council } remove_variable = investiture_awaiting_council }
}
}
}As written in game/common/scripted_effects/pam_investiture_council_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_investiture_maybe_end_crisis_effect.
Situations (1)
Source: game/common/scripted_effects/pam_investiture_council_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.