Added lava and cooled lava to read tile
This commit is contained in:
@@ -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";
|
||||||
|
Reference in New Issue
Block a user