by DarkArtist » Mon Dec 30, 2013 2:42 pm
Spell affects output looks good since it can be parsed with the same algorithm as string_exits.
Since you've got string exits in, maybe ROOM_EAST, ..WEST, etc could be repurposed to return the room sector, exit flags, and room flags for the attached room? Sector would be good for knowing if you're about to walk off a cliff or underwater. Some handy room flags would be Dark and Indoors, I wouldn't expect any that couldn't be reasonably determined from an adjacent room, e.g. NoFlee. Some handy exit flags would be NoMount, Locked, NoMob. They could just be a colon separated list without categories that could be split into a simple table. Wouldn't need to specify if it was the sector or room flag or exit flag. Just test ROOM_X for MidAir or wutever and you'd be good to go. It seems this would be pretty handy for automated mapping features, once more people get into that.
Not a priority, just a thought.