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

Scripted trigger

block_death_event_trigger

block_death_event_trigger = { DEAD = … }

game/common/scripted_triggers/00_death_management_triggers.txt, line 1 (20 lines). Parameters: $DEAD$.

block_death_event_trigger is a scripted trigger in Crusader Kings III, written at line 1 of its file. A call passes 1 parameter: DEAD. The game's script calls it in 13 places, among them Befriend (scheme), Boundary Dispute (scheme) and Challenge Status (scheme). Patch 1.20.1.2, from game/common/scripted_triggers/00_death_management_triggers.txt.

What it checks

  • One of these

    • Block death event from is $DEAD$
    • or

      has_character_flag = sent_relevant_death_event
    • or

      $DEAD$ = { … }

• 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 (20 lines of game script)
block_death_event_trigger = {
	OR = {
		var:block_death_event_from ?= $DEAD$
		#If we get timed variables in list:
#		is_target_in_variable_list = {
#			name = block_death_event_from
#			target = $DEAD$
#		}
		has_character_flag = sent_relevant_death_event
		$DEAD$ = {
			trigger_if = {
				limit = { is_alive = yes }
				has_variable = block_death_event 
			}
			trigger_else = {
				has_dead_character_variable = block_death_event
			}
		}
	}
}

As written in game/common/scripted_triggers/00_death_management_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls block_death_event_trigger.

Schemes (12)

  • Befriend
  • Boundary Dispute
  • Challenge Status
  • Coerce Tributary
  • Depose
  • Disbelieve Mandala
6 more
  • Leverage Contribution
  • Mentor in Governance
  • Mentorship
  • Promote
  • Slander
  • Subsume Governorship

Scripted triggers inside an event file (1)

  • death_management_0001_valid_for_death_event_trigger

Source: game/common/scripted_triggers/00_death_management_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?