Scripted trigger
can_set_relation_rival_even_if_teen_trigger
can_set_relation_rival_even_if_teen_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 141 (13 lines). Parameters: $CHARACTER$.
can_set_relation_rival_even_if_teen_trigger is a scripted trigger in Crusader Kings III, written at line 141 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them A Slice of the Pie (event court.2201). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.
What it checks
One of these
- Is an Adult
or
child_is_teen_trigger = yes
$CHARACTER$ = { … }can_set_relation_rival_if_adult_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 (13 lines of game script)
can_set_relation_rival_even_if_teen_trigger = {
OR = {
is_adult = yes
child_is_teen_trigger = yes
}
$CHARACTER$ = {
OR = {
is_adult = yes
child_is_teen_trigger = yes
}
}
can_set_relation_rival_if_adult_trigger = { CHARACTER = $CHARACTER$ }
}As written in game/common/scripted_triggers/00_relation_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls can_set_relation_rival_even_if_teen_trigger.
Events (1)
- A Slice of the Pie
court.2201
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.