diff --git a/stardew-access/ModEntry.cs b/stardew-access/ModEntry.cs index 155c7f1..6e04ff0 100644 --- a/stardew-access/ModEntry.cs +++ b/stardew-access/ModEntry.cs @@ -264,7 +264,12 @@ namespace stardew_access string toSpeak = " "; #region Get objects, crops, resource clumps, etc. - if (!Game1.currentLocation.isTilePassable(Game1.player.nextPosition(Game1.player.getDirection()), Game1.viewport)) + if (Game1.currentLocation.isCharacterAtTile(gt) != null) + { + NPC npc = Game1.currentLocation.isCharacterAtTile(gt); + toSpeak = npc.displayName; + } + else if (!Game1.currentLocation.isTilePassable(Game1.player.nextPosition(Game1.player.getDirection()), Game1.viewport)) { toSpeak = "Colliding"; } diff --git a/stardew-access/manifest.json b/stardew-access/manifest.json index 1b81051..ee990f1 100644 --- a/stardew-access/manifest.json +++ b/stardew-access/manifest.json @@ -1,7 +1,7 @@ { "Name": "Stardew Access", "Author": "Mohammad Shoaib", - "Version": "1.0.7-beta", + "Version": "1.0.8-beta", "Description": "An accessibility mod with screen reader support!", "UniqueID": "shoaib.stardewaccess", "EntryDll": "stardew-access.dll",