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

Scripted trigger

marriage_between_characters_unlocks_alliance_of_min_tier_trigger

marriage_between_characters_unlocks_alliance_of_min_tier_trigger = { MY_CHARACTER = … THEIR_CHARACTER = … TIER = … }

game/common/scripted_triggers/00_marriage_triggers.txt, line 208 (21 lines). Parameters: $MY_CHARACTER$, $THEIR_CHARACTER$, $TIER$.

marriage_between_characters_unlocks_alliance_of_min_tier_trigger is a scripted trigger in Crusader Kings III, written at line 208 of its file. A call passes 3 parameters: MY_CHARACTER, THEIR_CHARACTER and TIER. The game's script calls it in 1 place, among them courtier_guest_management_1001_exceptional_marriage_candidate_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_marriage_triggers.txt.

The comment above it in the file

A marriage between MY_CHARACTER and THEIR_CHARACTER would give alliance/would unlock renegotiate alliance for current scope where current scope's ally would be at least TIER

What it checks

Every line of it is script with no tooltip text: the script is below.

The script as written (21 lines of game script)
marriage_between_characters_unlocks_alliance_of_min_tier_trigger = {
	save_temporary_scope_as = alliance_unlocker
	$MY_CHARACTER$ = {
		OR = {
			this = scope:alliance_unlocker
			is_close_family_of = scope:alliance_unlocker
		}
	}
	$THEIR_CHARACTER$ = {
		OR = {
			AND = {
				is_ruler = yes
				highest_held_title_tier >= $TIER$
			}
			any_close_family_member = {
				is_ruler = yes
				highest_held_title_tier >= $TIER$
			}
		}
	}
}

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

Where it is used

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

Scripted triggers inside an event file (1)

  • courtier_guest_management_1001_exceptional_marriage_candidate_trigger

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?