MasterCooking
A Valheim mod that applies Cooking skill bonuses (Duration, Health, Stamina, Eitr, Regen) to all food consumption, including Feasts.MasterCooking
A Valheim mod that applies Cooking skill bonuses (Duration, Health, Stamina, Eitr, Regen) to all food consumption, including Feasts.
What It Does
MasterCooking boosts the stats of any food you eat based on your Cooking skill level. The higher your Cooking skill, the more health, stamina, regeneration, and eitr you get from food. You can also configure a duration multiplier to make food last longer.
The mod works with:
- All vanilla food items
- Feasts
- Any modded food from other mods
Features
- Universal Food Support: Applies bonuses to ALL food consumption
- Dynamic Scaling: Stat multipliers scale with your Cooking skill level (0-100)
- XP Multiplier: Configurable Cooking skill experience gain multiplier
- Accurate Tooltips: Tooltips and HUD show the boosted stats
- Configurable Multipliers: Fully customizable stat bonuses and XP multiplier
Configuration
The mod creates a configuration file at BepInEx/config/com.ruijven.mastercooking.cfg with the following options:
Default Stat Multipliers
HealthFactor: Health multiplier at skill level 100 (default: 1.3 = 30% increase)StaminaFactor: Stamina multiplier at skill level 100 (default: 1.3 = 30% increase)RegenFactor: Health regeneration multiplier at skill level 100 (default: 1.3 = 30% increase)EitrFactor: Eitr multiplier at skill level 100 (default: 1.3 = 30% increase)DurationFactor: Duration multiplier at skill level 100 (default: 1.0 = no change)
Skill Progression
ExperienceGainFactor: Multiplier for Cooking skill XP gained (default: 1.0 = normal XP, 2.0 = 2x XP)
General
LogDebugInfo: Enable detailed debug logging (default: false)
How Multipliers Work
Bonuses scale linearly based on your Cooking skill level:
- Skill 0: No bonus (1.0x multiplier)
- Skill 50: Half bonus (e.g., 1.15x with config 1.3)
- Skill 100: Full bonus (e.g., 1.3x with config 1.3)
Mod Compatibility
MasterCooking works with any food mod that adds new craftable foods. It doesn't use hardcoded item lists - it simply intercepts all food consumption and applies bonuses based on the item's food stats.
Installation
- Install BepInEx
- Place
MasterCooking.dllinBepInEx/plugins/ - Configure the mod in
BepInEx/config/com.ruijven.mastercooking.cfg - Level up your Cooking skill by cooking food in the game
Notes
- The mod applies bonuses to ALL food consumption (regular food + feasts)
- Uses the vanilla Cooking skill - no external cooking mod required
- Bonuses are calculated dynamically based on your current Cooking skill level
- Stats persist correctly across save/load cycles
- HUD and eat messages display boosted stats
- Existing users should delete the config file to receive updated default values
Credits
- Author: ruijven
- Mod ID: com.ruijven.mastercooking
- Version: 1.0.2
- Based on the mod "Cooking" by Smoothbrain (which is a totally awesome mod!)
Changelog
v1.0.0
- Initial release
- Universal food support for all food consumption (regular food + feasts).
- Dynamic stat scaling based on Cooking skill level.
- Configurable multipliers for health, stamina, regeneration, eitr, and duration.
- Cooking skill XP multiplier.
v1.0.1
- Fixed: Food stats now persist correctly after logout/quit and returning to game.
v1.0.2
- Fixed: Eat message now displays boosted food stats
- Fixed: HUD health/stamina bars now display boosted stats correctly
- Improved: Changed to prefix/postfix approach for UpdateFood to ensure HUD shows boosted values
- Added: DisableStatDecay config option to prevent food stat decay over time
- Added: GetTotalFoodValue patch to implement stat decay prevention when enabled
- Fixed: Food stats now remain at full strength when DisableStatDecay is enabled
- Changed: Increased default ExperienceGainFactor from 1.0x to 50.0x for faster cooking skill progression
- Changed: Increased maximum ExperienceGainFactor range from 10x to 100x
