TroughFoodCompatibility

版本 v0.1.6·更新於 2026-10-03

CoreWoodExtras trough compatibility: accept registered animal foods, feed from mixed inventories, and optionally add crops to selected diets.

截圖 共 1 張

模組介紹 作者原文

TROUGH FOOD COMPATIBILITY

ONE TROUGH. DIFFERENT APPETITES.

Stock the feed. Let each animal choose its meal.

Trough Food Compatibility connects CoreWoodExtras feeding troughs with optional modded diets and foods added to creatures after they spawn. CoreWoodExtras 2.2.9, 2.3.0, 2.3.1 and 2.3.2 handle mixed food and registered prefab diets natively; this helper keeps its additional diet choices and collection controls. For the reviewed 2.2.7 and 2.2.8 versions, it also supplies the older mixed-food fix.

Compatibility / v0.1.6

Built against Valheim 1.0.16 with BepInExPack Valheim 5.4.2351. Requires CoreWoodExtras 2.2.7, 2.2.8, 2.2.9, 2.3.0, 2.3.1 or 2.3.2 and ConditionalConfigSync 1.0.9. Install matching helper versions on every client and the dedicated server. Exact reviewed CoreWoodExtras DLLs are checked. CoreWoodExtras 2.2.9, 2.3.0, 2.3.1 and 2.3.2 provide native mixed-food handling; this helper retains optional diets and collection controls.

SUPPORT ME ON KO-FI

If this makes your settlement a little easier to live in, buy me a coffee. Your support helps me spend more time on small improvements and compatibility fixes for modded games. A tip is optional and appreciated. Vercadi

FEED THE HERD / WHAT CHANGES

  • Discovers food from registered tameable creature prefabs and active creatures, including diets supplied by taming mods.
  • Adds those item prefab names to CoreWoodExtras' trough whitelist. Meat, neck tails and modded crops become eligible when an installed creature actually eats them.
  • Allows mixed-food troughs. Each animal still needs an item from its own diet; a boar does not start eating meat simply because meat is stored beside berries.
  • Preserves CoreWoodExtras' feeding range, hunger handling, per-item selection, network ownership checks and one-item consumption path.
  • Blocks the trough's automatic ground pickup by default, so the larger whitelist does not start collecting valuable dropped meals or materials.

The helper does not replace CoreWoodExtras, add a new trough, increase its capacity or alter taming times. The new raw-meat equivalents are enabled by default: animals eating vanilla boar meat also accept BoneAppetit Raw Pork (rk_pork); animals eating vanilla hare meat also accept Odin's raw hare meat (BOH_RawHare_Meat). Herbivores and cooked-meat-only diets do not gain meat. Missing items are ignored. Existing troughs can use the fix; a new world is not required.

STOCK THE TROUGH / INSTALLATION

  • Close Valheim and stop the dedicated server normally.
  • Install TroughFoodCompatibility and the dependency versions above in all player profiles and on the server.
  • Place a CoreWoodExtras feeding trough within the mod's configured feeding range. Stock food suitable for the nearby animals.

Manual installation: copy plugins/TroughFoodCompatibility from this ZIP into BepInEx/plugins after installing dependencies.

Replacing a manually installed copy? Remove that local entry with the game closed, then install the published package. Keep one TroughFoodCompatibility.dll and retain your config.

Removal: empty added foods from troughs first, close the game and server, and remove this helper everywhere. CoreWoodExtras' own behavior remains: 2.2.9 keeps native mixed feeding, while older versions return to their original restrictions. Food stored in the world is not deleted by this helper, but the original restriction can prevent putting it back.

YOUR SETTINGS

The first launch creates BepInEx/config/vercadi.TroughFoodCompatibility.cfg.

[General]

Enabled = true

Lock server settings = true

Allow trough auto collect = false

[Optional diets]

Creature prefabs = Deer,Boar,Sheep_TW

Extra food prefabs =

Raw meat equivalents = true

Extra food prefabs is empty by default. To opt selected creatures into extra crops, list installed item prefab names separated by commas. Creature prefabs selects the species receiving those additions. Existing diet entries remain. Missing items are ignored; names are case-sensitive. This optio

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheimshudnal-ConditionalConfigSyncMagicMike-CoreWoodExtras

檔案與校驗

檔案名稱
TroughFoodCompatibility-0.1.6.zip
檔案大小
25.7 KiB