Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
| Date uploaded | a month ago |
| Version | 1.1.1 |
| Download link | 0zz-FoodBuffConfig-1.1.1.zip |
| Downloads | 417 |
| Dependency string | 0zz-FoodBuffConfig-1.1.1 |
This mod requires the following mods to function
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.2350ValheimModding-Jotunn
Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.
Preferred version: 2.30.2README
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 via Thunderstore 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.
CHANGELOG
Changelog
All notable changes to FoodBuffConfig will be documented in this file.
1.1.2
- Added the Deep North feast (
FeastDeepNorth) to the default Food Names list. Existing configs keep their current list - addFeastDeepNorthto yourFood Namessetting manually, or delete the config file to regenerate it.
1.1.1
- Added an AI use disclosure to the README.
1.1.0
- Updated for Valheim 1.0 (BepInExPack_Valheim 5.4.2350, Jotunn 2.30.2). No code changes were needed - the mod's API surface (
Player.EatFood,ItemDrop.ItemDatafood fields) is unchanged in 1.0.
1.0.3
- Fixed default value for FeastOceans.
- Fixed duration scaling applying multiple times on rare occasion.
1.0.2
- Added a server side check for mod installation for clients.
- Actually fixed the bug where the scaling would be applied to all food buffs, not just the listed ones.
1.0.1
- Fixed a bug where the scaling would be applied to all food buffs, not just the listed ones.
1.0.0
- Initial release of FoodBuffConfig plugin