Scripted effect
pick_own_disease_treatment_effect
pick_own_disease_treatment_effect = yesgame/common/scripted_effects/20_health_effects.txt, line 3642 (16 lines). No parameters.
pick_own_disease_treatment_effect is a scripted effect in Crusader Kings III, written at line 3642 of its file. It takes no parameters: pick_own_disease_treatment_effect = yes. The game's script calls it in 3 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 2 texts 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
- If an Adult: … will decide what kind of treatment … wants.
- Otherwise: The physician will decide what kind of treatment … receives
• 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 (16 lines of game script)
pick_own_disease_treatment_effect = {
if = {
limit = { is_adult = yes }
custom_tooltip = pick_own_treatment_effect.adult.tt
}
else = {
custom_tooltip = pick_own_treatment_effect.child.tt
}
hidden_effect = {
trigger_event = {
id = health.3101
days = { 5 10 }
}
}
}As written in game/common/scripted_effects/20_health_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pick_own_disease_treatment_effect.
Events (3)
- …: A Killer In Our Midst
health.2101 - …: My Ailing …
health.3102 - …: My Poor …
health.2201
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.