TroughFoodCompatibility

v0.1.6·Updated 2026-10-03

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

Screenshots 1 screenshots

About this mod Author’s original text

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

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheimshudnal-ConditionalConfigSyncMagicMike-CoreWoodExtras

File & checksum

Filename
TroughFoodCompatibility-0.1.6.zip
File size
25.7 KiB