My current system isn't one I'm too happy with. Basically, each turf has four variables, room1, room2, room3 and room4, which it uses to refer to the subtiles contained within itself. At turf/New(), each of those variables becomes a new subtile, which then gets its pixel_x/y modified so that it fits into the turf properly. Each subtile is then given a proper tag based on it's location inside the turf. Something like this:
tag = "[(turf.x*2)+1],[(turf.y*2)]"
...which basically allows it to work like a normal grid coordinates using tags. Each subtile is also given new X and Y coordinates, so they can find the subtile north of them using their coordinates, with +1 to the Y. Basically
locate("[X],[Y+1]")
would return north from that subtile.All in all though, it tends to be rather ugly. I'm wondering if anyone else has thought up some colorful ways to organize subtiles. Or if you just want to share the way you organize them, they'd be good too.
The extent I've worked with subtiles has convinced me that I started the whole thing out half-baked and really could have done better.
Lummox JR