Scripted trigger · By God Alone files
pam_title_is_church_seat_trigger
pam_title_is_church_seat_trigger = { TITLE = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 5468 (9 lines). Parameters: $TITLE$.
pam_title_is_church_seat_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5468 of its file. A call passes 1 parameter: TITLE. The game's script calls it in 3 places, among them Active Election: … (important action), Nominate Successor (important action) and on_title_gain (on action). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
$TITLE$ is the seat that heads this character's Church, and this runs on a character Rome is named directly: headless Chalcedonianism has no religious_head_title to compare
What it checks
One of these
$TITLE$ = title:k_papal_stateor
All of these
exists = faith.religious_head_title$TITLE$ = faith.religious_head_title
• 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 (9 lines of game script)
pam_title_is_church_seat_trigger = {
OR = {
$TITLE$ = title:k_papal_state
AND = {
exists = faith.religious_head_title
$TITLE$ = faith.religious_head_title
}
}
}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_title_is_church_seat_trigger.
Important actions (2)
- Active Election: …
- Nominate Successor
On actions (the game's own hooks) (1)
- on_title_gain
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.