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

Scripted trigger

is_close_family_or_spouse_of_root_trigger

is_close_family_or_spouse_of_root_trigger = yes

game/common/scripted_triggers/00_family_triggers.txt, line 25 (8 lines). No parameters.

is_close_family_or_spouse_of_root_trigger is a scripted trigger in Crusader Kings III, written at line 25 of its file. It takes no parameters: is_close_family_or_spouse_of_root_trigger = yes (or no). The game's script calls it in 34 places, among them Criminal can be Imprisoned (important action), Criminal can be Pardoned (important action) and …: A Mysterious … (event ep2_tournament_events.1015). Patch 1.20.1.2, from game/common/scripted_triggers/00_family_triggers.txt.

What it checks

  • One of these

    • Any parent:
      • this = root
    • or

      Any sibling:
      • this = root
    • or

      Any child:
      • this = root
    • or

      Any spouse:
      • this = root

• 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 (8 lines of game script)
is_close_family_or_spouse_of_root_trigger = {
	OR = {
		any_parent = { even_if_dead = yes this = root }
		any_sibling = { even_if_dead = yes this = root }
		any_child = { even_if_dead = yes this = root }
		any_spouse = { this = root }
	}
}

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

Where it is used

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

Important actions (2)

  • Criminal can be Imprisoned
  • Criminal can be Pardoned

Events (17)

11 more

Scripted triggers inside an event file (15)

  • 0050_valid_courtier
  • bishop_2002_suitable_relative_trigger
  • ep2_wedding_0202_valid_family_member_trigger
  • ep2_wedding_2000_valid_friend
  • feast_lifestyle_2002_secret_holder_trigger
  • intrigue_dread_1301_potential_courtier_trigger
9 more
  • intrigue_dread_1901_potential_courtier_trigger
  • intrigue_dread_4100_petitioner_trigger
  • intrigue_scheming_2001_future_mentor_trigger
  • intrigue_scheming_special_1001_potential_dynasty_trigger
  • is_valid_nomad_events_0001_courtier
  • is_valid_nomad_events_0180_rival
  • nomad_events_0100_valid_enemies
  • nomad_events_0200_valid_courtier
  • nomad_events_0240_valid_courtier

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