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_low_health_penalty_disease_type_trigger

has_low_health_penalty_disease_type_trigger = yes

game/common/scripted_triggers/20_health_triggers.txt, line 718 (33 lines). No parameters.

has_low_health_penalty_disease_type_trigger is a scripted trigger in Crusader Kings III, written at line 718 of its file. It takes no parameters: has_low_health_penalty_disease_type_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.

What it checks

  • One of these

    • scope:disease_type = flag:ill
    • or

      scope:disease_type = flag:great_pox
    • or

      scope:disease_type = flag:gout_ridden
    • or

      scope:disease_type = flag:leper
    • or

      All of these

    • or

      All of these

    • or

      All of these

      • scope:disease_type = flag:measles
      • Is an Adult
    • 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 (33 lines of game script)
has_low_health_penalty_disease_type_trigger = { # < 3.5
	OR = {
		## ILL
		scope:disease_type = flag:ill #1 + 1
		### GREAT POX
		scope:disease_type = flag:great_pox #1
		### GOUT
		scope:disease_type = flag:gout_ridden #1
		### LEPROSY
		scope:disease_type = flag:leper #1.5
		### CONSUMPTION
		AND = {
			scope:disease_type = flag:consumption #2 + 1 + 2
			is_adult = yes
			is_old_character = no
		}
		### CANCER
		AND = {
			scope:disease_type = flag:cancer #3 + 1
			is_old_character = no
		}
		### MEASLES
		AND = {
			scope:disease_type = flag:measles #3 + 3
			is_adult = yes
		}
		### PNEUMONIA
		AND = {
			scope:disease_type = flag:pneumonic #3 + 2
			is_old_character = no
		}
	}
}

As written in game/common/scripted_triggers/20_health_triggers.txt.

Where it is used

No file of common/, events/ or history/ calls it.

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?