Scripted effect · By God Alone files
pam_investiture_block_crisis_progress_effect
pam_investiture_block_crisis_progress_effect = yesgame/common/scripted_effects/pam_investiture_council_effects.txt, line 438 (27 lines). No parameters.
pam_investiture_block_crisis_progress_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 438 of its file. It takes no parameters: pam_investiture_block_crisis_progress_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
One of these
situation_current_phase = fragile_unityor
situation_current_phase = reform_phase
pam_investiture_crisis_has_contested_faith_trigger = no
Then
situation_top_sub_region = { … }
• 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 (27 lines of game script)
pam_investiture_block_crisis_progress_effect = {
situation:the_christian_church ?= {
if = {
limit = {
OR = {
situation_current_phase = fragile_unity
situation_current_phase = reform_phase
}
pam_investiture_crisis_has_contested_faith_trigger = no
}
situation_top_sub_region = {
while = {
limit = { phase_takeover_points:investiture_crisis >= 100 }
add_takeover_phase_points = { phase = investiture_crisis points = -100 }
}
while = {
limit = { phase_takeover_points:investiture_crisis >= 10 }
add_takeover_phase_points = { phase = investiture_crisis points = -10 }
}
while = {
limit = { phase_takeover_points:investiture_crisis >= 1 }
add_takeover_phase_points = { phase = investiture_crisis points = -1 }
}
}
}
}
}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_block_crisis_progress_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.