Added beach bridge
parent
fb7791e7ba
commit
4dff690bbe
|
@ -39,7 +39,7 @@ namespace stardew_access.Features
|
||||||
bool isColliding = isCollidingAtTile(x, y);
|
bool isColliding = isCollidingAtTile(x, y);
|
||||||
Dictionary<Vector2, Netcode.NetRef<TerrainFeature>> terrainFeature = Game1.currentLocation.terrainFeatures.FieldDict;
|
Dictionary<Vector2, Netcode.NetRef<TerrainFeature>> terrainFeature = Game1.currentLocation.terrainFeatures.FieldDict;
|
||||||
string? door = getDoorAtTile(x, y);
|
string? door = getDoorAtTile(x, y);
|
||||||
(CATEGORY? category, string? name) tileInfo = getDynamicTilesInfo(x, y);
|
(CATEGORY? category, string? name) dynamicTile = getDynamicTilesInfo(x, y);
|
||||||
string? junimoBundle = getJunimoBundleAt(x, y);
|
string? junimoBundle = getJunimoBundleAt(x, y);
|
||||||
string? resourceClump = getResourceClumpAtTile(x, y);
|
string? resourceClump = getResourceClumpAtTile(x, y);
|
||||||
string? farmAnimal = getFarmAnimalAt(Game1.currentLocation, x, y);
|
string? farmAnimal = getFarmAnimalAt(Game1.currentLocation, x, y);
|
||||||
|
@ -65,6 +65,11 @@ namespace stardew_access.Features
|
||||||
toReturn = staticTile.name;
|
toReturn = staticTile.name;
|
||||||
category = staticTile.category;
|
category = staticTile.category;
|
||||||
}
|
}
|
||||||
|
else if (dynamicTile.name != null)
|
||||||
|
{
|
||||||
|
toReturn = dynamicTile.name;
|
||||||
|
category = dynamicTile.category;
|
||||||
|
}
|
||||||
else if (Game1.currentLocation is VolcanoDungeon && ((VolcanoDungeon)Game1.currentLocation).IsCooledLava(x, y))
|
else if (Game1.currentLocation is VolcanoDungeon && ((VolcanoDungeon)Game1.currentLocation).IsCooledLava(x, y))
|
||||||
{
|
{
|
||||||
toReturn = "Cooled lava";
|
toReturn = "Cooled lava";
|
||||||
|
@ -132,11 +137,6 @@ namespace stardew_access.Features
|
||||||
toReturn = parrot;
|
toReturn = parrot;
|
||||||
category = CATEGORY.Buildings;
|
category = CATEGORY.Buildings;
|
||||||
}
|
}
|
||||||
else if (tileInfo.name != null)
|
|
||||||
{
|
|
||||||
toReturn = tileInfo.name;
|
|
||||||
category = tileInfo.category;
|
|
||||||
}
|
|
||||||
else if (junimoBundle != null)
|
else if (junimoBundle != null)
|
||||||
{
|
{
|
||||||
toReturn = junimoBundle;
|
toReturn = junimoBundle;
|
||||||
|
@ -326,6 +326,16 @@ namespace stardew_access.Features
|
||||||
if (forest.travelingMerchantDay && x == 27 && y == 11)
|
if (forest.travelingMerchantDay && x == 27 && y == 11)
|
||||||
return (CATEGORY.Interactables, "Travelling Merchant");
|
return (CATEGORY.Interactables, "Travelling Merchant");
|
||||||
}
|
}
|
||||||
|
else if (Game1.currentLocation is Beach beach)
|
||||||
|
{
|
||||||
|
if (x == 58 && y == 13)
|
||||||
|
{
|
||||||
|
if (!beach.bridgeFixed.Value)
|
||||||
|
return (CATEGORY.Interactables, "Repair Bridge");
|
||||||
|
else
|
||||||
|
return (CATEGORY.Bridges, "Bridge");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return (null, null);
|
return (null, null);
|
||||||
}
|
}
|
||||||
|
@ -556,7 +566,7 @@ namespace stardew_access.Features
|
||||||
}
|
}
|
||||||
else if (obj is Furniture)
|
else if (obj is Furniture)
|
||||||
toReturn.category = CATEGORY.Furnitures;
|
toReturn.category = CATEGORY.Furnitures;
|
||||||
else if (obj.type == "Crafting" && obj.bigCraftable)
|
else if (obj.Type == "Crafting" && obj.bigCraftable.Value)
|
||||||
{
|
{
|
||||||
|
|
||||||
foreach (string machine in trackable_machines)
|
foreach (string machine in trackable_machines)
|
||||||
|
|
Loading…
Reference in New Issue