CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

has_any_illness

has_any_illness = yes

game/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

  • Has one of the traits: Ill, Pneumonia, Great Pox, Lover's Pox, Leper, Gout Ridden, Consumption, Cancer, Typhus, Bubonic Plague, Smallpox, Measles, Bloody Flux, Holy Fire, Sickly

• 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)

2 more

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.

Spotted a mistake on this page?