Scripted effect
consume_all_criminal_reasons_effect
consume_all_criminal_reasons_effect = { CRIMINAL = … LIEGE = … }game/common/scripted_effects/00_prison_effects.txt, line 2485 (28 lines). Parameters: $CRIMINAL$, $LIEGE$.
consume_all_criminal_reasons_effect is a scripted effect in Crusader Kings III, written at line 2485 of its file. A call passes 2 parameters: CRIMINAL and LIEGE. The game's script calls it in 10 places, among them Demand as Tributary (interaction), Grant Pardon (interaction) and Submit to Suzerain (interaction). 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 (28 lines of game script)
consume_all_criminal_reasons_effect = {
$LIEGE$ = {
if = {
limit = {
has_imprisonment_reason = $CRIMINAL$
}
consume_imprisonment_reasons = $CRIMINAL$
}
if = {
limit = {
has_banish_reason = $CRIMINAL$
}
consume_banish_reasons = $CRIMINAL$
}
if = {
limit = {
has_execute_reason = $CRIMINAL$
}
consume_execute_reasons = $CRIMINAL$
}
if = {
limit = {
has_revoke_title_reason = $CRIMINAL$
}
consume_revoke_title_reason = $CRIMINAL$
}
}
}As written in game/common/scripted_effects/00_prison_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls consume_all_criminal_reasons_effect.
Character interactions (3)
Casus belli (3)
Events (3)
- A Plea for Freedom
ep3_emperor_yearly.2130 - Find Secrets — Known Criminal
scheme_critical_moments.8071 - The Cangue-Wearer
mpo_nomad_events.1080
Scripted effects (1)
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.