Valheim
Install with App

Details

Latest version
1.1.0
Last Updated
First Uploaded
Downloads
4
Likes
0
Size
12KB
Dependants
ADDatHost Valheim hosting
30% off

Food Duration

A small Valheim mod with one duration setting per food.

  • By default, 20-minute foods last 25 minutes.
  • All other foods keep their original duration.
  • Configure any food independently, in seconds.
  • No changes to health, stamina, eitr, regeneration, recipes or potion effects.
  • Normal food stat decay and re-eating rules remain, relative to the new duration.

Installation

Install with r2modman or Thunderstore Mod Manager. BepInEx is the only dependency. If you previously installed the DLL manually, remove that copy first to avoid duplicates.

For manual installation, install BepInEx 5 for Valheim, then copy the package's BepInEx folder into your game folder (or active mod-manager profile).

Configuration

Launch and load a world once, then exit. Edit BepInEx/config/local.valheim.foodduration.cfg, or use your mod manager's config editor. Restart after editing.

Each food has an entry under [FoodDurations], identified by its internal prefab name. Values are seconds:

[FoodDurations]
CookedMeat = 1500
Raspberry = 600
Sausages = 1500

Change generated entries to any positive duration. Invalid, non-positive or non-finite values fall back to that food's default. Remove an entry while the game is closed to regenerate its default next time you load a world.

The old global DurationSeconds setting from 1.0.0 is ignored. Saved active food timers are not reset; eat fresh food to see the new duration.

Compatibility

Install on each player client that should use these durations. No server synchronization or enforcement. Registered custom foods are supported, but mods that add or overwrite food data later can conflict; earlier modifications can influence generated defaults. No Jotunn dependency.

To uninstall, exit and remove the mod. Saved remaining food timers can persist until food expires or is replaced.

Validation and source

Compiled against the author's installed Valheim and BepInEx libraries. 104 automated logic checks passed; in-game validation for this release is still pending. Source and build instructions: https://github.com/larsbs/Valheim-Mods

License

MIT. See the included LICENSE. Unofficial mod, not affiliated with Iron Gate.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.