Scripted effect · All Under Heaven files
tgp_fire_china_realm_name_event_for_vassals_effect
tgp_fire_china_realm_name_event_for_vassals_effect = yesgame/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt, line 2328 (14 lines). No parameters.
tgp_fire_china_realm_name_event_for_vassals_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2328 of its file. It takes no parameters: tgp_fire_china_realm_name_event_for_vassals_effect = yes. The game's script calls it in 2 places, among them on_title_destroyed (on action) and tgp_chaos_shattering_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt.
What it does
- Every vassal:
- Where:
tgp_use_chinese_naming_trigger = yes- Their primary title:
has_custom_title_name = no
tgp_chinese_naming_tier_trigger = yestgp_has_unique_chinese_naming = yes
tgp_fire_china_realm_name_event_effect = yes
- Where:
• 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 (14 lines of game script)
tgp_fire_china_realm_name_event_for_vassals_effect = {
every_vassal = {
# Because a change in liege isn't triggered when the title being destroyed
limit = {
tgp_use_chinese_naming_trigger = yes
primary_title = {
has_custom_title_name = no
}
tgp_chinese_naming_tier_trigger = yes
tgp_has_unique_chinese_naming = yes
}
tgp_fire_china_realm_name_event_effect = yes
}
}As written in game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_fire_china_realm_name_event_for_vassals_effect.
On actions (the game's own hooks) (1)
- on_title_destroyed
Scripted effects (1)
Source: game/common/scripted_effects/10_dlc_tgp_dynastic_cycle_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.