That's one way you could do it, or you could make a bound_height and bound_width variable for /turf. You'd need to mess around with Entered() and Exited() to set the bounding boxes up for turfs, checking if you were in the bounding box and if it was dense.

Of course if you're just doing this for a building, you could turn it into an /obj and use the native bounding boxes. It's a lot simpler unless there's a specific reason you're using /turf.
I'll take your way making the building a object.
Dangit! can you guys help me? i'm trying to make a random generated dungeon but i don't know where to start how to make it generate randomly? I'm trying to make a game like pixel dungeon.
Page: 1 2