Scripted trigger
is_not_hostile_towards_root
is_not_hostile_towards_root = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 775 (10 lines). No parameters.
is_not_hostile_towards_root is a scripted trigger in Crusader Kings III, written at line 775 of its file. It takes no parameters: is_not_hostile_towards_root = yes (or no). The game's script calls it in 2 places, among them yearly_8000_vassal_trigger (local trigger) and yearly_8300_vassal_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_available_for_events_triggers.txt.
What it checks
None of these
- Is a faction member
- Any scheme:
hostile_scheme_trigger = yesscheme_target_character = root
is_at_war_with = root
• 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 (10 lines of game script)
is_not_hostile_towards_root = {
NOR = {
is_a_faction_member = yes
any_scheme = {
hostile_scheme_trigger = yes
scheme_target_character = root
}
is_at_war_with = root
}
}As written in game/common/scripted_triggers/00_available_for_events_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_not_hostile_towards_root.
Scripted triggers inside an event file (2)
- yearly_8000_vassal_trigger
- yearly_8300_vassal_trigger
Source: game/common/scripted_triggers/00_available_for_events_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.