Scripted trigger · All Under Heaven files
tgp_has_unique_chinese_naming
tgp_has_unique_chinese_naming = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 1028 (7 lines). No parameters.
tgp_has_unique_chinese_naming is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 1028 of its file. It takes no parameters: tgp_has_unique_chinese_naming = yes (or no). The game's script calls it in 3 places, among them on_rank_up (on action), on_vassal_change (on action) and tgp_fire_china_realm_name_event_for_vassals_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
One of these
- Their capital county’s province:
or
scope:title.capital_county.title_province:or
Their culture:
• 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 (7 lines of game script)
tgp_has_unique_chinese_naming = {
OR = {
capital_county.title_province ?= { tgp_is_in_chinese_naming_region = yes }
scope:title.capital_county.title_province ?= { tgp_is_in_chinese_naming_region = yes }
culture = { tgp_has_cultural_naming_in_chinese = no }
}
}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_has_unique_chinese_naming.
On actions (the game's own hooks) (2)
- on_rank_up
- on_vassal_change
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.