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

Scripted effect

marry_spouse_1_dominant

marry_spouse_1_dominant = { SPOUSE_1 = … SPOUSE_2 = … }

game/common/scripted_effects/00_marriage_effects.txt, line 71 (11 lines). Parameters: $SPOUSE_1$, $SPOUSE_2$.

marry_spouse_1_dominant is a scripted effect in Crusader Kings III, written at line 71 of its file. A call passes 2 parameters: SPOUSE_1 and SPOUSE_2. The game's script calls it in 3 places, among them To Belong Somewhere (event ep3_travel_events.8000), Two Faiths, One Family (event hold_court.7010) and marry_on_realm_law (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_marriage_effects.txt.

What it does

  • If

    • $SPOUSE_1$ = { is_male = yes }

    Then

    • $SPOUSE_1$ = { marry = $SPOUSE_2$ }

    Otherwise

    • $SPOUSE_1$ = { marry_matrilineal = $SPOUSE_2$ }

• 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 (11 lines of game script)
marry_spouse_1_dominant = {
	if = {
		limit = {
			$SPOUSE_1$ = { is_male = yes }
		}
		$SPOUSE_1$ = { marry = $SPOUSE_2$ }
	}
	else = {
		$SPOUSE_1$ = { marry_matrilineal = $SPOUSE_2$ }
	}
}

As written in game/common/scripted_effects/00_marriage_effects.txt.

Where it is used

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

Events (2)

Scripted effects (1)

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