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

Scripted effect · Tours and Tournaments files

clean_grand_wedding_betrothal_variables

clean_grand_wedding_betrothal_variables = yes

game/common/scripted_effects/04_dlc_ep2_wedding_effects.txt, line 33 (16 lines). No parameters.

clean_grand_wedding_betrothal_variables is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 33 of its file. It takes no parameters: clean_grand_wedding_betrothal_variables = yes. The game's script calls it in 9 places, among them Grand Wedding (activity), Grand Wedding: Betrothal Expired (event ep2_wedding.0001) and Grand Wedding: Premature Death (event ep2_wedding.0002). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_wedding_effects.txt.

What it does

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

The script as written (16 lines of game script)
clean_grand_wedding_betrothal_variables = {
	scope:spouse_1 ?= { remove_variable ?= promised_grand_wedding_by } # in case the countdown expired during activity
	scope:spouse_2 ?= { remove_variable ?= promised_grand_wedding_by }
	var:promised_grand_wedding_marriage_countdown ?= {
		remove_variable ?= promised_grand_wedding_by
		betrothed ?= { remove_variable ?= promised_grand_wedding_by }
	}
	if = {
		limit = { exists = var:promised_grand_wedding_marriage_countdown }
		remove_variable = promised_grand_wedding_marriage_countdown
	}
	if = {
		limit = { exists = var:promised_grand_wedding_to }
		remove_variable = promised_grand_wedding_to
	}
}

As written in game/common/scripted_effects/04_dlc_ep2_wedding_effects.txt.

Where it is used

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

Activities (1)

Events (3)

On actions (the game's own hooks) (2)

  • on_death
  • on_rank_down

Source: game/common/scripted_effects/04_dlc_ep2_wedding_effects.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?