Pathoschild / StardewMods

Mods for Stardew Valley using SMAPI.
MIT License
712 stars 380 forks source link

[DataLayers] Add check for "Passable" in Tile.Properties #1059

Open Mushymato opened 2 weeks ago

Mushymato commented 2 weeks ago

GameLocation.isTilePassable does not check tile.Properties for "Passable", only tile.TileIndexProperties, this causes the Accessible data layer to not match the actual collision experienced by player. Possibly a vanilla bug?

Add a check for those in DataLayers.

Sample repro mod, has large amounts of TileData with Passable F on Back layer. [CP] Krikos Greenhouse.zip