It says colliding if the player is colliding
parent
8fd846a5bc
commit
83b53fe9a9
|
@ -239,12 +239,17 @@ namespace stardew_access
|
||||||
x -= offset;
|
x -= offset;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
x /= Game1.tileSize;
|
x /= Game1.tileSize;
|
||||||
y /= Game1.tileSize;
|
y /= Game1.tileSize;
|
||||||
Vector2 gt = new Vector2(x, y);
|
Vector2 gt = new Vector2(x, y);
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
if (!Game1.currentLocation.isTilePassable(Game1.player.nextPosition(Game1.player.getDirection()), Game1.viewport))
|
||||||
|
{
|
||||||
|
ScreenReader.sayWithTileQuery("Colliding", x, y, true);
|
||||||
|
}
|
||||||
|
|
||||||
if (Context.IsPlayerFree)
|
if (Context.IsPlayerFree)
|
||||||
{
|
{
|
||||||
Dictionary<Vector2, Netcode.NetRef<TerrainFeature>> terrainFeature = Game1.currentLocation.terrainFeatures.FieldDict;
|
Dictionary<Vector2, Netcode.NetRef<TerrainFeature>> terrainFeature = Game1.currentLocation.terrainFeatures.FieldDict;
|
||||||
|
|
Loading…
Reference in New Issue