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

Scripted effect

find_court_physician_effect

find_court_physician_effect = yes

game/common/scripted_effects/20_health_effects.txt, line 2222 (15 lines). No parameters.

find_court_physician_effect is a scripted effect in Crusader Kings III, written at line 2222 of its file. It takes no parameters: find_court_physician_effect = yes. The game's script calls it in 20 places, among them … A Journey's End? (event health.1001), …: A Killer In Our Midst (event health.2101) 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

  • My servants will search for possible Personal Physician candidates

• 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 (15 lines of game script)
find_court_physician_effect = {
	custom_tooltip = health.3101.e.tt
	hidden_effect = {
		# Stop AI taking physicians via event, since they've got an AI prioritisation system to work with.
		## We do this in the effect rather than elsewhere for script hygiene.
		if = {
			limit = { is_ai = no }
			add_character_flag = { flag = already_sick days = 30 }
			add_character_flag = { flag = searching_for_physician days = court_physician_search_max } 
			trigger_event = {
				id = health.3001 days = { court_physician_search_min court_physician_search_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 find_court_physician_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?