Valheim
0 of 0

File information

Last updated

Original upload

Created by

Huntardy

Uploaded by

huntardy

Virus scan

Safe to use

Tags for this mod

About this mod

Restore food stats to their pre-Hearth & Home values, and adjust new Hearth & Home foods to maintain a balanced gameplay experience. Customize the stats of all food items to your preference. This mod ensures seamless integration of future food additions without requiring frequent updates.

Requirements
Permissions and credits
Changelogs
Mod to Revert Hearth and Home Food Changes and Balance


Information:

  • Reversion of Food Stats to Pre-Hearth & Home Update:
All food stats that were modified by the Hearth & Home update have been reverted back to their original values.


  • Rebalanced Hearth & Home Foods:
To address the issue of new Hearth & Home foods being impractical, they have been rebalanced to offer similar utility as existing foods, allowing for a diverse food selection.


  • Toggle the New Fork Icon:
You now have the option to disable the fork icons introduced in the Hearth & Home update for food items through the configuration settings.


  • Customize Your Own Stats:
If the default values don't suit your preferences, customize the stats of each food item using the provided configuration files. Simply modify the .json files located in your BepInEx/config folder.


  • Automated Food Configuration:
Implemented a robust code section that automatically scans the game for all consumable items & adding them to the configuration, including those added by other mods. This ensures that any new food items introduced in future updates will be seamlessly integrated into the configuration files.


  • Dynamic Food Configuration Management:
Unused food items, whether removed from the game or from uninstalled mods, are automatically removed from the primary JSON configuration file "Huntard.OldFoodStats.json". To retain specific food items permanently, utilize the "Huntard.OldFoodStatsCustom.json" file, where items will remain unaffected by removal operations.


  • Enhanced Code Quality and Performance:
Significant improvements have been made to the codebase, resulting in enhanced performance and reliability.


Utilize the Configuration Manager mod to toggle the fork icon on food items. A "Save" button is available to apply changes to the .json files while in-game.

Json configurations are stored in the "Huntard.OldFoodStats.json" file in your BepInEx/config folder, offering granular control over food item stats.


Example Config for SerpentStew:
{
"FoodPrefabName" : "SerpentStew",
"Health": 80,
"Stamina" : 80,
"Duration" : 2400,
"HealthRegen" : 4,
"FoodEitr" : 0
}


Customize food stats further using the "Huntard.OldFoodStatsCustom.json" file, providing flexibility to tailor food items to your liking, for example it could be used for some modded food that won't work in the first configuration file.

Example Config for rk_bacon:
{
"FoodPrefabName" : "rk_bacon",
"Health": 50,
"Stamina" : 50,
"Duration" : 2400,
"HealthRegen" : 4,
"FoodEitr" : 0
}


Credits:
Special thanks to mlimg for granting permission to utilize code from Valheim No Food Timer Text (H n H) to remove fork icons from food items.

Installation:
  • Ensure all required mods are installed.
  • Move the .dll file into your \Valheim\BepInEx\plugins folder.


Support:

If you like what I do and want to support me.



Github:
Feel free to report bugs or contribute via GitHub.

Default values of this mod:


Edited using the mods config: