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

Scripted effect

decide_who_picks_disease_treatment_effect

decide_who_picks_disease_treatment_effect = yes

game/common/scripted_effects/20_health_effects.txt, line 3660 (19 lines). No parameters.

decide_who_picks_disease_treatment_effect is a scripted effect in Crusader Kings III, written at line 3660 of its file. It takes no parameters: decide_who_picks_disease_treatment_effect = yes. The game's script calls it in 2 places, among them health.3100 (event) and set_court_physician_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.

The comment above it in the file

Who treats a sick character?

What it does

  • If

    Then

    • Their liege: Event health.3102 (after physician_treatment_delay_subject_min–physician_treatment_delay_subject_max days)

    Otherwise

    • Event health.3101 (after physician_treatment_delay_ruler_min–physician_treatment_delay_ruler_max days)

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.

The script as written (19 lines of game script)
decide_who_picks_disease_treatment_effect = {
	if = {
		limit = {
			liege_picks_treatment_trigger = yes
		}
		liege = {
			trigger_event = {
				id = health.3102 #Liege decides
				days = { physician_treatment_delay_subject_min physician_treatment_delay_subject_max }
			}
		}
	}
	else = {
		trigger_event = {
			id = health.3101 #I decide
			days = { physician_treatment_delay_ruler_min physician_treatment_delay_ruler_max }
		}
	}
}

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

Where it is used

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

Events (1)

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?