ChroniclerCherry / stardew-valley-mods

A collection of my mods for the game Stardew Valley
GNU General Public License v3.0
44 stars 39 forks source link

Check if the crop was actually harvested before spawning additional items #72

Closed atravita-mods closed 9 months ago

atravita-mods commented 2 years ago

Previously, prefix would only check if the crop was harvestable. If the crop was harvestable but the player couldn't actually harvest the crop (because their inventory was full), the postfix would spawn MultiYieldCrops' crops even though the main crop wasn't harvested. You could just stand there with a full inventory over a grown MultiYieldCrop crop, hold right click, and get a bunch of stuff.

This adds a check into the postfix to make sure that the crop was actually harvested.

(It also updates MultiYieldCrops to NET 5.0/SMAPI 3.14.0/Harmony2)

Pathoschild commented 9 months ago

Merged into develop for the upcoming Multi Yield Crops 1.0.3. Thanks for the help!