This is a great script, but it's not very practical... Like others have said, it counts bush tiles as impassable on the map.
Also, I think a great addition would be to be able to assign specific terrain IDs as impassable. That way I could have fences show as barriers on the minimap, but still be able to walk on the tiles, just not beyond them.
Also, I think a great addition would be to be able to assign specific terrain IDs as impassable. That way I could have fences show as barriers on the minimap, but still be able to walk on the tiles, just not beyond them.