Scripted trigger · By God Alone files
pam_ai_marriage_respects_clerical_restraint_trigger
pam_ai_marriage_respects_clerical_restraint_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 6997 (11 lines). No parameters.
pam_ai_marriage_respects_clerical_restraint_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 6997 of its file. It takes no parameters: pam_ai_marriage_respects_clerical_restraint_trigger = yes (or no). The game's script calls it in 1 place, among them Arrange Marriage (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
Only the AI is held to this: a player may still discard the vow's intent and arrange the match anyway.
What it checks
If
- scope:actor: Is played by the AI
Then
None of these
scope:secondary_actor:scope:secondary_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 (11 lines of game script)
pam_ai_marriage_respects_clerical_restraint_trigger = {
trigger_if = {
limit = {
scope:actor ?= { is_ai = yes }
}
NOR = {
scope:secondary_actor ?= { pam_under_clerical_marriage_restraint_trigger = yes }
scope:secondary_recipient ?= { pam_under_clerical_marriage_restraint_trigger = 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_ai_marriage_respects_clerical_restraint_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.