Scripted trigger
can_set_relation_bully_trigger
can_set_relation_bully_trigger = { CHARACTER = … }game/common/scripted_triggers/00_relation_triggers.txt, line 117 (11 lines). Parameters: $CHARACTER$.
can_set_relation_bully_trigger is a scripted trigger in Crusader Kings III, written at line 117 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 5 places, among them I'm Going Home! (event playdate.5006), The Beating (event child_personality.7020) and The Game (event bp2_yearly.8022). Patch 1.20.1.2, from game/common/scripted_triggers/00_relation_triggers.txt.
What it checks
- Is a child
$CHARACTER$ = { is_adult = no }NOT = { has_relation_friend = $CHARACTER$ }NOT = { has_relation_best_friend = $CHARACTER$ }NOT = { has_relation_bully = $CHARACTER$ }NOT = { has_relation_victim = $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 (11 lines of game script)
can_set_relation_bully_trigger = {
is_adult = no
$CHARACTER$ = { is_adult = no }
NOR = {
this = $CHARACTER$
has_relation_friend = $CHARACTER$
has_relation_best_friend = $CHARACTER$
has_relation_bully = $CHARACTER$
has_relation_victim = $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_bully_trigger.
Character interactions (1)
- Set Relationship
Events (4)
- I'm Going Home!
playdate.5006 - The Beating
child_personality.7020 - The Game
bp2_yearly.8022 - Set Relationship
debug.350
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.