From c3882e7ea9493555504b3081917f683690770276 Mon Sep 17 00:00:00 2001 From: Mohammad Shoaib Date: Fri, 15 Apr 2022 15:28:19 +0530 Subject: [PATCH] Added lava and cooled lava to read tile --- stardew-access/Features/TileInfo.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/stardew-access/Features/TileInfo.cs b/stardew-access/Features/TileInfo.cs index 655a535..0f29516 100644 --- a/stardew-access/Features/TileInfo.cs +++ b/stardew-access/Features/TileInfo.cs @@ -62,6 +62,16 @@ namespace stardew_access.Features toReturn = farmAnimal; category = CATEGORY.FarmAnimals; } + else if (Game1.currentLocation is VolcanoDungeon && ((VolcanoDungeon)Game1.currentLocation).IsCooledLava(x, y)) + { + toReturn = "Cooled lava"; + category = CATEGORY.WaterTiles; + } + else if (Game1.currentLocation is VolcanoDungeon && StardewValley.Monsters.LavaLurk.IsLavaTile((VolcanoDungeon)Game1.currentLocation, x, y)) + { + toReturn = "Lava"; + category = CATEGORY.WaterTiles; + } else if (Game1.currentLocation.isWaterTile(x, y) && isColliding) { toReturn = "Water";