Scripted trigger
can_take_as_concubine_character_trigger
can_take_as_concubine_character_trigger = { CHARACTER = … }game/common/scripted_triggers/00_marriage_triggers.txt, line 133 (42 lines). Parameters: $CHARACTER$.
can_take_as_concubine_character_trigger is a scripted trigger in Crusader Kings III, written at line 133 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them can_become_concubine_of_character_valid_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_marriage_triggers.txt.
The comment above it in the file
Same trigger as above with the exception of the recent divorce trigger
What it checks
can_marry_common_trigger = yes$CHARACTER$ = { can_marry_common_trigger = yes }If
$CHARACTER$ = { allowed_to_marry_same_sex_trigger = no }
Then
sex_opposite_of = $CHARACTER$
If
NOT = { is_courtier_of = $CHARACTER$ }
Then
- Their rite:
rite_allows_marriage_consanguinity_trigger = { CHARACTER_1 = scope:can_marry_check CHARACTER_2 = $CHARACTER$ }
If
$CHARACTER$ = { … }
Then
$CHARACTER$.rite = { … }
None of these
scope:can_marry_check:is_spouse_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 (42 lines of game script)
can_take_as_concubine_character_trigger = {
save_temporary_scope_as = can_marry_check
can_marry_common_trigger = yes
$CHARACTER$ = { can_marry_common_trigger = yes }
#Opposite genders if you don't have accepted same-sex marriage game rule enabled and your faith supports it
trigger_if = {
limit = {
$CHARACTER$ = { allowed_to_marry_same_sex_trigger = no }
}
sex_opposite_of = $CHARACTER$
}
#Faith hostility & consanguinity
trigger_if = {
limit = { NOT = { is_courtier_of = $CHARACTER$ } } #If you're someone's courtier, your liege can marry you anyway
rite = {
rite_allows_marriage_consanguinity_trigger = {
CHARACTER_1 = scope:can_marry_check
CHARACTER_2 = $CHARACTER$
}
#faith_hostility_level = {
# target = $CHARACTER$.faith
# value < faith_hostility_prevents_marriage_level
#}
}
}
trigger_if = {
limit = { $CHARACTER$ = { NOT = { is_courtier_of = scope:can_marry_check } } } #If you're someone's courtier, your liege can marry you anyway
$CHARACTER$.rite = {
rite_allows_marriage_consanguinity_trigger = {
CHARACTER_1 = scope:can_marry_check
CHARACTER_2 = $CHARACTER$
}
#faith_hostility_level = {
# target = scope:can_marry_check.faith
# value < faith_hostility_prevents_marriage_level
#}
}
}
NOT = {
scope:can_marry_check = { is_spouse_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 can_take_as_concubine_character_trigger.
Scripted triggers (1)
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.