Scripted trigger · All Under Heaven files
tgp_should_become_meritocratic_trigger
tgp_should_become_meritocratic_trigger = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 512 (30 lines). No parameters.
tgp_should_become_meritocratic_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 512 of its file. It takes no parameters: tgp_should_become_meritocratic_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
One of these
- Their top liege:
One of these
- Has a Meritocratic Government
or
Any neighboring and across water top liege realm owner: Government allows: merit
or
All of these
One of these
- Is an Independent Ruler
or
Their liege: Their government does not have the administrative mechanic
- Their capital province:
One of these
- Is in the East Asia region
or
Is in the Tibet regionor
Is in the Eastern Steppe region
or
exists = scope:great_yuan_ruler
- Their top liege:
• 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 (30 lines of game script)
tgp_should_become_meritocratic_trigger = {
has_tgp_dlc_trigger = yes
OR = {
top_liege = {
OR = {
has_government = meritocratic_government
any_neighboring_and_across_water_top_liege_realm_owner = { government_allows = merit }
}
}
AND = {
OR = {
is_independent_ruler = yes
liege = {
NOT = {
government_has_mechanic = administrative
}
}
}
capital_province = {
OR = {
geographical_region = world_asia
geographical_region = world_tibet
geographical_region = world_steppe_east
}
}
}
#Becoming admin with creation of meritocratic great yuan
exists = scope:great_yuan_ruler
}
}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_should_become_meritocratic_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.