Scripted trigger
is_any_family_relation_or_spouse_of_root_trigger
is_any_family_relation_or_spouse_of_root_trigger = yesgame/common/scripted_triggers/00_family_triggers.txt, line 129 (37 lines). No parameters.
is_any_family_relation_or_spouse_of_root_trigger is a scripted trigger in Crusader Kings III, written at line 129 of its file. It takes no parameters: is_any_family_relation_or_spouse_of_root_trigger = yes (or no). The game's script calls it in 1 place, among them parent_1009_valid_new_courtier (local 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
or
Any spouse:this = root
or
Any parent › Any sibling:this = root
or
Any sibling › Any child:this = root
or
All of these
None of these
- Any sibling:
this = root
- Any sibling:
- Any parent › 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 (37 lines of game script)
is_any_family_relation_or_spouse_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 }
any_spouse = { this = root }
any_parent = {
even_if_dead = yes
any_sibling = {
even_if_dead = yes
this = root
}
}
any_sibling = {
even_if_dead = yes
any_child = {
even_if_dead = yes
this = root
}
}
AND = {
NOT = {
any_sibling = {
even_if_dead = yes
this = root
}
}
any_parent = {
even_if_dead = yes
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_any_family_relation_or_spouse_of_root_trigger.
Scripted triggers inside an event file (1)
- parent_1009_valid_new_courtier
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.