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

Scripted effect

deny_treatment_effect

deny_treatment_effect = { PATIENT = … TREATMENT_PICKER = … }

game/common/scripted_effects/20_health_effects.txt, line 2238 (12 lines). Parameters: $PATIENT$, $TREATMENT_PICKER$.

deny_treatment_effect is a scripted effect in Crusader Kings III, written at line 2238 of its file. A call passes 2 parameters: PATIENT and TREATMENT_PICKER. The game's script calls it in 5 places, among them …: A Killer In Our Midst (event health.2101), …: My Ailing … (event health.3102) and …: My Poor … (event health.2201). Its body carries 1 text of the game's own for the player. 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 (12 lines of game script)
deny_treatment_effect = {
	$TREATMENT_PICKER$ = { save_scope_as = treatment_picker }
	$PATIENT$ = {
		custom_tooltip = deny_treatment_effect.tt

		add_opinion = {
			target = root
			modifier = cruelty_opinion
			opinion = -20
		}
	}
}

As written in game/common/scripted_effects/20_health_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls deny_treatment_effect.

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?