Scripted effect · All Under Heaven files
destroy_held_ministry_titles_effect
destroy_held_ministry_titles_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 2116 (18 lines). No parameters.
destroy_held_ministry_titles_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2116 of its file. It takes no parameters: destroy_held_ministry_titles_effect = yes. The game's script calls it in 1 place, among them tgp_chaos_shattering_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
The comment above it in the file
Destroy any held ministry title - Use this on a character
What it does
If
tgp_has_minister_title = yes
Then
- Every held title:
- Where:
tgp_is_minister_title = yes
scope:minister_should_lose_ministry_title:destroy_title = prev
- Where:
- Dynastic Cycle:
remove_manual_participant = prev
• 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 (18 lines of game script)
destroy_held_ministry_titles_effect = {
save_scope_as = minister_should_lose_ministry_title
if = {
limit = {
tgp_has_minister_title = yes
}
every_held_title = {
limit = {
tgp_is_minister_title = yes
}
scope:minister_should_lose_ministry_title = { destroy_title = prev }
}
situation:dynastic_cycle = {
remove_manual_participant = prev
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls destroy_held_ministry_titles_effect.
Scripted effects (1)
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.