Scripted trigger
has_short_disease_type_trigger
has_short_disease_type_trigger = yesgame/common/scripted_triggers/20_health_triggers.txt, line 657 (12 lines). No parameters.
has_short_disease_type_trigger is a scripted trigger in Crusader Kings III, written at line 657 of its file. It takes no parameters: has_short_disease_type_trigger = yes (or no). The game's script calls it in 2 places, among them add_disease_treatment_modifier_effect (scripted effect) and disease_treatment_results_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.
What it checks
One of these
scope:disease_type = flag:illor
scope:disease_type = flag:pneumonicor
scope:disease_type = flag:measlesor
scope:disease_type = flag:dysenteryor
scope:disease_type = flag:ergotismor
scope:disease_type = flag:typhusor
scope:disease_type = flag:smallpoxor
scope:disease_type = flag:bubonic_plague
• 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 (12 lines of game script)
has_short_disease_type_trigger = {
OR = {
scope:disease_type = flag:ill
scope:disease_type = flag:pneumonic #3
scope:disease_type = flag:measles #3
scope:disease_type = flag:dysentery #3.5
scope:disease_type = flag:ergotism #3.5
scope:disease_type = flag:typhus #3.5
scope:disease_type = flag:smallpox #3.5
scope:disease_type = flag:bubonic_plague #6.5
}
}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_short_disease_type_trigger.
Scripted effects (2)
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.