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

Scripted trigger

break_betrothal_valid_target_trigger

break_betrothal_valid_target_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_marriage_triggers.txt, line 614 (26 lines). Parameters: $CHARACTER$.

break_betrothal_valid_target_trigger is a scripted trigger in Crusader Kings III, written at line 614 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Break Betrothal (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_marriage_triggers.txt.

The comment above it in the file

if $CHARACTER$ has the right to break betrothal or receive interaction for breaking betrothal?

What it checks

  • Is betrothed
  • If

    a check the game hides

    Then

    • Is played by the AI
    • One of these

      • All of these

        • is_child_of = $CHARACTER$
        • target_is_liege_or_above = $CHARACTER$
        • NOT = { matchmaker = { is_parent_of = prev this != $CHARACTER$ } }
      • or

        All of these

• 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 (26 lines of game script)
break_betrothal_valid_target_trigger = {
	is_betrothed = yes
	# yourself, your courtier, or your child vassal and you were the matchmaker
	trigger_if = {
		limit = {
			this != $CHARACTER$
		}
		is_ai = yes
		OR = {
			AND = {
				is_child_of = $CHARACTER$
				target_is_liege_or_above = $CHARACTER$
				NOT = {
					matchmaker = {
						is_parent_of = prev
						this != $CHARACTER$
					}
				}
			}
			AND = {
				is_playable_character = no
				liege = $CHARACTER$
			}
		}
	}
}

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

Where it is used

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

Character interactions (1)

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