0zz-FoodBuffConfig icon

FoodBuffConfig

Food Buff configuration mod by 0zzerod

By 0zz
Last updated 5 days ago
Total downloads 197
Total rating 1 
Categories Tweaks Utility Ashlands Update Bog Witch Update
Dependency string 0zz-FoodBuffConfig-1.0.3
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2100 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2100
ValheimModding-Jotunn-2.25.0 icon
ValheimModding-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.25.0

README

FoodBuffConfig

Leave a Thumbs Up if you like the mod!

Author: 0zzerod

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

ko-fi

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

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

Known Issues

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

Support & Credits

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