Scripted trigger
has_any_debilitating_illness
has_any_debilitating_illness = yesgame/common/scripted_triggers/20_health_triggers.txt, line 9 (3 lines). No parameters.
has_any_debilitating_illness is a scripted trigger in Crusader Kings III, written at line 9 of its file. It takes no parameters: has_any_debilitating_illness = yes (or no). The game's script calls it in 18 places, among them Capital Examination: A Tentative Start (event travel_start_event.1100), Danger: … Overboard! (event travel_danger_events.4000) and Debate: The Challenge (event travel_start_event.1120). 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_debilitating_illness = { #Check for any illness that would warrant the sick animation
has_trait_with_flag = debilitating_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_debilitating_illness.
Events (15)
- Capital Examination: A Tentative Start
travel_start_event.1100 - Danger: … Overboard!
travel_danger_events.4000 - Debate: The Challenge
travel_start_event.1120 - Feast: A Gruesome Start
travel_start_event.1040 - Grand Rite: A Tentative Start
travel_start_event.1080 - Grand Tour: A Tentative Start
travel_start_event.1020
9 more
- Grand Tournament: A Tentative Start
travel_start_event.1010 - Grand Wedding: A Gruesome Start
travel_start_event.1030 - Hike: On the Road Again
travel_start_event.1090 - Hunt: A Tentative Start
travel_start_event.1070 - Mandala Ritual: A Tentative Start
travel_start_event.1110 - Meet Peers: A Tentative Start
travel_start_event.1050 - Meet Peers: Off to Play
travel_start_event.1051 - Pilgrimage: A Tentative Start
travel_start_event.1060 - Towards Greener Pastures
travel_start_event.1000
Scripted triggers inside an event file (1)
- petition_head_of_faith_arrival_recipient_poor_health_trigger
On actions (the game's own hooks) (1)
- yearly_health_pulse
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.