CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger · By God Alone files

pam_died_from_murder_reason_trigger

pam_died_from_murder_reason_trigger = yes

game/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:killer
      • or

        death_reason = death_murder
      • or

        death_reason = death_murder_known
      • or

        death_reason = death_plotting
      • or

        death_reason = death_poison
      • or

        death_reason = death_murder_feast
      • or

        death_reason = death_mysterious
      • or

        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.

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.

Spotted a mistake on this page?