/stardew-better-ranching

Stardew Valley mod that adds an icon above animals when they are ready to be milked/sheared or petted and prevents failing milking/shearing attempts

Primary LanguageC#

Stardew Valley Mod - Better Ranching

Stardew Valley mod that prevents failing milking/shearing attempts and adds an indicator when animals can be petted, milked, or sheared: https://www.nexusmods.com/stardewvalley/mods/859/

Compatible with Stardew Valley 1.6+ on Linux, Mac, and Windows. Requires SMAPI 4.0.0 or later.

Update 2.0.5 (2024/05/02): Fixed a bug preventing items from being picked up while holding tool. Fixed a bug that was causing the wrong icon to show for custom items. Thank you to kitsutsune and their awesome Chocobo Valley mod for bringing this to my attention! Also fixed a bug causing the "Hide Hearts w/ Max Friendship" setting to be ignored for pets.

Preview image

How to Install:

Install the latest version of SMAPI. Unzip the mod folder into Stardew Valley/Mods. Run the game using SMAPI.

Versions:

  • 1.0:
    • Initial version
    • Added speech bubbles to indicate which animals can be milked
  • 1.1:
    • Added override for milk pail left-click to prevent failed attempt animation and sound effect
    • Added "Milking Failed" warning message
    • Fixed bug causing speech bubbles to cover up heart animation
  • 1.2:
    • Added support for sheep shearing
    • Added Gamepad support
    • Fixed bug causing thought bubbles to arbitrarily disappear
  • 1.3:
    • Fixed a bug that made it hard to click on the toolbar when the milk pail or shears were selected
  • 1.4:
    • Added indicator for when animals can be petted
  • 1.5:
    • Added indicator when pigs can be petted
    • Fixed bug causing error when milking in the FarmHouse
  • 1.6:
    • Added config json file
    • Fixed bug causing player to fail valid milk attempts
  • 1.7:
    • vaindil updated to work for the latest version of 1.3 and SMAPI 2.6-beta.15
  • 1.7.1:
    • Updates the code for SMAPI 2.8 and Stardew Valley 1.3.31.
    • Adds update keys to the manifest.json and standardises the version format.
  • 1.7.2:
    • Updated the code for SMAPI 3.0
  • 1.7.3:
    • minervamaga made a fix for an error that was spamming the console
  • 1.7.4:
    • Fixed a bug causing dogs/cats to keep their heart indicators even if the setting was turned off in the config
  • 1.7.5:
    • Improve error handling
  • 1.7.6:
    • floatingatoll fixed a bug causing bubbles to not be hidden during cutscenes
  • 1.8.0:
    • Made compatible with SDV 1.5
    • Fixed UI / Zoom scaling issues
  • 1.8.1:
    • Added API for better compatibility with other mods
    • Fixed bubbles showing up during cutscenes
    • Cleaned up / refactored code
  • 1.9.0:
    • Add support for Generic Mod Config Menu
    • Clarify "Milking/Shearing Failed" messages
    • Improve reliability of harvest detection
    • Add config options to individually control hearts for farm animals and pets
    • Add config option to hide hearts for max level animal friends
    • Update to SMAPI 3.13.1 and .NET5
  • 1.9.1:
    • Clean-up code styling
    • Added i18n support
    • Added Ukranian translation for config menus and prompts
  • 2.0.0:
    • Migrated to SDV 1.6 and SMAPI 4.0
    • Fixed out of range bug when facing away from animals
    • Added Chinese, French, and German translations
  • 2.0.1:
    • Fixed issue causing hearts to not display
  • 2.0.2:
    • Added compatibility fix for animals spawned from other mods
  • 2.0.3:
    • Fixed bug causing animal hearts to display over building they are in.
  • 2.0.4:
    • Added support for custom harvest items to display above animals!
    • Fixed bug causing "Hide Hearts w/ Max Friendship" setting to be ignored for pets
  • 2.0.5:
    • Fixed bug causing items to not be able to be picked up while holding tool

Other Contributors