FoodBuffConfig

版本 v1.1.1·更新於 2026-09-22

Food Buff configuration mod by 0zzerod

模組介紹 作者原文

FoodBuffConfig

Leave a Thumbs Up if you like the mod!

Author: 0zzerod

If you're enjoying the mod, perhaps consider buying me a coffee.

Description

FoodBuffConfig is a simple Valheim mod that lets you configure food buffs and duration. Instead of hard‐coded values, you get to set multipliers and rounding units config.

Features

  • Food List: Specify which food buffs to include in the Scaling. Only feasts are included by default, but you can add any you want as long as you know the internal id.
  • Duration Multiplier: Scale duration by any factor.
  • Buff Modifier: Seperate modifiers for Health + Regen, Stamina and Eitr

Rounding Unit: Round scaling up* to the nearest configured unit (e.g. to multiples of 5).

Configuration

Open the generated config file (0zzerod.FoodBuffConfig.cfg) to adjust the following entries:

| Setting | Default | Description |

| ------------------------ | ------- | ---------------------------------------------------------------- |

| Food Names | FeastMeadows, FeastBlackforest, FeastSwamps, FeastOceans, FeastMountains, FeastPlains, FeastMistlands, FeastAshlands | Only apply scaling to specified foods, only Feasts are included by default (case sensitive!). |

| HealthBonusMultiplier | 1.2 | Multiply health and regen bonus by this factor. |

| StaminaBonusMultiplier | 1.1 | Multiply stamina bonus by this factor. |

| Eitr | 1.5 | Multiply Eitr bonus by this factor. |

| Health Rounding | 5 | Round up health scaling to a mulitple of this number. |

| Stamina Rounding | 1 | Round up stamina scaling to a mulitple of this number. |

| Eitr Rounding | 1 | Round up Eitr scaling to a mulitple of this number. |

| DurationMultiplier | 4.0 | Multiply vanilla duration by this factor. |

| DurationRoundingUnit | 60.0 | Round duration up to the nearest multiple of this unit (seconds). |

Simply edit the values, save, and restart the game for changes to take effect.

Usage

  • Eat any (listed) food item as usual.
  • The plugin automatically applies the configured duration and bonus multiplier.

Known Issues

  • Duration displays the original value instead of the scaled one when hovering over the food item.
  • Duration scaling applies multiple times on occasion - should be fixed with the latest version, but testing is difficult.

AI Use Disclosure

Portions of this mod's code and its packaging/release tooling were written with AI assistance (Claude). All changes were reviewed by the author before release.

Support & Credits

  • Thanks: to the BepInEx and Jötunn communities for their amazing work.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_ValheimValheimModding-Jotunn

檔案與校驗

檔案名稱
FoodBuffConfig-1.1.1.zip
檔案大小
109.9 KiB