Dynamic Rooms

version 3 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Deleting a room

    To dissolve (rm - a room):
        now printed name of rm is "room";
        now description of rm is "";
        repeat with dir running through directions:
            if the room dir from rm is a room:
                change ( opposite of dir ) exit of ( the room dir from rm ) to nothing;
                change dir exit of rm to nothing;
        add rm to the unformed room list, if absent.