Scripted trigger · All Under Heaven files
tgp_is_ceremonial_liege_or_direct_heir_trigger
tgp_is_ceremonial_liege_or_direct_heir_trigger = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 144 (17 lines). No parameters.
tgp_is_ceremonial_liege_or_direct_heir_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 144 of its file. It takes no parameters: tgp_is_ceremonial_liege_or_direct_heir_trigger = yes (or no). The game's script calls it in 2 places, among them is_appointment_valid_trigger (scripted trigger) and tgp_ceremonial_candidacy_restriction_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (17 lines of game script)
tgp_is_ceremonial_liege_or_direct_heir_trigger = {
save_temporary_scope_as = char_temp
top_liege.primary_title.var:administrative_ui_special_title ?= {
OR = {
holder ?= {
OR = {
this = scope:char_temp
is_parent_of = scope:char_temp
}
}
place_in_line_of_succession = {
target = scope:char_temp
value <= 5
}
}
}
}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 tgp_is_ceremonial_liege_or_direct_heir_trigger.
Scripted triggers (2)
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.