Scripted effect · Tours and Tournaments files
create_grand_wedding_betrothal
create_grand_wedding_betrothal = { HOST = … PROMISEE = … SPOUSE_1 = … SPOUSE_2 = … }game/common/scripted_effects/04_dlc_ep2_wedding_effects.txt, line 105 (24 lines). Parameters: $HOST$, $PROMISEE$, $SPOUSE_1$, $SPOUSE_2$.
create_grand_wedding_betrothal is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 105 of its file. A call passes 4 parameters: HOST, PROMISEE, SPOUSE_1 and SPOUSE_2. The game's script calls it in 10 places, among them A King for Norway (event fp1_major_decisions.1011), A Spectacular Courtier (event court.0108) and Blooming Friendship (event diplomacy_foreign.1103). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_wedding_effects.txt.
The comment above it in the file
Crease a betrothal between SPOUSE_1 and SPOUSE_2 with HOST promising to host a grand wedding SPOUSE_1 = First spouse character SPOUSE_2 = Second spouse character HOST = Character promising to host the grand wedding
What it does
If
$SPOUSE_1$ = { is_female = yes }
Then
$SPOUSE_1$ = { create_betrothal_matrilineal = $SPOUSE_2$ }
Otherwise
$SPOUSE_1$ = { create_betrothal = $SPOUSE_2$ }
set_grand_wedding_betrothal_variables = { … }
• 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 (24 lines of game script)
create_grand_wedding_betrothal = {
if = {
limit = {
$SPOUSE_1$ = {
is_female = yes
}
}
$SPOUSE_1$ = {
create_betrothal_matrilineal = $SPOUSE_2$
}
}
else = {
$SPOUSE_1$ = {
create_betrothal = $SPOUSE_2$
}
}
set_grand_wedding_betrothal_variables = {
SPOUSE_1 = $SPOUSE_1$
SPOUSE_2 = $SPOUSE_2$
HOST = $HOST$
PROMISEE = $PROMISEE$
}
}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 create_grand_wedding_betrothal.
Events (8)
- A King for Norway
fp1_major_decisions.1011 - A Spectacular Courtier
court.0108 - Blooming Friendship
diplomacy_foreign.1103 - Grand Ambitions: A Powerful Alliance
grand_ambitions.0170 - Marriage Bells?
bp1_yearly.5727 - Promised Child
clan.1001
2 more
- Promised Child
clan.1002 - The Jealous …
diplomacy_family.2253
Scripted effects inside an event file (2)
- ep1_flavour_0001_marry_suitor_effect
- fp1_trade_events_1171_marry_partner_child_effect
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.