Added lava and cooled lava to read tile

master
Mohammad Shoaib 2022-04-15 15:28:19 +05:30
parent a0b6159df8
commit c3882e7ea9
1 changed files with 10 additions and 0 deletions

View File

@ -62,6 +62,16 @@ namespace stardew_access.Features
toReturn = farmAnimal; toReturn = farmAnimal;
category = CATEGORY.FarmAnimals; 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) else if (Game1.currentLocation.isWaterTile(x, y) && isColliding)
{ {
toReturn = "Water"; toReturn = "Water";