Scripted trigger
upgrade_ready_potential_lover_to_lover_support_trigger
upgrade_ready_potential_lover_to_lover_support_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 226 (31 lines). Parameters: $CHARACTER$.
upgrade_ready_potential_lover_to_lover_support_trigger is a scripted trigger in Crusader Kings III, written at line 226 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them upgrade_ready_potential_lover_to_lover_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.
The comment above it in the file
LOVER
What it checks
• 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 (31 lines of game script)
upgrade_ready_potential_lover_to_lover_support_trigger = {
OR = {
is_ai = no #Players chose if they are ready
trigger_if = {
limit = { has_trait = chaste }
opinion = {
target = $CHARACTER$
value >= high_positive_opinion
}
}
trigger_else_if = {
limit = {
OR = {
has_trait = lustful
has_trait = seducer
$CHARACTER$.attraction >= medium_positive_attraction
}
}
opinion = {
target = $CHARACTER$
value >= 0
}
}
trigger_else = {
opinion = {
target = $CHARACTER$
value >= low_positive_opinion
}
}
}
}As written in game/common/scripted_triggers/00_relation_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls upgrade_ready_potential_lover_to_lover_support_trigger.
Scripted triggers (1)
Source: game/common/scripted_triggers/00_relation_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.