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_high_health_penalty_disease_type_trigger

has_high_health_penalty_disease_type_trigger = yes

game/common/scripted_triggers/20_health_triggers.txt, line 680 (37 lines). No parameters.

has_high_health_penalty_disease_type_trigger is a scripted trigger in Crusader Kings III, written at line 680 of its file. It takes no parameters: has_high_health_penalty_disease_type_trigger = yes (or no). The game's script calls it in 1 place, among them add_disease_treatment_modifier_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.

What it checks

  • One of these

    • scope:disease_type = flag:typhus
    • or

      scope:disease_type = flag:smallpox
    • or

      scope:disease_type = flag:bubonic_plague
    • or

      scope:disease_type = flag:dysentery
    • or

      scope:disease_type = flag:ergotism
    • or

      All of these

      • scope:disease_type = flag:consumption
      • One of these

    • or

      All of these

    • or

      All of these

      • scope:disease_type = flag:measles
      • Is a child
    • or

      All of these

• 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 (37 lines of game script)
has_high_health_penalty_disease_type_trigger = { # >= 3.5
	OR = {
		### TYPHUS
		scope:disease_type = flag:typhus #4.5 + 1
		### SMALLPOX
		scope:disease_type = flag:smallpox #4.5 + 1.5
		### BUBONIC PLAGUE
		scope:disease_type = flag:bubonic_plague #7 + 2
		### DYSENTERY
		scope:disease_type = flag:dysentery #3.5 + 2
		### ERGOTISM
		scope:disease_type = flag:ergotism #3.5
		### CONSUMPTION
		AND = {
			scope:disease_type = flag:consumption #2 + 1 + 2
			OR = {
				is_adult = no
				is_old_character = yes
			}
		}
		### CANCER
		AND = {
			scope:disease_type = flag:cancer #3 + 1
			is_old_character = yes
		}
		### MEASLES
		AND = {
			scope:disease_type = flag:measles #3 + 3
			is_adult = no
		}
		### PNEUMONIA
		AND = {
			scope:disease_type = flag:pneumonic #3 + 2
			is_old_character = yes
		}
	}
}

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_high_health_penalty_disease_type_trigger.

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?