Scripted effect
target_weight_modifier_effect
target_weight_modifier_effect = { VALUE = … }game/common/scripted_effects/20_health_effects.txt, line 1411 (16 lines). Parameters: $VALUE$.
target_weight_modifier_effect is a scripted effect in Crusader Kings III, written at line 1411 of its file. A call passes 1 parameter: VALUE. The game's script calls it in 6 places, among them Feast (activity), Hunt (activity) and Feast of Intentions (event stress_trait_ongoing.5001). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (16 lines of game script)
target_weight_modifier_effect = {
if = {
limit = {
NOT = { has_variable = character_weight_variable }
}
set_variable = {
name = character_weight_variable
value = 0
}
}
change_variable = {
name = character_weight_variable
add = $VALUE$
}
hedonistic_obesity_modifier_sync_effect = yes
}As written in game/common/scripted_effects/20_health_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls target_weight_modifier_effect.
Events (4)
- Feast of Intentions
stress_trait_ongoing.5001 - Gourmand
trait_specific.5001 - Into the Night
ep2_wedding.3420 - Scrounger Life
court_yearly.6040
Source: game/common/scripted_effects/20_health_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.