Scripted trigger · By God Alone files
pam_sway_recipient_holds_holy_site_trigger
pam_sway_recipient_holds_holy_site_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 2036 (13 lines). No parameters.
pam_sway_recipient_holds_holy_site_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 2036 of its file. It takes no parameters: pam_sway_recipient_holds_holy_site_trigger = yes (or no). The game's script calls it in 2 places, among them Sway to Rite (interaction) and Sway to Rite (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
Iterates the faith's few holy sites instead of scanning the recipient's whole sub-realm
What it checks
- scope:puppet_or_actor.faith › Any holy site:
holy_site_county.holder = { … }
• 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_recipient_holds_holy_site_trigger = {
scope:puppet_or_actor.faith ?= {
any_holy_site = {
exists = holy_site_county.holder
holy_site_county.holder = {
OR = {
this = scope:recipient
target_is_liege_or_above = scope:recipient
}
}
}
}
}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_recipient_holds_holy_site_trigger.
Character interactions (2)
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.