Scripted trigger
is_close_family_or_spouse_of_root_trigger
is_close_family_or_spouse_of_root_trigger = yesgame/common/scripted_triggers/00_family_triggers.txt, line 25 (8 lines). No parameters.
is_close_family_or_spouse_of_root_trigger is a scripted trigger in Crusader Kings III, written at line 25 of its file. It takes no parameters: is_close_family_or_spouse_of_root_trigger = yes (or no). The game's script calls it in 34 places, among them Criminal can be Imprisoned (important action), Criminal can be Pardoned (important action) and …: A Mysterious … (event ep2_tournament_events.1015). 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
- 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 (8 lines of game script)
is_close_family_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 }
}
}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_or_spouse_of_root_trigger.
Important actions (2)
- Criminal can be Imprisoned
- Criminal can be Pardoned
Events (17)
- …: A Mysterious …
ep2_tournament_events.1015 - …: Mystery Solved
ep2_tournament_events.1016 - A Sublime Vision
mpo_events_tova.0030 - A Treasured Friend
mpo_events_tova.0045 - Aftertaste
ep2_wedding.0301 - Chased by Shadows
intrigue_scheming_special.1301
11 more
- Chased by Shadows
intrigue_scheming_special.1302 - Endless Hearings
intrigue_dread.4100 - ep2_wedding.0957
- feast.7102
- great_holy_war.0026
- Late Night Snack
trait_specific_ongoing.5005 - Lonely Days
house_arrest_ongoing.0003 - Nothing but Roots
nomad_events.0210 - Private Meating
trait_specific_ongoing.5001 - The Man From the Mountain
mpo_events_tova.0035 - The Power to Influence
feast_lifestyle.2003
Scripted triggers inside an event file (15)
- 0050_valid_courtier
- bishop_2002_suitable_relative_trigger
- ep2_wedding_0202_valid_family_member_trigger
- ep2_wedding_2000_valid_friend
- feast_lifestyle_2002_secret_holder_trigger
- intrigue_dread_1301_potential_courtier_trigger
9 more
- intrigue_dread_1901_potential_courtier_trigger
- intrigue_dread_4100_petitioner_trigger
- intrigue_scheming_2001_future_mentor_trigger
- intrigue_scheming_special_1001_potential_dynasty_trigger
- is_valid_nomad_events_0001_courtier
- is_valid_nomad_events_0180_rival
- nomad_events_0100_valid_enemies
- nomad_events_0200_valid_courtier
- nomad_events_0240_valid_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.