Scripted trigger
possible_mutual_interest_with_trigger
possible_mutual_interest_with_trigger = { CHARACTER = … }game/common/scripted_triggers/00_romance_and_seduction_triggers.txt, line 203 (73 lines). Parameters: $CHARACTER$.
possible_mutual_interest_with_trigger is a scripted trigger in Crusader Kings III, written at line 203 of its file. A call passes 1 parameter: CHARACTER. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_romance_and_seduction_triggers.txt.
What it checks
One of these
has_relation_crush = $CHARACTER$or
has_relation_lover = $CHARACTER$or
has_relation_potential_lover = $CHARACTER$or
has_opinion_modifier = { modifier = love_opinion target = $CHARACTER$ }or
If
One of these
- Any sibling:
this = $CHARACTER$
or
Any parent:this = $CHARACTER$
or
Any child:this = $CHARACTER$
- Any sibling:
Not all of these
$CHARACTER$ = { is_ai = no has_perk = subtle_desire_perk }- Is at least 20 years old
Then
- Never
Otherwise
matching_gender_and_sexuality_with_trigger = { CHARACTER = $CHARACTER$ }
$CHARACTER$ = { … }matching_gender_and_sexuality_with_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 (73 lines of game script)
possible_mutual_interest_with_trigger = {
this != $CHARACTER$ #Cannot be an event target for yourself
OR = {
has_relation_crush = $CHARACTER$
has_relation_lover = $CHARACTER$
has_relation_potential_lover = $CHARACTER$
has_opinion_modifier = {
modifier = love_opinion
target = $CHARACTER$
}
#Is not related to $CHARACTER$, or has an indicator that they would be interested anyways
trigger_if = {
limit = {
OR = {
any_sibling = {
this = $CHARACTER$
}
any_parent = {
this = $CHARACTER$
}
any_child = {
this = $CHARACTER$
}
}
NAND = {
$CHARACTER$ = {
is_ai = no
has_perk = subtle_desire_perk
}
age >= 20
}
}
always = no
}
trigger_else = {
matching_gender_and_sexuality_with_trigger = { CHARACTER = $CHARACTER$ }
}
}
save_temporary_scope_as = interest_temp
$CHARACTER$ = {
OR = {
has_relation_crush = $CHARACTER$
has_relation_lover = $CHARACTER$
has_relation_potential_lover = $CHARACTER$
has_opinion_modifier = {
modifier = love_opinion
target = scope:interest_temp
}
NOR = {
any_sibling = {
this = scope:interest_temp
}
any_parent = {
this = scope:interest_temp
}
any_child = {
this = scope:interest_temp
}
}
AND = {
scope:interest_temp = {
is_ai = no
has_perk = subtle_desire_perk
}
age >= 20
}
}
}
matching_gender_and_sexuality_with_trigger = { CHARACTER = $CHARACTER$ }
$CHARACTER$ = {
matching_gender_and_sexuality_with_trigger = { CHARACTER = scope:interest_temp }
}
}As written in game/common/scripted_triggers/00_romance_and_seduction_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_romance_and_seduction_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.