From eb68e61bf7ad2407ea3a5734b7ef35deb9d19e38 Mon Sep 17 00:00:00 2001 From: TrueBlindGaming Date: Sat, 19 Mar 2022 12:25:07 -0600 Subject: [PATCH 1/2] fix for busy stones..mostly --- stardew-access/Features/ReadTile.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/stardew-access/Features/ReadTile.cs b/stardew-access/Features/ReadTile.cs index 742a70e..03eaef0 100644 --- a/stardew-access/Features/ReadTile.cs +++ b/stardew-access/Features/ReadTile.cs @@ -687,12 +687,13 @@ namespace stardew_access.Features if (obj is Furniture) toReturn.category = CATEGORY.Furnitures; - MachineState machineState = GetMachineState(obj); - if (machineState == MachineState.Ready) - toReturn.name = $"Harvestable {toReturn.name}"; - else if (machineState == MachineState.Busy) - toReturn.name = $"Busy {toReturn.name}"; - + if(toReturn.category == CATEGORY.Others) { + MachineState machineState = GetMachineState(obj); + if (machineState == MachineState.Ready) + toReturn.name = $"Harvestable {toReturn.name}"; + else if (machineState == MachineState.Busy) + toReturn.name = $"Busy {toReturn.name}"; + } return toReturn; } From b7e01c1dc16fa39412a76cd03f590d5e0c66a2fb Mon Sep 17 00:00:00 2001 From: TrueBlindGaming Date: Sat, 19 Mar 2022 16:59:42 -0600 Subject: [PATCH 2/2] fix for missing bundle --- stardew-access/Features/ReadTile.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stardew-access/Features/ReadTile.cs b/stardew-access/Features/ReadTile.cs index 03eaef0..8f95cf2 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 not AbandonedJojaMart) + else if (Game1.currentLocation is AbandonedJojaMart) { name = (x, y) switch { @@ -687,7 +687,7 @@ 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}"; @@ -838,7 +838,7 @@ namespace stardew_access.Features return (null, CATEGORY.Others); } - #endregion + #endregion public static bool isMineDownLadderAtTile(int x, int y) {