Scripted trigger · All Under Heaven files
any_descendants_are_governors
any_descendants_are_governors = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 42 (21 lines). No parameters.
any_descendants_are_governors is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 42 of its file. It takes no parameters: any_descendants_are_governors = yes (or no). The game's script calls it in 3 places, among them Abandon the Bureaucracy (decision), Establish Sōryō Fief (decision) and Request Royal Honsei (decision). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
- Any child:
One of these
tgp_is_japanese_governor_trigger = yesor
Any child:One of these
tgp_is_japanese_governor_trigger = yesor
Any child:One of these
tgp_is_japanese_governor_trigger = yesor
Any child:
• 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 (21 lines of game script)
any_descendants_are_governors = {
# A direct descendant is currently a Governor
any_child = { # Children
OR = {
tgp_is_japanese_governor_trigger = yes
any_child = { # Grandchildren
OR = {
tgp_is_japanese_governor_trigger = yes
any_child = { # Great-grandchildren
OR = {
tgp_is_japanese_governor_trigger = yes
any_child = { # Great-great-grandchildren
tgp_is_japanese_governor_trigger = yes
}
}
}
}
}
}
}
}As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls any_descendants_are_governors.
Source: game/common/scripted_triggers/10_tgp_japan_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.