Scripted effect
family_purge_execute_prisoner_effect
family_purge_execute_prisoner_effect = { EXECUTIONER = … VICTIM = … }game/common/scripted_effects/00_prison_effects.txt, line 2900 (19 lines). Parameters: $EXECUTIONER$, $VICTIM$.
family_purge_execute_prisoner_effect is a scripted effect in Crusader Kings III, written at line 2900 of its file. A call passes 2 parameters: EXECUTIONER and VICTIM. The game's script calls it in 1 place, among them Root, Stem, and Branch (event tgp_east_asia_interaction_events.2000). Patch 1.20.1.2, from game/common/scripted_effects/00_prison_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (19 lines of game script)
family_purge_execute_prisoner_effect = {
$VICTIM$ = {
save_scope_as = victim
}
$EXECUTIONER$ = {
save_scope_as = executioner
save_scope_as = imprisoner #Save this scope to show correct tyranny tooltip
}
family_purge_execute_opinion_effect = { VICTIM = scope:victim EXECUTIONER = scope:executioner }
$VICTIM$ = {
death = {
death_reason = death_execution
killer = $EXECUTIONER$
}
}
}As written in game/common/scripted_effects/00_prison_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls family_purge_execute_prisoner_effect.
Events (1)
- Root, Stem, and Branch
tgp_east_asia_interaction_events.2000
Source: game/common/scripted_effects/00_prison_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.