
FoodDuration
Configure each food duration individually. Defaults preserve original durations except 20-minute foods become 25 minutes. No other food properties changed.Food Duration
Choose how long each food lasts, one food at a time.
- By default, foods that last exactly 20 minutes now last 25 minutes.
- All other foods keep their original duration until you change them.
- Health, stamina, eitr and healing values are not changed.
- Foods added by other mods get a setting too.
- Requires BepInEx 5; Jotunn is not required.
Install
Install through your Valheim mod manager, then launch the game modded.
For manual installation, install BepInEx 5 for Valheim, then copy BepInEx/plugins/FoodDuration/FoodDuration.dll from this package into the matching folder in your game or active mod-manager profile. Restart the game.
Configure
Launch to the main menu once so the settings are created, then exit. Open BepInEx/config/local.valheim.foodduration.cfg, or use your mod manager's config editor. Each food has an entry under [FoodDurations], using its internal item name, with a value in seconds:
[FoodDurations]
CookedMeat = 1500
Raspberry = 600
Restart the game after making changes. Non-positive or invalid values fall back to that food's default. Delete an entry while the game is closed to get its default back on the next launch.
Some uncooked ingredients also appear in the list because the game gives them food values. Those entries can be ignored.
The old global DurationSeconds setting from 1.0.0 is ignored.
How it behaves
Food stats fade and food can be eaten again at half duration just as in the unmodified game, relative to each food's new duration. Food already active when you change a setting keeps its remaining time, so eat fresh food to see a change.
Multiplayer
Durations apply only to players who install the mod, and each player uses their own settings. Nothing is needed on the server, and settings are not synchronized.
Compatibility
Another mod that changes food durations can conflict. Valheim Plus's foodDurationMultiplier setting applies on top of these durations when food is eaten, so leave it at 0 when using this mod.
Uninstall
Exit the game and remove the mod. Saves are not changed; food that is active at the time keeps its remaining time until it runs out or is replaced.
License
MIT. See the included LICENSE file. This is an unofficial Valheim mod and is not affiliated with Iron Gate.