feat(skeleton): per-player options to eat real food and spend stamina

Two options in "Skeleton - Mortal Habits", both off and not synced by
the server, since each only gives up an advantage.

Eats Mortal Food: the Skeleton eats like the living. The max health
override and the fake foods step aside, so meals decide health and
stamina and the tier's health bonus, which stood in for food, no longer
applies. The food HUD shows again.

Feels Fatigue: the Skeleton spends stamina. Without eating, its max
stamina is base plus the stamina of the tier's stand-in meals, because
the fake foods sit at m_time 0 and give none.

The compendium builds its diet line from four new keys (English,
Italian, Russian) when either option is on.
This commit is contained in:
kanym 2026-11-02 23:31:58 +01:00
commit 9ed606a9aa
9 changed files with 86 additions and 13 deletions

View file

@ -31,6 +31,8 @@ namespace RacesOfValheim
"Aswid - Eyes",
"Fenrir - Appearance",
"Skeleton - Visuals",
// Food and stamina for a Skeleton who wants them: each only gives up an advantage.
"Skeleton - Mortal Habits",
"Sverm - Dorsal Spines",
"Sverm - Emberform",
"Trol - Appearance",