Scripted trigger
has_graphical_korean_region_trigger
has_graphical_korean_region_trigger = yesgame/common/scripted_triggers/00_illustration_triggers.txt, line 864 (19 lines). No parameters.
has_graphical_korean_region_trigger is a scripted trigger in Crusader Kings III, written at line 864 of its file. It takes no parameters: has_graphical_korean_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 (1 line)
- Their capital province: Is in the Korea region
Else if a check the game hides passes: the same again (1 line)
- Their host’s capital province: Is in the Korea region
Else if a check the game hides passes: the same again (1 line)
- Their liege’s capital province: Is in the Korea region
Else if
a check the game hides
Then
location.province_owner.capital_province = { geographical_region = world_asia_korea }
Otherwise
always = yes
• 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 (19 lines of game script)
has_graphical_korean_region_trigger = {
trigger_if = {
limit = { exists = capital_province }
capital_province = { geographical_region = world_asia_korea }
}
trigger_else_if = {
limit = { exists = host.capital_province }
host.capital_province = { geographical_region = world_asia_korea }
}
trigger_else_if = {
limit = { exists = liege.capital_province }
liege.capital_province = { geographical_region = world_asia_korea }
}
trigger_else_if = {
limit = { exists = location.province_owner.capital_province }
location.province_owner.capital_province = { geographical_region = world_asia_korea }
}
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.