From 73114977105d61d3bcbaa4ca56a4132e49730190 Mon Sep 17 00:00:00 2001 From: Wu Zhuoran Date: Thu, 4 Apr 2024 22:20:13 -0700 Subject: [PATCH] Fix: Resolve Truffle to Weed Bug and Picking up Plush Bunny Issue (#13) --- AnimalSitter/AnimalSitter.cs | 3 +-- AnimalSitter/manifest.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/AnimalSitter/AnimalSitter.cs b/AnimalSitter/AnimalSitter.cs index 3cc3f51..d4022ed 100644 --- a/AnimalSitter/AnimalSitter.cs +++ b/AnimalSitter/AnimalSitter.cs @@ -217,7 +217,6 @@ private void IterateOverAnimals() Object toAdd = new Object(animal.currentProduce.Value, 1, false, -1, animal.produceQuality.Value); this.AddItemToInventory(toAdd, farmer); - animal.currentProduce.Value = "0"; stats.TrufflesHarvested++; } } @@ -344,7 +343,7 @@ private void HarvestCoops(AnimalTasks stats) this.Monitor.Log($"Found coop object: {obj.Name} / {obj.Category}/{obj.isAnimalProduct()}", LogLevel.Trace); - if (obj.isAnimalProduct() || obj.ParentSheetIndex == 107) + if (obj.isAnimalProduct() || obj.ParentSheetIndex == 107 && obj.Name != "Plush Bunny") { if (this.AddItemToInventory(obj, farmer)) { diff --git a/AnimalSitter/manifest.json b/AnimalSitter/manifest.json index e9b52f8..0186858 100644 --- a/AnimalSitter/manifest.json +++ b/AnimalSitter/manifest.json @@ -1,7 +1,7 @@ { "Name": "Animal Sitter LTS", "Author": "oliver", - "Version": "2.0.4", + "Version": "2.0.5", "Description": "Long Term Support Mod Version for Animal Sitter Mod. Let someone else pet all those pesky animals!", "UniqueID": "oliver.AnimalSitterLTS", "EntryDll": "AnimalSitter.dll",