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

Scripted trigger · Tours and Tournaments files

is_valid_grand_wedding_special_guest_trigger

is_valid_grand_wedding_special_guest_trigger = { OTHER_SPOUSE = … }

game/common/scripted_triggers/04_ep2_wedding_triggers.txt, line 2 (9 lines). Parameters: $OTHER_SPOUSE$.

is_valid_grand_wedding_special_guest_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 2 of its file. A call passes 1 parameter: OTHER_SPOUSE. The game's script calls it in 1 place, among them Grand Wedding (activity). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_wedding_triggers.txt.

The comment above it in the file

OTHER_SPOUSE = the other spouse character, may be invalid object

What it checks

• 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 (9 lines of game script)
is_valid_grand_wedding_special_guest_trigger = {
	is_alive = yes
	is_adult = yes
	# Must be able to marry the other character if they are selected
	trigger_if = {
		limit = { exists = $OTHER_SPOUSE$ }
		can_marry_character_trigger = { CHARACTER = $OTHER_SPOUSE$ }
	}
}

As written in game/common/scripted_triggers/04_ep2_wedding_triggers.txt.

Where it is used

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

Activities (1)

Source: game/common/scripted_triggers/04_ep2_wedding_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?