Scripted trigger · By God Alone files
pam_valid_investiture_conflict_target_trigger
pam_valid_investiture_conflict_target_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 620 (11 lines). No parameters.
pam_valid_investiture_conflict_target_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 620 of its file. It takes no parameters: pam_valid_investiture_conflict_target_trigger = yes (or no). The game's script calls it in 1 place, among them Investiture Conflict (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
scope:attacker is the aggressor, and the defender is root
What it checks
- Their faith is the same as that of attacker
Otherwise
• 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 (11 lines of game script)
pam_valid_investiture_conflict_target_trigger = {
this != scope:attacker
faith = scope:attacker.faith
trigger_if = {
limit = { scope:attacker = { pam_investiture_supports_spiritual_revocable_trigger = yes } }
NOT = { pam_investiture_supports_spiritual_revocable_trigger = yes }
}
trigger_else = {
pam_investiture_supports_spiritual_revocable_trigger = yes
}
}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_valid_investiture_conflict_target_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.