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

Scripted trigger · All Under Heaven files

tgp_shared_ceremonial_house_trigger

tgp_shared_ceremonial_house_trigger = { COMPARE_1 = … COMPARE_2 = … }

game/common/scripted_triggers/10_tgp_triggers.txt, line 495 (8 lines). Parameters: $COMPARE_1$, $COMPARE_2$.

tgp_shared_ceremonial_house_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 495 of its file. A call passes 2 parameters: COMPARE_1 and COMPARE_2. The game's script calls it in 1 place, among them marriage_ai_accept_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.

The comment above it in the file

Check if two characters are from the same ceremonial house

What it checks

  • $COMPARE_2$.house ?= $COMPARE_1$.house
  • One of these

    • $COMPARE_1$ = { tgp_is_in_ceremonial_house_trigger = yes }
    • or

      $COMPARE_2$ = { tgp_is_in_ceremonial_house_trigger = yes }

• 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)
tgp_shared_ceremonial_house_trigger = {
	exists = $COMPARE_1$.house
	$COMPARE_2$.house ?= $COMPARE_1$.house
	OR = {
		$COMPARE_1$ = { tgp_is_in_ceremonial_house_trigger = yes }
		$COMPARE_2$ = { tgp_is_in_ceremonial_house_trigger = yes }
	}
}

As written in game/common/scripted_triggers/10_tgp_triggers.txt.

Where it is used

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

Scripted modifiers (AI weights) (1)

  • marriage_ai_accept_modifier

Source: game/common/scripted_triggers/10_tgp_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?