From 2a003fc6baefd38ed37541049f86c0eb9b0f79c9 Mon Sep 17 00:00:00 2001 From: Mohammad Shoaib Date: Sun, 20 Mar 2022 12:26:01 +0530 Subject: [PATCH] Fixed busy stone --- stardew-access/Features/ReadTile.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stardew-access/Features/ReadTile.cs b/stardew-access/Features/ReadTile.cs index 8f95cf2..8d91051 100644 --- a/stardew-access/Features/ReadTile.cs +++ b/stardew-access/Features/ReadTile.cs @@ -342,7 +342,7 @@ namespace stardew_access.Features if (name != null && communityCenter.shouldNoteAppearInArea(CommunityCenter.getAreaNumberFromName(name))) return $"{name} bundle"; } - else if (Game1.currentLocation is AbandonedJojaMart) + else if (Game1.currentLocation is AbandonedJojaMart) { name = (x, y) switch { @@ -678,6 +678,9 @@ namespace stardew_access.Features if (correctNameAndCategory.name != null) toReturn = correctNameAndCategory; + if (toReturn.name.ToLower().Equals("stone")) + toReturn.category = CATEGORY.Debris; + if (obj is Chest) { Chest chest = (Chest)obj; @@ -687,7 +690,8 @@ namespace stardew_access.Features if (obj is Furniture) toReturn.category = CATEGORY.Furnitures; - if(toReturn.category == CATEGORY.Others) { + if (toReturn.category == CATEGORY.Others) + { MachineState machineState = GetMachineState(obj); if (machineState == MachineState.Ready) toReturn.name = $"Harvestable {toReturn.name}";