Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
last week
Downloads
3.1K
Size
365KB
ADDatHost Valheim hosting
€1

FeastMaster

A comprehensive food and mead configuration mod for Valheim; the server's settings bind every player.

Features

What you eat

  • Global Stat Multipliers - Scale health, stamina, eitr, duration and health regen of every food at once
  • Per-Item Configuration - Set each food's values on its own; the configured numbers show on tooltips right away
  • Mead Customization - Duration, the health, stamina and eitr restored over time, regeneration multipliers and run/jump stamina modifiers, per mead
  • Food Degradation - Keep food at full strength or pick your own fade curve (linear, faster, slower)
  • Eat Again - Decide how far a food must have run down before it can be eaten again

How you recover

  • Continuous Food Healing - The food's regen is healed a little every frame over the 10 seconds instead of once
  • Vigor - A stamina regeneration bonus on every food that lasts as long as the food does; Eitr Vigor does the same for eitr
  • Stamina and Eitr Regeneration - Base regen, regen delay, blocking factor, regen from extra stamina, a sneak skill bonus, and regeneration while encumbered or swimming
  • Regen Curves - Faster regeneration when the bar is low and slower when it is high, for stamina and for eitr

What actions cost

  • Stamina Costs - A multiplier for every drain: run, jump, dodge, block, attack, sneak, swim, encumbered, tools, fishing, harpoon
  • Out of Combat - Cheaper running, jumping, dodging and sneaking when nothing targets or has noticed you
  • Free Sneaking - Sneaking drains nothing while no enemy is near
  • Skill Discount - Block, dodge and jump get cheaper as the matching skill rises
  • Drowning Damage - Scale the damage taken when stamina runs out in the water

Display

  • Hidden Numbers - Hide the health, stamina or eitr number on the HUD, per player
  • Food Timers - Show or hide the timers under the food icons, per player

Also: base health and stamina without food, extra stamina from the Run, Jump, Sneak, Swim and Fishing skill levels, skill gain multipliers, and overrides for the world's food, stamina, move stamina and stamina regen rates. Every setting defaults to vanilla behaviour, nothing changes until you opt in; changes apply immediately without restarting the game, and on a server the server's configuration applies to every connected player.

Settings

The config file is BepInEx/config/com.FeastMaster.cfg, written on first start. The numbered sections hold the global settings, in order; below them every food and mead has a section named after its prefab. Foods and meads are discovered from the game, so modded consumables get sections too.

Section What it does
0. Global Settings Multipliers for health, stamina, eitr, duration and health regen of all foods; Disable Food Degradation; Degradation Curve (0.3 is the game's curve, 1 linear, higher fades sooner, 0 never fades); Eat Again At (fraction of the duration below which food can be re-eaten, game 0.5); Lock Configuration (the server's values are enforced on every client)
1. Health Regeneration Continuous Food Healing: the food regen amount is spread over the 10 seconds and healed a little every frame, no floating numbers
2. Stamina Regeneration Stamina Regen Multiplier, Low Stamina Regen Bonus, Stamina Regen Delay, Blocking Regen Factor (game 0.8); Vigor Per Stamina Point and Vigor Multiplier; Regen Curve Strength and Regen Curve Pivot (faster regen when the bar is low, slower when high); Regen Per Extra Stamina Point (percent per point of stamina above the base) and Count Food Stamina Only; Sneak Skill Regen Bonus while crouched and still; Encumbered Regen Fraction, Swimming Regen Fraction and Swimming Regen Delay
3. Eitr Regeneration Eitr Vigor Per Eitr Point and Eitr Vigor Multiplier; Eitr Regen Multiplier, Eitr Regen Delay; Eitr Regen Curve Strength and Eitr Regen Curve Pivot; Blocking Eitr Regen Factor
4. Stamina Costs One multiplier per drain: Run Cost, Jump Cost, Dodge Cost, Block Cost, Attack Cost, Sneak Cost, Swim Cost, Encumbered Cost, Tool Cost, Fishing Pull Cost, Fishing Hooked Cost, Harpoon Cost (1 = vanilla, 0 = free); Out Of Combat Run/Jump/Dodge/Sneak Cost on top when nothing targets or has noticed you; Free Sneaking Without Enemies; Skill Discount on block, dodge and jump at skill 100; Drowning Damage
5. Base Values Base Health (game 25) and Base Stamina (game 75) with no food; Run/Jump/Sneak/Swim/Fishing Skill Stamina: stamina added at skill 100, scaling with the skill
6. Skills Run/Jump/Sneak/Swim/Fishing Skill Gain: experience multipliers, on top of the world's skill gain rate
7. World Rates Food Rate, Stamina Rate, Move Stamina Rate, Stamina Regen Rate: above 0 overrides the world modifier, 0 leaves the world's value
8. Display Hide Health Number, Hide Stamina Number, Hide Eitr Number, Food Timers (Vanilla, Always, Never); per player and not synced
one per food Health, Stamina, Eitr, Duration, HealthRegen, Vigor (extra percent of stamina regeneration while the food is active, added to the food's stamina times Vigor Per Stamina Point) and EitrVigor (the same for eitr)
one per mead Duration, HealthOverTime, StaminaOverTime, EitrOverTime, HealthRegenMultiplier, StaminaRegenMultiplier, EitrRegenMultiplier, RunStaminaModifier, JumpStaminaModifier (-0.2 makes running 20% cheaper while the mead lasts)

Everything except the Display section is synced from the server and hot reloads when the file is edited (in game or with ConfigurationManager). A config file from 3.3.x or 4.0.0 keeps working: the moved Lock Configuration, the renamed mead sections and the settings renamed in 4.1.0 are carried over on the first start.

Vigor and Regen Per Extra Stamina Point both reward stamina from food, so with both switched on food stamina counts twice. Pick one: Vigor for a per-food value shown on the tooltip, extra stamina for a rule that also counts meads and gear.

Server settings

Gameplay settings come from the server. With Lock Configuration on (the default), every player uses the server's values and cannot change them locally; server admins can still edit them in game. With it off, each player uses their own file. In the console (F5), charter status shows whether the server binds your settings, charter diff lists where the server's values differ from your own file, and charter versions lists the mods on both sides. Joining with a missing or mismatched version of the mod shows one screen naming the mod and both versions, with a refusal code that is also written to the server's and your own log.

How to Install

  1. Install BepInEx for Valheim.
  2. Install this mod.

For manual install, drag FeastMaster.dll into the BepInEx/plugins folder.

Bugs and feature requests

The source lives on GitHub. Found a bug or want a feature? Open an issue at https://github.com/geraldjglasgow/ValheimMods/issues and name the mod, its version and what happened.

Shout outs

  • The BepInEx and Harmony teams, for the tools every Valheim mod stands on.
  • Iron Gate Studio, for Valheim.
  • Thunderstore, for hosting this page.
  • The Valheim modding community, for the hard work and dedication that keeps enhancing an already great game.
  • Every modder who keeps their mods open source so others can collaborate, learn and build on them.

License

MIT. Copy it, change it, build on it, ship it, free of charge. The only condition is keeping the copyright and license notice from the LICENSE file.

DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro