Scripted effect
inappetetic_advance_starvation_effect
inappetetic_advance_starvation_effect = yesgame/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
- Gains the modifier “Famished” for 3 years
• 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)
- Mental Break: Forgotten Needs
stress_threshold_prison.1041 - Mental Break: Haunted by the Past
stress_threshold.2311 - Mental Break: I am Unworthy!
stress_threshold.3411 - Mental Break: Impostor!
stress_threshold.1721 - Mental Break: Improprietous Remarks
stress_threshold.2351 - Mental Break: Prison Problems
stress_threshold_prison.1001
4 more
- Mental Break: Spinning Thoughts
stress_threshold.1601 - Mental Break: Swirling Emotions
stress_threshold.1602 - Mental Break: Torrential Grief
stress_threshold_special.1001 - Stress Coping: Forsake Food
stress_trait_coping_decisions.6001
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.