Scripted effect
intrigue_dread_4001_torture_increase_effectiveness_remove_trait_effect
intrigue_dread_4001_torture_increase_effectiveness_remove_trait_effect = { TRAIT = … }game/common/scripted_effects/00_intrigue_lifestyle_effects.txt, line 805 (16 lines). Parameters: $TRAIT$.
intrigue_dread_4001_torture_increase_effectiveness_remove_trait_effect is a scripted effect in Crusader Kings III, written at line 805 of its file. A call passes 1 parameter: TRAIT. The game's script calls it in 1 place, among them Exquisite Suffering (event intrigue_dread.4005). Patch 1.20.1.2, from game/common/scripted_effects/00_intrigue_lifestyle_effects.txt.
What it does
• 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)
intrigue_dread_4001_torture_increase_effectiveness_remove_trait_effect = {
if = {
limit = {
scope:victim = {
has_trait = $TRAIT$
}
}
change_variable = {
name = break_value
subtract = 1
}
scope:victim = {
remove_trait = $TRAIT$
}
}
}As written in game/common/scripted_effects/00_intrigue_lifestyle_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls intrigue_dread_4001_torture_increase_effectiveness_remove_trait_effect.
Events (1)
- Exquisite Suffering
intrigue_dread.4005
Source: game/common/scripted_effects/00_intrigue_lifestyle_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.