Dynamic Rooms

version 3 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Creating a room

    To decide which object is a newly created room with name (new name - some text):
        if out of dynamic rooms, decide on location;
        let selected be entry 1 in the unformed room list;
        now the printed name of selected is new name;
        remove selected from unformed room list;
        decide on selected.

    To decide which object is a newly created room (dir - a direction) of/from (place - a room) with name (new name - some text):
        let excavation be a newly created room with name new name;
        change dir exit of place to excavation;
        change ( opposite of dir ) exit of excavation to place;
        decide on excavation.