Scripted trigger
can_be_offered_as_concubine_to_character_trigger
can_be_offered_as_concubine_to_character_trigger = { CHARACTER = … GIVER = … }game/common/scripted_triggers/00_marriage_triggers.txt, line 293 (38 lines). Parameters: $CHARACTER$, $GIVER$.
can_be_offered_as_concubine_to_character_trigger is a scripted trigger in Crusader Kings III, written at line 293 of its file. A call passes 2 parameters: CHARACTER and GIVER. The game's script calls it in 4 places, among them Exact Tribute (interaction), Offer Concubine (interaction) and Select Concubine Tribute (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_marriage_triggers.txt.
What it checks
- Is available (an adult, not a ruler)
If
NOT = { is_imprisoned_by = $GIVER$ }
Then
- Is not married
- Is not betrothed
is_diarch = noOne of these
- Not: Is Concubine
or
is_concubine_of = $GIVER$
number_of_concubines = 0
If
is_imprisoned_by = $GIVER$- Is married
Then
NOT = { is_spouse_of = $CHARACTER$ }NOT = { is_spouse_of = $GIVER$ }
NOT = { is_concubine_of = $CHARACTER$ }- Is not Leasing holdings from their Liege
could_marry_character_trigger = { CHARACTER = $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 (38 lines of game script)
can_be_offered_as_concubine_to_character_trigger = {
is_available_quick = {
adult = yes
ruler = no
advanced_ruler = no
}
trigger_if = {
limit = {
NOT = { is_imprisoned_by = $GIVER$ }
}
is_married = no
is_betrothed = no
is_diarch = no
OR = {
is_concubine = no
is_concubine_of = $GIVER$
}
number_of_concubines = 0
}
trigger_if = {
limit = {
is_imprisoned_by = $GIVER$
is_married = yes
}
NOR = {
is_spouse_of = $CHARACTER$
is_spouse_of = $GIVER$
}
}
NOR = {
is_concubine_of = $CHARACTER$
has_character_flag = has_been_offered_as_concubine
}
NOT = {
is_theocratic_lessee = yes
}
could_marry_character_trigger = { CHARACTER = $CHARACTER$ } #Gender, recent divorce, allowed to marry, no illegal incest etc.
}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_be_offered_as_concubine_to_character_trigger.
Character interactions (3)
Scripted effects (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.