Scripted effect
find_court_physician_effect
find_court_physician_effect = yesgame/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.
Events (20)
- … A Journey's End?
health.1001 - …: A Killer In Our Midst
health.2101 - …: My Poor …
health.2201 - …: The End of a Journey?
health.1002 - …: The End of a Journey?
health.1003 - …: The End of a Journey?
health.1004
14 more
- …: The End of a Journey?
health.1005 - …: The End of a Journey?
health.1006 - …: The End of a Journey?
health.1007 - …: The End of a Journey?
health.1013 - …: The End of a Journey?
health.1010 - …: The End of a Journey?
health.1011 - …: The End of a Journey?
health.1015 - …: The End of a Journey?
health.1016 - …: The End of a Journey?
health.1017 - Wounded: A Taint Within
health.0202 - Wounded: Dark Tidings
health.0204 - Wounded: Deeply Cut
health.0102 - Wounded: Grievously Injured
health.0104 - Wounded: My Injured …
health.4000
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.