HearthandHomeOldFoodStats

版本 v3.0.0·更新於 2024-02-04

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

截圖 共 4 張

模組介紹 作者原文

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

}

  • Json configuration available in a new json file called "Huntard.OldFoodStatsCustom.json" in your "BepInEx/config" folder, which can be used to customize other mods foods values

Example Config for rk_bacon.

{

"FoodPrefabName": "rk_bacon",

"Health": 50,

"Stamina": 50,

"Duration": 2400,

"HealthRegen": 4,

"FoodEitr": 0

}

Change Log:

Check for all the changelogs for this mod:

Credits:

  • Big thanks to mlimg and his mod Valheim No Food Timer Text (H n H) for giving me permission to use his code to remove the fork icon from food.

Installation:

  • Make sure you have installed all other requirement mods.
  • Drag the.dll into your \Valheim\BepInEx\plugins folder.

Support:

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

Github:

Feel free to submit bug reports or pull requests here.

Media:

  • Every piece of food changed and configurable.
  • Edited using the mods config.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

ValheimModding-Jotunndenikson-BepInExPack_ValheimAzumatt-Official_BepInEx_ConfigurationManager

檔案與校驗

檔案名稱
HearthandHomeOldFoodStats-3.0.0.zip
檔案大小
98.7 KiB