Scripted trigger
has_contagious_disease_trigger
has_contagious_disease_trigger = yesgame/common/scripted_triggers/20_health_triggers.txt, line 440 (11 lines). No parameters.
has_contagious_disease_trigger is a scripted trigger in Crusader Kings III, written at line 440 of its file. It takes no parameters: has_contagious_disease_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.
What it checks
One of these
has_std_trigger = yesor
Has the Trait: Bubonic Plagueor
Has the Trait: Smallpoxor
Has the Trait: Measlesor
Has the Trait: Bloody Fluxor
Has the Trait: Consumptionor
Has the Trait: Typhus
• 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 (11 lines of game script)
has_contagious_disease_trigger = { #Only diseases handled by the disease_outbreak_pulse and the disease_recovery_pulse
OR = {
has_std_trigger = yes
has_trait = bubonic_plague
has_trait = smallpox
has_trait = measles
has_trait = dysentery
has_trait = consumption
has_trait = typhus
}
}As written in game/common/scripted_triggers/20_health_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
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.