Scripted trigger · By God Alone files
can_request_priest_from_recipient_trigger
can_request_priest_from_recipient_trigger = { RECIPIENT = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 4062 (17 lines). Parameters: $RECIPIENT$.
can_request_priest_from_recipient_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 4062 of its file. A call passes 1 parameter: RECIPIENT. The game's script calls it in 1 place, among them Request New Court Chaplain (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
One of these
cp:councillor_court_chaplain:One of these
this = $RECIPIENT$or
superior ?= $RECIPIENT$or
superior.superior ?= $RECIPIENT$
or
religious_head_or_challenger ?= $RECIPIENT$or
If
a check the game hides
Then
faith.main_rite.head_of_rite ?= $RECIPIENT$
• 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 (17 lines of game script)
can_request_priest_from_recipient_trigger = {
OR = {
cp:councillor_court_chaplain ?= {
OR = {
this = $RECIPIENT$
superior ?= $RECIPIENT$
superior.superior ?= $RECIPIENT$
}
}
# A realm under an antipope asks them instead
religious_head_or_challenger ?= $RECIPIENT$
trigger_if = {
limit = { NOT = { exists = faith.religious_head } }
faith.main_rite.head_of_rite ?= $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 can_request_priest_from_recipient_trigger.
Character interactions (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.