Scripted trigger
has_graphical_east_asia_region_trigger
has_graphical_east_asia_region_trigger = yesgame/common/scripted_triggers/00_illustration_triggers.txt, line 232 (51 lines). No parameters.
has_graphical_east_asia_region_trigger is a scripted trigger in Crusader Kings III, written at line 232 of its file. It takes no parameters: has_graphical_east_asia_region_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_illustration_triggers.txt.
What it checks
If a check the game hides passes: the same again (2 lines)
- Their capital province:
One of these
- Is in the graphical east asia region
or
Is in the Eastern Steppe region
Else if
a check the game hides
Then
If a check the game hides passes: the same again (2 lines)
- Their host’s capital province:
One of these
- Is in the graphical east asia region
or
Is in the Eastern Steppe region
Else if a check the game hides passes: the same again (2 lines)
- Their liege’s capital province:
One of these
- Is in the graphical east asia region
or
Is in the Eastern Steppe region
Else if
a check the game hides
Then
location.province_owner.capital_province = { … }
Otherwise
always = yes
- Their host’s capital province:
Otherwise
always = yes
- Their capital province:
• 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 (51 lines of game script)
has_graphical_east_asia_region_trigger = {
trigger_if = {
limit = {
exists = capital_province
}
capital_province = {
OR = {
geographical_region = graphical_east_asia
geographical_region = world_steppe_east
}
}
}
trigger_else_if = {
limit = {
NOT = { exists = capital_province }
}
trigger_if = {
limit = { exists = host.capital_province }
host.capital_province = {
OR = {
geographical_region = graphical_east_asia
geographical_region = world_steppe_east
}
}
}
trigger_else_if = {
limit = {
exists = liege.capital_province
}
liege.capital_province = {
OR = {
geographical_region = graphical_east_asia
geographical_region = world_steppe_east
}
}
}
trigger_else_if = {
limit = {
exists = location.province_owner.capital_province
}
location.province_owner.capital_province = {
OR = {
geographical_region = graphical_east_asia
geographical_region = world_steppe_east
}
}
}
trigger_else = { always = yes }
}
trigger_else = { always = yes }
}As written in game/common/scripted_triggers/00_illustration_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_illustration_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.