Scripted trigger
has_treatable_disease_trigger
has_treatable_disease_trigger = yesgame/common/scripted_triggers/20_health_triggers.txt, line 574 (17 lines). No parameters.
has_treatable_disease_trigger is a scripted trigger in Crusader Kings III, written at line 574 of its file. It takes no parameters: has_treatable_disease_trigger = yes (or no). The game's script calls it in 13 places, among them …: My Ailing … (event health.3102), …: Time For Treatment (event health.3101) and At the Mercy of the Elements (event ecumenical_council_summons_events.0030). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.
What it checks
One of these
- Has the Trait: Consumption
or
Has the Trait: Canceror
Has the Trait: Great Poxor
Has the Trait: Gout Riddenor
Has the Trait: Illor
Has the Trait: Pneumoniaor
Has the Trait: Typhusor
Has the Trait: Smallpoxor
Has the Trait: Bubonic Plagueor
Has the Trait: Leperor
Has the Trait: Measlesor
Has the Trait: Bloody Fluxor
Has the Trait: Holy Fire
• 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 (17 lines of game script)
has_treatable_disease_trigger = {
OR = {
has_trait = consumption
has_trait = cancer
has_trait = great_pox
has_trait = gout_ridden
has_trait = ill
has_trait = pneumonic
has_trait = typhus
has_trait = smallpox
has_trait = bubonic_plague
has_trait = leper
has_trait = measles
has_trait = dysentery
has_trait = ergotism
}
}As written in game/common/scripted_triggers/20_health_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_treatable_disease_trigger.
Events (8)
- …: My Ailing …
health.3102 - …: Time For Treatment
health.3101 - At the Mercy of the Elements
ecumenical_council_summons_events.0030 - Compassionate Discord
yearly.5010 - health.3100
- Inspiration: Flawed Jewel
fund_inspiration.2070
2 more
- The Assembly of the Estates
middle_europe_decisions.0010 - Translations
yearly.4081
Scripted triggers inside an event file (2)
- 1000_has_illness_or_wound_to_treat_trigger
- has_artisan_incapacity_trait
Scripted effects (2)
Customizable localization (1)
- DeathMessageIntro
Source: game/common/scripted_triggers/20_health_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.