Scripted effect · All Under Heaven files
tgp_destroy_ceremonial_throne_effect
tgp_destroy_ceremonial_throne_effect = yesgame/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 2896 (16 lines). No parameters.
tgp_destroy_ceremonial_throne_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2896 of its file. It takes no parameters: tgp_destroy_ceremonial_throne_effect = yes. The game's script calls it in 3 places, among them on_title_gain (on action), on_vassal_change (on action) and on_vassal_gained (on action). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
What it does
scope:vassal:- If any held title:
- Every held title › Their holder:
• 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 (16 lines of game script)
tgp_destroy_ceremonial_throne_effect = {
liege = { save_scope_as = liege }
save_scope_as = vassal
scope:vassal ?= {
if = {
limit = {
any_held_title = { exists = var:ceremonial_title }
}
tgp_destroy_ceremonial_liege_title_effect = yes
}
every_held_title = {
limit = { exists = var:administrative_ui_special_title }
holder ?= { tgp_destroy_ceremonial_liege_title_effect = yes }
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_destroy_ceremonial_throne_effect.
On actions (the game's own hooks) (3)
- on_title_gain
- on_vassal_change
- on_vassal_gained
Source: game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.