Added bush detection
parent
085c6c8c9d
commit
7771175ef9
|
@ -3,6 +3,8 @@
|
||||||
##
|
##
|
||||||
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
||||||
|
|
||||||
|
.vscode/*
|
||||||
|
|
||||||
# User-specific files
|
# User-specific files
|
||||||
*.rsuser
|
*.rsuser
|
||||||
*.suo
|
*.suo
|
||||||
|
|
|
@ -68,6 +68,10 @@ namespace stardew_access.Game
|
||||||
if (terrain != null)
|
if (terrain != null)
|
||||||
toSpeak = terrain;
|
toSpeak = terrain;
|
||||||
}
|
}
|
||||||
|
else if ( Game1.currentLocation.getLargeTerrainFeatureAt(x, y) != null)
|
||||||
|
{
|
||||||
|
toSpeak = "Bush";
|
||||||
|
}
|
||||||
else if (getResourceClumpAtTile(x, y) != null)
|
else if (getResourceClumpAtTile(x, y) != null)
|
||||||
{
|
{
|
||||||
toSpeak = getResourceClumpAtTile(x, y);
|
toSpeak = getResourceClumpAtTile(x, y);
|
||||||
|
@ -366,7 +370,7 @@ namespace stardew_access.Game
|
||||||
{
|
{
|
||||||
toReturn = "Leaf";
|
toReturn = "Leaf";
|
||||||
}
|
}
|
||||||
|
|
||||||
return toReturn;
|
return toReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue