DrummerCraig-Hunger_Pangs icon

Hunger Pangs

Don't forget to eat food again! Automatic eating, HUD notifications and now Automatic Health, Poison, Fire and Frost Mead consumption! Fully configurable.

Last updated 2 weeks ago
Total downloads 606
Total rating 2 
Categories Client-side AI Generated
Dependency string DrummerCraig-Hunger_Pangs-1.2.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

HungerPangs

Never let your food buffs silently expire again. HungerPangs watches your active food timers and automatically alerts and/or re-eats food from your inventory before it runs out — warns you when your supply is getting low — automatically drinks health meads when you take damage in combat — automatically drinks resist meads when a threatening enemy is nearby or environmental conditions demand it — and pauses food timers while you're at your workbench or on a boat.

This mod was inspired by Gaakrin's AutoEat.

Features

  • Auto-Eat — Automatically consumes a matching food item from your inventory when a food buff is about to expire.
  • Auto-eat notifications — Shows a HUD message each time a food item is automatically re-eaten.
  • Expiry notifications — Shows a HUD message when a food item is nearing its expiry, so you can eat manually on cue if you prefer.
  • Low supply warnings — Alerts you when your remaining stock of a food item drops to or below a configurable count.
  • Auto Mead — Automatically drinks a health mead when your health drops below a configurable threshold. Optionally restricts this to combat only (triggered by enemy hits), and can filter out meads that would overheal your health cap.
  • Auto Poison Resist Mead — Automatically drinks a poison resist mead when a poison-capable enemy is approaching you or within melee range.
  • Auto Fire Resist Mead — Automatically drinks a fire resist mead when a fire-capable enemy is approaching you or within melee range.
  • Auto Frost Resist Mead — Automatically drinks a frost resist mead when you are Freezing (Mountain biome environmental cold) or have taken a configurable number of frost damage hits within a time window.
  • Pause Near Workbench — Pauses food expiry timers when you are within workbench range. Food effects (health and stamina regen) continue normally — only the countdown is paused.
  • Pause On Boat — Pauses food expiry timers when you are on a boat. Food effects (health and stamina regen) continue normally — only the countdown is paused.
  • Fully configurable — Every feature can be independently toggled and tuned via the BepInEx config file.

How Valheim Food Timers Work

Understanding this helps you choose the right threshold values.

Every food item has a total duration (e.g. 20 or 30 minutes). As the timer counts down, the buff gradually weakens. At 50% of the duration remaining, the food starts blinking in the HUD — this is Valheim's signal that you can eat it again. You cannot re-eat food before that point, regardless of mod settings.

This means the useful tuning window is roughly 1–49% of a food's total duration. Both thresholds below are expressed as a percentage of total duration so they scale correctly across all food types automatically.

Configuration

Settings are written to BepInEx/config/drummercraig.hungerpangs.cfg on first launch and can be edited with any text editor or Configuration Manager. Numeric thresholds appear as sliders when using Configuration Manager.

General

Setting Default Range Description
1. Mod Status true Master toggle. Disabling this stops all auto-eating, notifications, and workbench pausing.
2. Auto-Eat true Automatically re-eat food before it expires. When disabled, only expiry notifications fire (if enabled), letting you eat manually on cue.
3. Auto-Eat Percent 5 1–49 % of total food duration remaining when the food is automatically re-eaten. See examples below.
4. Auto-Eat Notify true Show a HUD notification when a food item is automatically re-eaten. Requires 2. Auto-Eat.
5. Food Expiry Notify true Show a HUD notification when a food item nears its expiry threshold.
6. Food Expiry Percent 30 1–50 % of total food duration remaining when the expiry notification appears. See examples below.
7. Low Supply Notify true Show a HUD notification when auto-eating consumes a food and the remaining count is at or below 8. Low Supply Count. Requires 2. Auto-Eat.
8. Low Supply Count 1 0+ The inventory count at which the low supply notification fires.
9. Pause Near Workbench false Pause food expiry timers when within range of a workbench. Food effects continue normally — only the countdown is paused.
10. Pause On Boat false Pause food expiry timers when on a boat. Food effects continue normally — only the countdown is paused.

Poison Resist Mead

Setting Default Range Description
1. Auto Poison Mead true Automatically drink a poison resist mead when a poison-capable enemy is approaching or within melee range.
2. Detection Range 15 1–50 Radius in meters to scan for poison-capable enemies.
3. Notify true Show a HUD notification when a poison resist mead is automatically consumed.

Fire Resist Mead

Setting Default Range Description
1. Auto Fire Mead true Automatically drink a fire resist mead when a fire-capable enemy is approaching or within melee range.
2. Detection Range 15 1–50 Radius in meters to scan for fire-capable enemies.
3. Notify true Show a HUD notification when a fire resist mead is automatically consumed.

Frost Resist Mead

Setting Default Range Description
1. Auto Frost Mead true Automatically drink a frost resist mead when Freezing or after receiving repeated frost damage hits.
2. Frost Tick Count 3 1–10 Number of frost damage hits within the time window required to trigger auto-consume.
3. Frost Tick Window 10 2–60 Seconds over which frost hits are counted toward the trigger threshold.
4. Notify true Show a HUD notification when a frost resist mead is automatically consumed.

Health Mead

Setting Default Range Description
1. Auto Mead true Automatically drink a health mead when health drops below the configured threshold percentage.
2. Health Threshold 30 1–99 Health % below which a mead is automatically consumed. Example: 30 = drink when below 30% of your maximum health.
3. Only On Enemy Hit true Only auto-drink when the health drop was caused by an enemy hit. Prevents wasting meads on fall damage, lava, or other environmental hazards.
4. Enemy Hit Window 5 1–30 Seconds after the last enemy hit during which the mead trigger remains active. Requires 3. Only On Enemy Hit.
5. Require Sufficient Max Health false Only drink a mead if your maximum health is at least equal to the mead's total healing value. Skips meads that would overheal your cap and tries the next-strongest eligible mead instead.
6. Notify true Show a HUD notification when a health mead is automatically consumed.

Threshold Examples (30-minute food)

Style 6. Food Expiry Percent 3. Auto-Eat Percent What happens
Resource efficient 20 5 Notified at ~6 min remaining; auto-eats at ~1.5 min. Minimises food waste — good when farming or grinding with a surplus.
Situational / balanced 35 15 Notified at ~10.5 min remaining; auto-eats at ~4.5 min. A good middle ground for exploration or high-risk areas like the Mistlands or Mountains.
Maximum uptime 45 40 Notified then auto-eats almost immediately after the food starts blinking (~13.5 min remaining). Keeps stats topped up at the cost of more food consumed — ideal before boss fights or stamina-heavy tasks.

Set 6. Food Expiry Percent higher than 3. Auto-Eat Percent so the notification fires before auto-eat kicks in.

Using a mod that removes food degradation? If another mod keeps your food buffs at full strength regardless of time remaining, there is no benefit to eating early. In that case, set 3. Auto-Eat Percent to 1 or 2 to re-eat at the very last moment and get the maximum duration out of every food item.

Requirements

Installation

Install with r2modman or Thunderstore Mod Manager for automatic dependency handling, or manually extract the plugins folder into your BepInEx directory.