All credit to the original authors.
I'm new to Valheim-modding, so I'm more or less flying blind here. Tested to be working in my own game but I can't guarantee anything.
It may be necessary to delete your old config and rebuild the containers in your pens to make this mod work again.
With this mod installed, you can place a container near an animal pen to let your animals eat from the container.
In the config you can set:
- Container range
(new: additionally the tame needs to be able to find a path to it too, so container needs to be inside the pen) - Feed disallowed types
- Animal disallowed types
- Whether animals have to move to the container to eat
- Whether containers must contain only things they will eat (not sure if this still works)
- How close animals have to get to a container to eat if they are required to move
- A toggle key (not sure if this still works)
- Whether to show debug messages in the console
- new: filter containers to be used by defining the start of their prefab's name
Wattle Fencing mod was used in the screenshots.
Config
A config file BepInEx/config/aedenthorn.AutoFeed.cfg is created after running the game once with this mod).
You can adjust the config values by editing this file using a text editor or in-game using the Config Manager.
To reload the config from the config file, type autofeed reset into the game's console (F5).
Technical
To install this mod, the easiest way is to just use Vortex, the Nexus Mods mod manager. It should take care of all dependencies.
To install manually, place the dll file in the BepInEx/plugins folder. You will need BepInEx.
Original Code is at https://github.com/aedenthorn/ValheimMods.
Fork is at https://github.com/mrei-kiel/ValheimMods