Scripted trigger
has_any_illness
has_any_illness = yesgame/common/scripted_triggers/20_health_triggers.txt, line 5 (3 lines). No parameters.
has_any_illness is a scripted trigger in Crusader Kings III, written at line 5 of its file. It takes no parameters: has_any_illness = yes (or no). The game's script calls it in 12 places, among them …: the … Grounds (event ep3_laamp_decision_event.1040), A Miracle in Robes (event tgp_japan_yearly_events.1220) and Danger: Serpent! (event travel_danger_events.7000). 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 (3 lines of game script)
has_any_illness = { #Checks the game for every disease
has_trait_with_flag = illness
}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_any_illness.
Events (8)
- …: the … Grounds
ep3_laamp_decision_event.1040 - A Miracle in Robes
tgp_japan_yearly_events.1220 - Danger: Serpent!
travel_danger_events.7000 - Danger: The Rigors of Travel
travel_danger_events.4010 - Danger: Too Bloody Warm
travel_events.4016 - The Charlatan of …
tour_travel.1009
2 more
- The Wise … of …
tour_travel.1007 - The Wise … of …
tour_travel.1008
Scripted effects inside an event file (1)
- positive_wise_woman_healing_effect
Scripted triggers inside an event file (1)
- pam_sf_doomed_soul_valid_trigger
Scripted effects (1)
Script values (1)
- study_commander_trait_success_chance_value
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.