Scripted trigger · By God Alone files
pam_rite_sway_connected_recipient_trigger
pam_rite_sway_connected_recipient_trigger = { ACTOR = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 1883 (11 lines). Parameters: $ACTOR$.
pam_rite_sway_connected_recipient_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1883 of its file. A call passes 1 parameter: ACTOR. The game's script calls it in 2 places, among them pam_sway_to_rite_on_accept_effect (scripted effect) and religion_sway_to_rite_default_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
Recipient is the scope, and we check the pointers before scanning counties
What it checks
One of these
is_courtier_of = $ACTOR$or
is_vassal_or_below_of = $ACTOR$or
top_liege ?= $ACTOR$.top_liegeor
capital_county.clerical_region_title.holder ?= $ACTOR$or
Any sub realm county › Any neighboring county:rite = $ACTOR$.rite
• 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_rite_sway_connected_recipient_trigger = {
OR = {
is_courtier_of = $ACTOR$
is_vassal_or_below_of = $ACTOR$
top_liege ?= $ACTOR$.top_liege
capital_county.clerical_region_title.holder ?= $ACTOR$
any_sub_realm_county = {
any_neighboring_county = { rite = $ACTOR$.rite }
}
}
}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_rite_sway_connected_recipient_trigger.
Scripted effects (1)
Scripted modifiers (AI weights) (1)
- religion_sway_to_rite_default_modifier
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.