vilmibm / tildemush

a modern mush tailored to tilde town
GNU General Public License v3.0
42 stars 12 forks source link

exit info should be encapsulated within exits, not rooms+exits #126

Closed vilmibm closed 6 years ago

vilmibm commented 6 years ago

currently, rooms store an exit map. this makes looking up exits by direction easy, but means that if an exit moves things get fubar'd.

when we are looking for what exit a direction will send you through in a room, we should be looking at the items in the room for a matching exit, querying their key value data.