


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.
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.
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.
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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 Percenthigher than3. Auto-Eat Percentso 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 Percentto1or2to re-eat at the very last moment and get the maximum duration out of every food item.
Install with r2modman or Thunderstore Mod Manager for automatic dependency handling, or manually extract the plugins folder into your BepInEx directory.