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

Scripted effect

inappetetic_advance_starvation_effect

inappetetic_advance_starvation_effect = yes

game/common/scripted_effects/00_stress_effects.txt, line 389 (34 lines). No parameters.

inappetetic_advance_starvation_effect is a scripted effect in Crusader Kings III, written at line 389 of its file. It takes no parameters: inappetetic_advance_starvation_effect = yes. The game's script calls it in 11 places, among them Shun Food (decision), Mental Break: Forgotten Needs (event stress_threshold_prison.1041) and Mental Break: Haunted by the Past (event stress_threshold.2311). Patch 1.20.1.2, from game/common/scripted_effects/00_stress_effects.txt.

The comment above it in the file

Adds increasingly severe starvation penalties to a character.

What it does

  • If has the Modifier: Wasting:
    • death = { death_reason = death_malnourishment }
  • Else, if has the Modifier: Starved:
    • Loses “Starved”
    • Gains the modifier “Wasting” for 3 years
      • Health -2
      • Prowess -4
      • Diplomacy -2
      • Martial -2
      • Stewardship -2
      • Intrigue -2
      • Learning -2
  • Else, if has the Modifier: Famished:
    • Loses “Famished”
    • Gains the modifier “Starved” for 3 years
      • Health -1
      • Prowess -2
      • Diplomacy -1
      • Martial -1
      • Stewardship -1
      • Intrigue -1
      • Learning -1
  • Otherwise:
    • Gains the modifier “Famished” for 3 years
      • Health -0.5
      • Prowess -1

• 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 (34 lines of game script)
inappetetic_advance_starvation_effect = {
	if = {
		limit = {
			has_character_modifier = stress_inappetetic_hunger_3
		}
		death = { death_reason = death_malnourishment }
	}
	else_if = {
		limit = {
			has_character_modifier = stress_inappetetic_hunger_2
		}
		remove_character_modifier = stress_inappetetic_hunger_2
		add_character_modifier = {
			modifier = stress_inappetetic_hunger_3
			years = 3
		}
	}
	else_if = {
		limit = {
			has_character_modifier = stress_inappetetic_hunger_1
		}
		remove_character_modifier = stress_inappetetic_hunger_1
		add_character_modifier = {
			modifier = stress_inappetetic_hunger_2
			years = 3
		}
	}
	else = {
		add_character_modifier = {
			modifier = stress_inappetetic_hunger_1
			years = 3
		}
	}
}

As written in game/common/scripted_effects/00_stress_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls inappetetic_advance_starvation_effect.

Decisions (1)

Events (10)

4 more

Source: game/common/scripted_effects/00_stress_effects.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?