Scripted trigger
is_close_family_of_root_trigger
is_close_family_of_root_trigger = yesgame/common/scripted_triggers/00_family_triggers.txt, line 17 (7 lines). No parameters.
is_close_family_of_root_trigger is a scripted trigger in Crusader Kings III, written at line 17 of its file. It takes no parameters: is_close_family_of_root_trigger = yes (or no). The game's script calls it in 3 places, among them Planning for the Future (event bp2_yearly.5009), childhood_1000_friend_sexuality_trigger (local trigger) and save_good_crush_character_trigger_check (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_family_triggers.txt.
What it checks
One of these
- Any parent:
this = root
or
Any sibling:this = root
or
Any child:this = root
- Any parent:
• 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 (7 lines of game script)
is_close_family_of_root_trigger = {
OR = {
any_parent = { even_if_dead = yes this = root }
any_sibling = { even_if_dead = yes this = root }
any_child = { even_if_dead = yes this = root }
}
}As written in game/common/scripted_triggers/00_family_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_close_family_of_root_trigger.
Events (1)
- Planning for the Future
bp2_yearly.5009
Scripted triggers inside an event file (1)
- childhood_1000_friend_sexuality_trigger
Scripted triggers (1)
Source: game/common/scripted_triggers/00_family_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.