Added diggable golden walnut locations to ginger Island tileInfo.

master
bradjrenshaw 2022-05-08 19:22:28 -04:00
parent f9fbbc4181
commit 43c3dbb0d8
1 changed files with 16 additions and 9 deletions

View File

@ -430,17 +430,24 @@ namespace stardew_access.Features
else if (x == 8 && y == 9)
return (((!Game1.MasterPlayer.hasOrWillReceiveMail("willyBoatAnchor")) ? CATEGORY.Interactables : CATEGORY.Decor), ((!Game1.MasterPlayer.hasOrWillReceiveMail("willyBoatAnchor")) ? "Repair " : "") + "Boat Anchor");
}
else if (Game1.currentLocation is IslandWest islandWest)
else if (Game1.currentLocation is IslandLocation islandLocation)
{
if (islandWest.shippingBinPosition.X == x && islandWest.shippingBinPosition.Y == y)
return (CATEGORY.Interactables, "Shipping Bin");
var nutTracker = Game1.player.team.collectedNutTracker;
if (islandLocation.IsBuriedNutLocation(new Point(x, y)) && !nutTracker.ContainsKey("Buried_" + islandLocation.Name + "_" + x + "_" + y))
{
return (CATEGORY.Interactables, "Diggable spot");
}
else if (Game1.currentLocation is IslandWest islandWest)
{
if (islandWest.shippingBinPosition.X == x && islandWest.shippingBinPosition.Y == y)
return (CATEGORY.Interactables, "Shipping Bin");
}
else if (Game1.currentLocation is IslandNorth islandNorth)
{
if (islandNorth.traderActivated.Value && x == 36 && y == 71)
return (CATEGORY.Interactables, "Island Trader");
}
}
else if (Game1.currentLocation is IslandNorth islandNorth)
{
if (islandNorth.traderActivated.Value && x == 36 && y == 71)
return (CATEGORY.Interactables, "Island Trader");
}
return (null, null);
}