Scripted trigger
is_in_scapegoating_diarchy_visibility_trigger
is_in_scapegoating_diarchy_visibility_trigger = { PARAMETER_TYPE = … }game/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 584 (16 lines). Parameters: $PARAMETER_TYPE$.
is_in_scapegoating_diarchy_visibility_trigger is a scripted trigger in Crusader Kings III, written at line 584 of its file. A call passes 1 parameter: PARAMETER_TYPE. The game's script calls it in 1 place, among them Scapegoat Co-Ruler (interaction). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
What it checks
- The Scales of Power favor … too strongly…
• 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 (16 lines of game script)
is_in_scapegoating_diarchy_visibility_trigger = {
custom_tooltip = {
text = is_in_scapegoating_diarchy_visibility_trigger.tt.explanation
subject = scope:actor
OR = {
AND = {
scope:recipient = { $PARAMETER_TYPE$ = unlock_scapegoat_counterpart_interaction }
scope:actor = { is_diarch_of_target = scope:recipient }
}
AND = {
scope:actor = { $PARAMETER_TYPE$ = unlock_scapegoat_counterpart_interaction }
scope:recipient = { is_diarch_of_target = scope:actor }
}
}
}
}As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_in_scapegoating_diarchy_visibility_trigger.
Character interactions (1)
Source: game/common/scripted_triggers/00_diarchy_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.