About this mod
Cows, goats, and sheep will wait in front of the food trough to be milked or sheared, or until a specified hour has passed.
- Requirements
- Permissions and credits
-
Translations
- Turkish
- Mandarin
- Changelogs
Permissions Disclaimer:
Aedenthorn has retired from SDV modding and has removed all restrictions on permissions concerning their mods.
This announcement can be found here in the Stardew Valley Modding Discord server.
Aedenthorn's Stardew Valley Mod repo uses the GPL-3 license which allows derivative works to be allowed without
requiring permission, given that they remain free, open source, and also use the same GPL-3 license.
Description
This mod helps with harvesting resources from farm animals, by having animals that are ready for harvest line up in front of the food trough until they are tended to.
By default they will wait until noon each day before going about their day as normal. You can have them wait all day by setting MaxWaitHour to -1 in the config.
Enhancements
Animal Cycling
To accommodate mods that enlarge the maximum capacity of Barns I have added animal cycling. The maximum number of holding spots will be filled with animals with product. Once you have retrieved the animal's product and it moves away another animal will be "warped" to the free holding spot. The maximum number of holding spots is determined by the number of feeding troughs in the Barn. To help keep the tending area clean there is a configurable option to warp the animal outside once they have been tended to.
Animal Requirement Removing
I was testing a custom Barn and the game would not let me add Cows to it. After digging into I found you must have a vanilla Barn to buy a Cow, this messed up my testing. To remove this hurdle I added an option to allow custom Barns to enable the purchase of Cows. This is a bit out of scope for the original, so it can be disabled.
Exact Animal Houses
For some other testing I wanted a Barn that would only accept a single Animal. There is no modding option to do this so I added it as an option. Again, it can be disabled.
Custom Holding Spots
Custom Barn makers can specify custom holding spots in their Barn. Instead of being in a straight line holding spots can be a specific locations within the Barn.
For Barn modders interested in using these features read the details here.
Compatibility
This mod should work with any custom Barn and any animal capacity modifiers. As a test mod I have been using Jen's Mega Barn and Coop, it work well together. I added multiplayer compatibility, all players require the mod for it to work correctly. I have done some light testing on LAN multiplayer mode and things work correctly.
Configuration
All mod options can be set via Generic Mod Configuration Menu or edit the mod's config.json file in the mod directory.
Mod Enabled - enables the basic functionality of the mod, holding animals in place. (Default:enabled)
Max Wait Hour - until what time of day will the animals wait for tending (Default: 1200)
First Slot Tile - for backward compatibility (Default: 8,4)
Outdoor Animal Warp Enabled - warps the animal out of the Barn after tending (Default: disabled)
Indoor Animal Warp Enabled - warps the animal to random spot in the Barn after tending (Default: disabled)
Animal Fix Enabled - allows the purchasing of Cows and Chickens without vanilla Barn or Coop. You still need a Barn or a Coop they just don't have to be the vanilla ones (Default: disabled)
Exact Animal Mode - enables a Barn or a Coop to specify a single occupant type (Default: disabled)
Source Code: GitHub