Added bush detection

master
Mohammad Shoaib 2022-01-28 11:47:50 +05:30
parent 085c6c8c9d
commit 7771175ef9
2 changed files with 7 additions and 1 deletions

2
.gitignore vendored
View File

@ -3,6 +3,8 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
.vscode/*
# User-specific files
*.rsuser
*.suo

View File

@ -68,6 +68,10 @@ namespace stardew_access.Game
if (terrain != null)
toSpeak = terrain;
}
else if ( Game1.currentLocation.getLargeTerrainFeatureAt(x, y) != null)
{
toSpeak = "Bush";
}
else if (getResourceClumpAtTile(x, y) != null)
{
toSpeak = getResourceClumpAtTile(x, y);