Scripted trigger
allowed_to_marry_character_gender_trigger
allowed_to_marry_character_gender_trigger = { CHARACTER = … }game/common/scripted_triggers/00_marriage_triggers.txt, line 70 (9 lines). Parameters: $CHARACTER$.
allowed_to_marry_character_gender_trigger is a scripted trigger in Crusader Kings III, written at line 70 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 9 places, among them Create Betrothal (interaction), Planning for the Future (event bp2_yearly.5009) and Two Faiths, One Family (event hold_court.7010). Patch 1.20.1.2, from game/common/scripted_triggers/00_marriage_triggers.txt.
What it checks
One of these
All of these
allowed_to_marry_same_sex_trigger = yessex_same_as = $CHARACTER$
or
sex_opposite_of = $CHARACTER$
• 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)
allowed_to_marry_character_gender_trigger = {
OR = {
AND = {
allowed_to_marry_same_sex_trigger = yes
sex_same_as = $CHARACTER$
}
sex_opposite_of = $CHARACTER$
}
}As written in game/common/scripted_triggers/00_marriage_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls allowed_to_marry_character_gender_trigger.
Character interactions (1)
- Create Betrothal
Events (2)
- Planning for the Future
bp2_yearly.5009 - Two Faiths, One Family
hold_court.7010
Scripted triggers inside an event file (4)
- hc_7010_valid_neighbour
- suitable_lover_for_child
- suitable_pool_marriage_trigger
- suitable_smitten_heathen_trigger
Scripted effects (2)
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.