Gizmorphium-AutoFeedWithContainerFilter icon

AutoFeedWithContainerFilter

Aedenthorn's Auto Feed mod, but with an option to restrict the container type(s) used, and to allow feeding from containers only when breeding might occur.

Last updated 2 years ago
Total downloads 3636
Total rating 3 
Categories
Dependency string Gizmorphium-AutoFeedWithContainerFilter-0.1.0
Dependants 15 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1900 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1900

README

About

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
  • 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
  • How close animals have to get to a container to eat if they are required to move
  • A toggle key
  • Types of containers to allow as feeders. Great for use with the Balrond Trough or when a modded container has a name that is incompatible with Aedenthorn's original mod.
  • Whether to log container names to the BepInEx LogOutput.log. This is useful for finding container names to allow but should normally be false as it will spam the log.
  • Whether animals should only eat if conditions are right for breeding. NOTE: This doesn't guarantee they will breed once they eat. Before an animal chooses a container to eat from, it checks for at least one potential partner and whether the limit on that type of animal hasn't been reached in the nearby vicinity (around the animal or the container). As animals move around, the game's breeding checks might later see too many animals in one area. This setting will, however, greatly reduce the use of feed containers when the animals can't breed.

Config

A config file BepInEx/config/gizmorphium.AutoFeedWithContainerFilter.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 autofeedwithcontainerfilter 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.

Aedenthorn's code is at https://github.com/aedenthorn/ValheimMods.