more readability
This commit is contained in:
@@ -678,7 +678,7 @@ namespace stardew_access.Features
|
|||||||
if (correctNameAndCategory.name != null)
|
if (correctNameAndCategory.name != null)
|
||||||
toReturn = correctNameAndCategory;
|
toReturn = correctNameAndCategory;
|
||||||
|
|
||||||
if (toReturn.name.ToLower().Equals("stone"))
|
if (toReturn.name.ToLower().Equals("stone")) // Fix for `Busy stone`
|
||||||
toReturn.category = CATEGORY.Debris;
|
toReturn.category = CATEGORY.Debris;
|
||||||
|
|
||||||
if (obj is Chest)
|
if (obj is Chest)
|
||||||
@@ -690,7 +690,7 @@ namespace stardew_access.Features
|
|||||||
if (obj is Furniture)
|
if (obj is Furniture)
|
||||||
toReturn.category = CATEGORY.Furnitures;
|
toReturn.category = CATEGORY.Furnitures;
|
||||||
|
|
||||||
if (toReturn.category == CATEGORY.Others)
|
if (toReturn.category == CATEGORY.Others) // Fix for `Harvestable table` and `Busy nodes`
|
||||||
{
|
{
|
||||||
MachineState machineState = GetMachineState(obj);
|
MachineState machineState = GetMachineState(obj);
|
||||||
if (machineState == MachineState.Ready)
|
if (machineState == MachineState.Ready)
|
||||||
|
@@ -54,7 +54,7 @@ namespace stardew_access.Patches
|
|||||||
LibraryMuseum libraryMuseum = (LibraryMuseum)Game1.currentLocation;
|
LibraryMuseum libraryMuseum = (LibraryMuseum)Game1.currentLocation;
|
||||||
|
|
||||||
if (libraryMuseum.isTileSuitableForMuseumPiece(tileX, tileY))
|
if (libraryMuseum.isTileSuitableForMuseumPiece(tileX, tileY))
|
||||||
toSpeak = $"{tileX}x {tileY}y";
|
toSpeak = $"slot {tileX}x {tileY}y";
|
||||||
|
|
||||||
if (museumQueryKey != toSpeak)
|
if (museumQueryKey != toSpeak)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user