Scripted trigger · All Under Heaven files
tgp_can_become_celestial_trigger
tgp_can_become_celestial_trigger = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 556 (11 lines). No parameters.
tgp_can_become_celestial_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 556 of its file. It takes no parameters: tgp_can_become_celestial_trigger = yes (or no). The game's script calls it in 2 places, among them Adopt Centralized Administration (decision) and change_to_administrative_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
- Their top liege:
One of these
- Has a Celestial Government
or
Holds Chinaor
Their culture:culture_is_or_has_ancestor_trigger = { CULTURE = culture:han }
• 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 (11 lines of game script)
tgp_can_become_celestial_trigger = {
top_liege = {
OR = {
has_government = celestial_government
has_title = title:h_china
culture = {
culture_is_or_has_ancestor_trigger = { CULTURE = culture:han }
}
}
}
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_can_become_celestial_trigger.
Decisions (1)
Scripted effects (1)
Source: game/common/scripted_triggers/10_tgp_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.