CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

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.

Activities (2)

Events (4)

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.

Spotted a mistake on this page?