Scripted effect
decrease_sibling_causing_trouble_value_effect
decrease_sibling_causing_trouble_value_effect = yesgame/common/scripted_effects/00_sibling_effects.txt, line 95 (18 lines). No parameters.
decrease_sibling_causing_trouble_value_effect is a scripted effect in Crusader Kings III, written at line 95 of its file. It takes no parameters: decrease_sibling_causing_trouble_value_effect = yes. The game's script calls it in 2 places, among them A Nuisance (event sibling.2001) and The … and the … (event sibling.0004). Patch 1.20.1.2, from game/common/scripted_effects/00_sibling_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (18 lines of game script)
decrease_sibling_causing_trouble_value_effect = {
hidden_effect = {
if = {
limit = {
root = { is_ai = no }
has_variable = sibling_causing_trouble
var:sibling_causing_trouble > 1
}
change_variable = {
name = sibling_causing_trouble
add = -1
}
}
else = {
remove_variable = sibling_causing_trouble
}
}
}As written in game/common/scripted_effects/00_sibling_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls decrease_sibling_causing_trouble_value_effect.
Events (2)
- A Nuisance
sibling.2001 - The … and the …
sibling.0004
Source: game/common/scripted_effects/00_sibling_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.