Scripted trigger · By God Alone files
pam_sway_to_rite_adjacent_prelate_candidate_trigger
pam_sway_to_rite_adjacent_prelate_candidate_trigger = { ARCHBISHOP = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 1911 (13 lines). Parameters: $ARCHBISHOP$.
pam_sway_to_rite_adjacent_prelate_candidate_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1911 of its file. A call passes 1 parameter: ARCHBISHOP. The game's script calls it in 2 places, among them Archbishops you cannot ask yet (important action) and You can Sway Archbishops to your Rite (important action). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
These are prelates of other dioceses still on another rite, for the peer petition important actions
What it checks
- Is a ruler
- Is an Adult
faith = $ARCHBISHOP$.faithrite != $ARCHBISHOP$.rite- Does not have the Trait: Incapable
NOT = { rite.head_of_rite ?= this }NOT = { religious_head_or_challenger ?= this }- Any held title: Is a Clerical 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 (13 lines of game script)
pam_sway_to_rite_adjacent_prelate_candidate_trigger = {
this != $ARCHBISHOP$
is_ruler = yes
is_adult = yes
faith = $ARCHBISHOP$.faith
rite != $ARCHBISHOP$.rite
NOR = {
has_trait = incapable
rite.head_of_rite ?= this
religious_head_or_challenger ?= this
}
any_held_title = { has_clerical_region = 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_sway_to_rite_adjacent_prelate_candidate_trigger.
Important actions (2)
- Archbishops you cannot ask yet
- You can Sway Archbishops to your Rite
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.