Scripted trigger · By God Alone files
pam_can_use_investiture_conflict_cb_trigger
pam_can_use_investiture_conflict_cb_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 606 (12 lines). No parameters.
pam_can_use_investiture_conflict_cb_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 606 of its file. It takes no parameters: pam_can_use_investiture_conflict_cb_trigger = yes (or no). The game's script calls it in 1 place, among them Investiture Conflict (casus belli). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- Their faith: Their religion is Christianity
- The Christian Church: In the Investiture Controversy phase
- The Investiture Council has not yet been summoned
• 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_can_use_investiture_conflict_cb_trigger = {
has_pam_dlc_trigger = yes
faith = { religion = religion:christianity_religion }
situation:the_christian_church ?= {
has_situation_top_phase_parameter = the_christian_church_investiture_controversy
}
# We block new conflicts while the council is pending, as a war would pull the host away and cancel it
custom_tooltip = {
text = pam_investiture_cb_council_pending_tt
NOT = { faith = { has_variable = investiture_council_pending } }
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_can_use_investiture_conflict_cb_trigger.
Casus belli (1)
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.