Scripted trigger
has_short_disease_trigger
has_short_disease_trigger = yesgame/common/scripted_triggers/20_health_triggers.txt, line 472 (11 lines). No parameters.
has_short_disease_trigger is a scripted trigger in Crusader Kings III, written at line 472 of its file. It takes no parameters: has_short_disease_trigger = yes (or no). The game's script calls it in 9 places, among them A Caring Hand (event bp1_yearly.9024), A Sick Leave (event bp2_yearly.7000) and harm_0551_child_might_be_outside_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.
What it checks
• 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_short_disease_trigger = {
OR = {
has_trait = ill
has_trait = typhus
has_trait = smallpox
has_trait = bubonic_plague
has_trait = ergotism
has_trait = measles
has_trait = dysentery
}
}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_trigger.
Events (2)
- A Caring Hand
bp1_yearly.9024 - A Sick Leave
bp2_yearly.7000
Scripted triggers inside an event file (2)
- harm_0551_child_might_be_outside_trigger
- rivals_child_trigger
Scripted triggers (3)
Script values (1)
- hostage_value
Scripted modifiers (AI weights) (1)
- activity_guest_tournament_ai_accept_modifier
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.