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

Scripted effect

save_health_court_owner_effect

save_health_court_owner_effect = { SCOPE_NAME = … }

game/common/scripted_effects/20_health_effects.txt, line 3631 (10 lines). Parameters: $SCOPE_NAME$.

save_health_court_owner_effect is a scripted effect in Crusader Kings III, written at line 3631 of its file. A call passes 1 parameter: SCOPE_NAME. The game's script calls it in 3 places, among them health.1202 (event), health.1203 (event) and contract_disease_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.

The comment above it in the file

DISEASE TREATMENT LOGIC###

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (10 lines of game script)
save_health_court_owner_effect = { #Should match has_health_court_owner_trigger
	if = {
		limit = { exists = imprisoner }
		imprisoner = { save_scope_as = $SCOPE_NAME$ }
	}
	else_if = {
		limit = { exists = court_owner } #Courtiers: liege. Guest: host. Ruler: themselves.
		court_owner = { save_scope_as = $SCOPE_NAME$ }
	}
}

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

Where it is used

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

Scripted effects (1)

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?