Scripted trigger · All Under Heaven files
is_valid_celestial_dynasty
is_valid_celestial_dynasty = yesgame/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt, line 46 (5 lines). No parameters.
is_valid_celestial_dynasty is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 46 of its file. It takes no parameters: is_valid_celestial_dynasty = yes (or no). The game's script calls it in 2 places, among them on_title_gain (on action) and tgp_claim_mandate_of_heaven_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
What it checks
- Their culture: The Culture has the Chinese Cultural Pillar
• 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 (5 lines of game script)
is_valid_celestial_dynasty = {
culture = {
has_cultural_pillar = heritage_chinese
}
}As written in game/common/scripted_triggers/10_tgp_dynastic_cycle_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_valid_celestial_dynasty.
On actions (the game's own hooks) (1)
- on_title_gain
Scripted effects (1)
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.