Scripted trigger · All Under Heaven files
any_liege_or_above_is_descendant
any_liege_or_above_is_descendant = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 64 (10 lines). No parameters.
any_liege_or_above_is_descendant is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 64 of its file. It takes no parameters: any_liege_or_above_is_descendant = yes (or no). The game's script calls it in 4 places, among them Abandon the Bureaucracy (decision), Create Cadet Branch (decision) and Establish Sōryō Fief (decision). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
- Any liege or above:
is_liege_or_above_of = rootOne of these
is_child_of = rootor
is_grandchild_of = rootor
is_great_grandchild_of = 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)
any_liege_or_above_is_descendant = {
any_liege_or_above = {
is_liege_or_above_of = root
OR = {
is_child_of = root
is_grandchild_of = root
is_great_grandchild_of = root
}
}
}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_liege_or_above_is_descendant.
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.