Scripted trigger
immune_to_epidemic
immune_to_epidemic = { EPIDEMIC = … }game/common/scripted_triggers/20_health_triggers.txt, line 911 (8 lines). Parameters: $EPIDEMIC$.
immune_to_epidemic is a scripted trigger in Crusader Kings III, written at line 911 of its file. A call passes 1 parameter: EPIDEMIC. The game's script calls it in 7 places, among them bubonic_plague (epidemic), consumption (epidemic) and dysentery (epidemic). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.
The comment above it in the file
Has this character already developed immunity to the epidemic?
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (8 lines of game script)
immune_to_epidemic = {
NOT = {
is_target_in_variable_list = {
name = immunised_plagues
target = $EPIDEMIC$
}
}
}As written in game/common/scripted_triggers/20_health_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls immune_to_epidemic.
Epidemics (7)
- bubonic_plague
- consumption
- dysentery
- ergotism
- measles
- smallpox
1 more
- typhus
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.