Scripted trigger · By God Alone files
pam_died_from_murder_reason_trigger
pam_died_from_murder_reason_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 2145 (18 lines). No parameters.
pam_died_from_murder_reason_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 2145 of its file. It takes no parameters: pam_died_from_murder_reason_trigger = yes (or no). The game's script calls it in 6 places, among them on_death (on action), pam_clergy_archbishop_murdered_catalyst_trigger (scripted trigger) and pam_clergy_cardinal_murdered_catalyst_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
If
a check the game hides
Then
One of these
exists = scope:killeror
death_reason = death_murderor
death_reason = death_murder_knownor
death_reason = death_plottingor
death_reason = death_poisonor
death_reason = death_murder_feastor
death_reason = death_mysteriousor
death_reason = death_killed_while_attempting_murder
• 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 (18 lines of game script)
pam_died_from_murder_reason_trigger = {
trigger_if = {
limit = { is_alive = no }
OR = {
exists = scope:killer
death_reason = death_murder
death_reason = death_murder_known
death_reason = death_plotting
death_reason = death_poison
death_reason = death_murder_feast
death_reason = death_mysterious
death_reason = death_killed_while_attempting_murder
}
}
trigger_else = {
exists = scope:killer
}
}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_died_from_murder_reason_trigger.
On actions (the game's own hooks) (1)
- on_death
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.