(ADLAN FRAMEWORK FILE) OPTIONS 2; 0; ; <^L>; ENDOPTIONS MESSAGES $1 ; $2 ; $3 ; ENDMESSAGES WORDS north/n; south/s; east/e; west/w; up/u; down/d; take/get/grab/sieze; pick; (pick up) drop/leave; put; (put down) inventory/i/carry; look/l; examine; at; (look at) quit/stop; ENDWORDS OBJECTS object,,,,; ENDOBJECTS PLACES [s] s,s2---,object,,{},{}; s2,x1 s --,,,{},{}; x1,s s2 --,,,{},{}; carry,----,,<>,{},{}; ENDPLACES BEFORE { cr if both describing and count here { print <\You can also see:\> list here cr } print <^P^X*^X > } AFTER { if typed quit { print if yesno { quit } done } if typed [take/pick up] { if find item 1 at carry { print done } if not find item 1 at here { print $2 done } move item 1 from here to carry print $1 done } if typed [drop/put down] { if not find item 1 at carry { print $3 done } move item 1 from carry to here print $1 done } if typed inventory { if count carry { print list carry done } print done } if typed [examine/look at] { if not find item 1 at here/carry { print done } examine item 1 done } if typed look { describe done } print }