Scripted trigger · All Under Heaven files
is_celestial_governor_in_need_of_successor_trigger
is_celestial_governor_in_need_of_successor_trigger = yesgame/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt, line 177 (14 lines). No parameters.
is_celestial_governor_in_need_of_successor_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 177 of its file. It takes no parameters: is_celestial_governor_in_need_of_successor_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
What it checks
- Government is Celestial
is_governor = yesprimary_title.tier >= tier_duchy- Has the Celestial Appointment Succession Law
- Their primary title › Title heir (exactly 0):
dynasty != root.dynastymerit_level >= root.expected_primary_title_meritroot.liege != this
• 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 (14 lines of game script)
is_celestial_governor_in_need_of_successor_trigger = {
government_has_flag = government_is_celestial
is_governor = yes
primary_title.tier >= tier_duchy
has_realm_law = celestial_appointment_succession_law # we don't want to make bureaucratic appointments for military provinces
primary_title = {
any_title_heir = {
dynasty != root.dynasty # nepotism very bad!
merit_level >= root.expected_primary_title_merit
root.liege != this
count = 0
}
}
}As written in game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.