home *** CD-ROM | disk | FTP | other *** search
/ Fatal Distractions! / fataldistractions.bin / appndxa / masters / advland.agt < prev    next >
Text File  |  1992-06-25  |  77KB  |  3,255 lines

  1. #COMMENT
  2.  
  3.      Adventureland
  4.  
  5.      Original game by Scott Adams
  6.  
  7.      Transcribed from a BASIC listing in the book "BASIC ADVENTURES"
  8.  
  9.      Adapted for the Adventure Game Toolkit by David Malmberg.
  10.  
  11. Note from Dave Malmberg:  This was the first adventure game I ever played
  12. and it really got me hooked.  I spent hours studying the BASIC code on my
  13. old Commodore PET computer with 16K of memory.  AdventureLand opened up
  14. entire new vistas for me and studying its code eventually lead to writing
  15. the Adventure Game Toolkit.  While doing this conversion, I revisited the
  16. game and found it every bit as wonderful now as it was when I first played
  17. it so many years ago.  This game is timeless -- a real classic!!
  18.  
  19. Walkthru for ADVENTURELAND
  20.  
  21. You begin standing in a forest.
  22.  
  23. Go East, past the sleeping dragon. East again to the lake. Get the axe, 
  24. then North into the quicksand bog.  Pick up the blue ox, then say the magic 
  25. word on the axe. Poof! Everything is gone. Don't worry. It's all safe.
  26.  
  27. "Swim" back to the lake. Go South to the bottomless hole. "Go Ledge," and
  28. pick up the flint and steel.  Go up (Down is a BAD, BAD idea!).  West into 
  29. the swamp, and West again to the hidden grove.  How about that! The axe and 
  30. the ox, along with another treasure. Get everthing, and go back East. Climb 
  31. the tree, get the keys, and climb down again. Now, "Chop Tree."  Drop the 
  32. axe, get the mud, then, "Enter Stump."  Once inside the stump, drop the mud,
  33. ox and fruit. Go down to the root chamber, pick up the rubies, then go up 
  34. and drop them off. 
  35.  
  36. Get the lamp and rub it twice. Each time, a genie appears and leaves a 
  37. treasure.  If you rub it more than two times, the genie will come and TAKE 
  38. AWAY a treasure! Go down into the root chamber, and down again.  Unlock the
  39. door and drop the keys. Light the lamp. "Go to open doorway."
  40.  
  41. Go down to the cavern, then South and pick up the bladder.  Now go back. 
  42. North, and up until you're out of the stump and back in the swamp again 
  43. (Hint: If the chiggers bite get the mud, then drop it again. Hint 2: 
  44. "Unlight Lamp"  anytime you enter the root chamber. You MUST save the 
  45. light). "Get Gas," then "Enter Stump."
  46.  
  47. Now, back down to the cavern and relight the lamp. Go South and up.  Drop 
  48. the bladder and "Ignite Gas." This breaks the brickwall. "Go Hole," then 
  49. jump.
  50.  
  51. The bear won't bother you if you "Yell." He'll fall down the chasm. Get the 
  52. magic mirror, then "Go Throne." Get the crown. Go West to the ledge.  Jump, 
  53. then West.  Get the fire bricks. Go down, then North. Now up again to the 
  54. treasure room in the stump. 
  55.  
  56. Drop ONLY the crown. Get the bottle of water, and go down. Drop the flint 
  57. just before you enter the hallway.  Go to the cavern, and from there, down 
  58. into the pits. From the "Light" sign, go down, West, and down. Get the rug, 
  59. then down again. You'll be at the bottom of the chasm. 
  60.  
  61. "Build Dam". "Drop bricks". "Look Lava". You'll see a firestone. "Pour 
  62. Water on firestone."  Get the stone and the golden net.  Up. Read the sign.
  63. "Say Away" twice and you're in the meadow again. Go South and enter the stump.
  64. Drop the firestone, the rug, and the mirror IN THAT ORDER.
  65.  
  66. Exit the stump, go East to the hole, and North to the lake. "Get Water". 
  67. "Get Fish". Go back to the stump, drop fish and net, IN THAT ORDER. Get the 
  68. mud. Go back down the cavern. Be sure you get the flint and light the lamp.
  69.  
  70. Go North. Save the game. This is a random part of the game, and you may 
  71. have to try it several times before the dumb BEES quit suffocating. 
  72.  
  73. North.  Get the honey. Now, empty out the water, and get the bees.
  74.  
  75. Go South to the cavern, then up to the swamp.  Drop the mud. Go North and 
  76. "Drop Bees."  The dragon will "become annoyed" and fly away, leaving some 
  77. eggs.  Get them, then back to the stump.  Drop the eggs and the honey, then 
  78. say "Score." 
  79.  
  80. That's it!
  81.  
  82. #END_COMMENT
  83.  
  84. #OPTIONS /Labels[] /Messages""
  85.  
  86. TITLE
  87. COLORS WHITE YELLOW BLACK YELLOW RED
  88. W E L C O M E    T O    A D V E N T U R E L A N D
  89.  
  90. by Scott Adams
  91.  
  92. Adapted for the Adventure Game Toolkit by David Malmberg
  93.  
  94. ****
  95. END_TITLE
  96.  
  97.  
  98. INSTRUCTIONS
  99.  
  100. During your adventure, I will be your eyes and hands.  I know of places,
  101. actions, and things.
  102.  
  103. Your commands can be expressed in the format:
  104.  
  105.   <verb phrase> <(multiple) noun phrase(s)> <preposition> <noun phrase/object>
  106.  
  107. For example:
  108.  
  109.          PUT THE GREEN ROCK BEHIND THE OAK TREE
  110.          READ MY POETRY BOOK
  111.          SWIM IN THE SWIMMING POOL
  112.          EXAMINE THE GOLD RING, THE DWARF AND THE SILVER NECKLACE
  113.          EAT THE CELERY AND THE ONION
  114.          SHOOT THE BURGLAR WITH THE REVOLVER
  115.          ATTACK HIM
  116.            ("HIM" will refer to last noun mentioned, e.g., the burglar)
  117.          GET THE BOOK (also: TAKE THE BOOK)
  118.          READ IT
  119.            ("IT" will refer to last noun mentioned, e.g., the book)
  120.          GET ALL
  121.  
  122. Compound commands can be created by connecting single commands (like those
  123. above) with "AND", "THEN" or the punctuation symbols "," or ";" to connect two
  124. or more separate commands, such as:
  125.  
  126.          CLIMB DOWN THE LADDER THEN SOUTH, WEST AND NORTHWEST
  127.          GET THE CLOAK AND THEN EXAMINE IT; READ THE LABEL
  128.          DROP THE FOOD AND THE BOTTLE THEN UNLOCK THE DOOR AND THEN LEAVE
  129.  
  130. The game uses a number of special commands for various "housekeeping" chores.
  131. These are all pretty standard for most adventure games.  Specifically:
  132. HELP, SCORE, INVENTORY, VERBOSE, LIST EXITS, SAVE, RESTORE, SCRIPT, UNSCRIPT
  133. and QUIT.
  134.  
  135. The function keys have been predefined to stand for several of the most
  136. frequently used commands.  Similarly, the cursor keys correspond to the
  137. various movement/compass directions.
  138.  
  139. Hitting the '?' key (during the game) will display a diagram of keys and their
  140. definitions.
  141. END_INSTRUCTIONS
  142.  
  143. VERB
  144. LIGHT IGNITE BURN
  145. EXTINGUISH UNLIGHT
  146. ATTACK BREAK KICK SMASH
  147. Dummy_Verb1 GO CLIMB ENTER
  148. Dummy_Verb2 YES
  149. Dummy_Verb3 NO
  150. Dummy_Verb4 STOP
  151. Dummy_Verb5 FIND
  152. Dummy_Verb6 BUILD
  153. Dummy_Verb7 WAKE
  154. Dummy_Verb8 SWIM
  155. Dummy_Verb9 YOHO
  156. Dummy_Verb10 SIT
  157. Dummy_Verb11 RUB
  158. Dummy_Verb12 JUMP
  159. Dummy_Verb13 SAY
  160. Dummy_Verb14 CHOP CUT
  161. Dummy_Verb15 FILL
  162. Dummy_Verb16 AWAY
  163. Dummy_Verb17 BUNYON
  164. Dummy_Verb18 POUR FREE RELEASE
  165. Dummy_Verb19 KISS
  166. Dummy_Verb20 GIVE FEED
  167. Dummy_Verb21 EMPTY
  168. END_VERB
  169.  
  170. VOCABULARY
  171. ! This is the default AGT verb list for the "menu-driven" parser for ADVLAND
  172.  
  173. ! AGAIN should be the first A-verb
  174. 1 Again
  175. 2 Attack
  176. 3 Attack With
  177. 1 away
  178. 2 Break
  179. 3 Break with
  180. 1 Brief
  181. 2 build
  182. 1 bunyon
  183. 2 Burn
  184. 2 Chop
  185. 2 Close
  186. 2 Climb up
  187. 2 Climb down
  188. 2 climb to
  189. 2 Cut
  190. ! DOWN should be the first D-verb
  191. 1 Down
  192. 2 Drop
  193. 2 Drink
  194. ! EAST should be the first E-verb
  195. 1 East
  196. 2 Examine
  197. 2 Eat
  198. 2 empty
  199. 2 Enter
  200. 1 Exit
  201. 2 Extinguish
  202. 2 feed
  203. 3 Feed to
  204. 3 Fill with
  205. 2 find
  206. 2 free
  207. ! GET should be the first G-verb
  208. 2 Get
  209. 3 Give to
  210. 2 Go to
  211. ! HELP should be the first H-verb
  212. 1 Help
  213. 2 Heat
  214. 2 Hit
  215. 3 Hit with
  216. 2 Hold
  217. ! INVENTORY should be the first I-verb
  218. 1 Inventory
  219. 2 ignite
  220. 1 Jump
  221. 2 Jump to
  222. 2 kick
  223. 2 Kill
  224. 3 Kill With
  225. 2 kiss
  226. ! LOOK AROUND should be the first L-verb
  227. 1 Look around
  228. 2 Look at
  229. 1 List Exits
  230. 2 Light
  231. 3 Light With
  232. 3 Lock with
  233. ! NORTH should be the first N-verb
  234. 1 North
  235. 1 Northeast
  236. 1 Northwest
  237. 1 no
  238. ! OPEN should be the first O-verb
  239. 2 Open
  240. 3 Put in
  241. 3 Pour on
  242. 3 Pour in
  243. ! QUIT should be the first Q-verb
  244. 1 Quit
  245. ! READ should be the first R-verb
  246. 2 Read
  247. 2 release
  248. 2 Rub
  249. 1 Restore
  250. ! SOUTH should be the first S-verb
  251. 1 South
  252. 1 Southeast
  253. 1 Southwest
  254. 1 Score
  255. 1 Save
  256. 1 say
  257. 1 Scream
  258. 2 Scream At
  259. 1 Script
  260. 1 Shout
  261. 1 Sit
  262. 2 smash
  263. 1 stop
  264. 1 Swim
  265. ! TAKE should be the first T-verb
  266. 2 Take
  267. 2 Throw
  268. 3 Throw at
  269. ! UP should be the first U-verb
  270. 1 Up
  271. 2 unlight
  272. 2 Unlock
  273. 1 Unscript
  274. ! VERBOSE should be the first V-verb
  275. 1 Verbose
  276. 1 Version
  277. ! WEST should be the first W-verb
  278. 1 West
  279. 1 Wait
  280. 2 wake
  281. 1 Yell
  282. 2 Yell At
  283. 1 yes
  284. 1 yoho
  285. END_VOCABULARY
  286.  
  287. #DEFINE [noun weight] 13
  288. #DEFINE [NoWhere] 0
  289.  
  290. ROOM [Top of an old oak tree]
  291. Top of Old Oak Tree
  292. DOWN [Forest]
  293. END_ROOM
  294.  
  295. ROOM_DESCR [Top of an old oak tree]
  296. You are on a branch at the top of an old oak tree.  To the east you can see a
  297. sunny meadow.
  298. END_ROOM_DESCR
  299.  
  300. STARTING_ROOM [Forest]
  301.  
  302. ROOM [Forest]
  303. In Thick Forest
  304. NORTH [Forest]
  305. SOUTH [Forest]
  306. EAST [Sunny Meadow]
  307. WEST [Forest]
  308. UP [Top of an old oak tree]
  309. END_ROOM
  310.  
  311. ROOM_DESCR [Forest]
  312. You are in the middle of a thick forest.
  313. END_ROOM_DESCR
  314.  
  315. HELP [Forest]
  316. A voice booms out - "Try:  EXAMINE, JUMP, SWIM, CLIMB, THROW, FIND, GO, TAKE,
  317. INVENTORY, SCORE."
  318. END_HELP
  319.  
  320. NOUN [trees]
  321. trees
  322. oak
  323. There are tall trees all around you.
  324. LOCATION [Forest]
  325. UNMOVABLE
  326. END_NOUN
  327.  
  328. NOUN_DESCR [trees]
  329. Most of the trees are oaks.
  330. END_NOUN_DESCR
  331.  
  332. COMMAND GO TREE
  333. AtLocation [Forest]
  334. GoToRoom [Top of an old oak tree]
  335. PrintMessage "You climb to the top of an old oak tree."
  336. BlankLine
  337. DoneWithTurn
  338. END_COMMAND
  339.  
  340.  
  341. ROOM [Hidden Grove]
  342. Hidden Grove
  343. NORTH [Forest]
  344. SOUTH [Forest]
  345. EAST [Dismal Swamp]
  346. WEST [Forest]
  347. END_ROOM
  348.  
  349. ROOM_DESCR [Hidden Grove]
  350. You are in a hidden grove of trees.  It is very peaceful here.  There are
  351. trees all around you except to the east where you can see a swamp-like area.
  352. END_ROOM_DESCR
  353.  
  354. NOUN [sign says- PAUL'S PLACE]
  355. sign
  356. large
  357. A large sign says - PAUL'S PLACE
  358. LOCATION [Hidden Grove]
  359. UNMOVABLE
  360. END_NOUN
  361.  
  362. NOUN_DESCR [sign says- PAUL'S PLACE]
  363. It still says - PAUL'S PLACE!
  364. END_NOUN_DESCR
  365.  
  366.  
  367. NOUN [JEWELED FRUIT]
  368. FRUIT
  369. JEWELED
  370. There is some jeweled fruit here.
  371. LOCATION [Hidden Grove]
  372. POINTS 7
  373. WEIGHT [noun weight]
  374. EDIBLE
  375. DRINKABLE
  376. END_NOUN
  377.  
  378. NOUN_DESCR [JEWELED FRUIT]
  379. The fruit consists of a pear and an apple covered with precious gems.
  380. END_NOUN_DESCR
  381.  
  382.  
  383. ROOM [Sunny Meadow]
  384. Sunny Meadow
  385. NORTH [Forest]
  386. SOUTH [Dismal Swamp]
  387. EAST [Shore of Lake]
  388. WEST [Forest]
  389. END_ROOM
  390.  
  391. ROOM_DESCR [Sunny Meadow]
  392. You are in the middle of a sunny meadow.  There is a lake to the east and a
  393. swamp-like area to the south.
  394. END_ROOM_DESCR
  395.  
  396. HELP [Sunny Meadow]
  397. Only 3 things will wake the dragon.  One of them is dangerous!
  398. END_HELP
  399.  
  400.  
  401. NOUN [sign here says - IN SOME CASES MUD IS GOOD]
  402. sign
  403. small
  404. There is a small sign here.
  405. LOCATION [Sunny Meadow]
  406. UNMOVABLE
  407. END_NOUN
  408.  
  409. NOUN_DESCR [sign here says - IN SOME CASES MUD IS GOOD]
  410. The sign says - IN SOME CASES MUD IS GOOD IN OTHERS...
  411. END_NOUN_DESCR
  412.  
  413. COMMAND RELEASE BEES
  414. IsCarrying [bees in a bottle]
  415. Present [large sleeping dragon]
  416. PrintMessage [The bees attack the dragon which gets up and flies away...]
  417. Destroy [large sleeping dragon]
  418. SwapLocations [empty bottle] [bees in a bottle]
  419. PutInCurrentRoom [DRAGON EGGS]
  420. TurnFlagOFF [Bottle Full]
  421. DoneWithTurn (* no further action -- get next input *)
  422. END_COMMAND
  423.  
  424. COMMAND EMPTY BOTTLE
  425. IsCarrying [bees in a bottle]
  426. Present [large sleeping dragon]
  427. PrintMessage [The bees attack the dragon which gets up and flies away...]
  428. Destroy [large sleeping dragon]
  429. SwapLocations [empty bottle] [bees in a bottle]
  430. PutInCurrentRoom [DRAGON EGGS]
  431. TurnFlagOFF [Bottle Full]
  432. DoneWithTurn (* no further action -- get next input *)
  433. END_COMMAND
  434.  
  435. MESSAGE [The bees attack the dragon which gets up and flies away...]
  436. The bees attack the dragon which gets up and flies away.  The bees chase the
  437. dragon into the western horizon until it disappears from sight.
  438. END_MESSAGE
  439.  
  440. COMMAND LIGHT GAS
  441. InRoom [distended gas bladder]
  442. Present [Flint and steel]
  443. Present [large sleeping dragon]
  444. PrintMessage "The gas bladder blows up!  It blows the dragon sky high!!"
  445. SwapLocations [large sleeping dragon] [smoking hole]
  446. Destroy [distended gas bladder]
  447. PutInCurrentRoom [DRAGON EGGS]
  448. DoneWithTurn (* no further action -- get next input *)
  449. END_COMMAND
  450.  
  451. COMMAND LIGHT BLADDER
  452. InRoom [distended gas bladder]
  453. Present [Flint and steel]
  454. Present [large sleeping dragon]
  455. PrintMessage "The gas bladder blows up!  It blows the dragon sky high!!"
  456. SwapLocations [large sleeping dragon] [smoking hole]
  457. Destroy [distended gas bladder]
  458. PutInCurrentRoom [DRAGON EGGS]
  459. DoneWithTurn (* no further action -- get next input *)
  460. END_COMMAND
  461.  
  462. COMMAND ANY
  463. Chance 50 ; 50% chance that mud wakes dragon
  464. Present [evil smelling mud]
  465. Present [large sleeping dragon]
  466. PrintMessage [Dragon smells something - awakens - attacks you!]
  467. BlankLine
  468. GoToRoom [Limbo]
  469. DoneWithTurn
  470. END_COMMAND
  471.  
  472. MESSAGE [Dragon smells something - awakens - attacks you!]
  473. The dragon smells something terrible.  It awakens and attacks you!  You are
  474. dead!
  475. END_MESSAGE
  476.  
  477. COMMAND ATTACK DRAGON
  478. Present [large sleeping dragon]
  479. PrintMessage "Your blows fail to wake the dragon."
  480. DoneWithTurn
  481. END_COMMAND
  482.  
  483. NOUN [large sleeping dragon]
  484. dragon
  485. sleeping
  486. A large dragon is asleep near the edge of the meadow.  It is snoring loudly.
  487. LOCATION [Sunny Meadow]
  488. UNMOVABLE
  489. END_NOUN
  490.  
  491. NOUN_DESCR [large sleeping dragon]
  492. The dragon is huge.  Its snoring shakes the ground.  Thank heaven it is asleep.
  493. END_NOUN_DESCR
  494.  
  495. NOUN [DRAGON EGGS]
  496. EGGS
  497. DRAGON
  498. There are some very rare dragon eggs here.
  499. LOCATION [NoWhere]
  500. WEIGHT [noun weight]
  501. POINTS 8
  502. END_NOUN
  503.  
  504. NOUN_DESCR [DRAGON EGGS]
  505. Each dragon egg would make an omlet for about 50 people.  These are big eggs.
  506. END_NOUN_DESCR
  507.  
  508. NOUN [smoking hole]
  509. hole
  510. smoking
  511. You see a smoking hole in the ground with pieces of dragon and lots of gore.
  512. LOCATION [NoWhere]
  513. UNMOVABLE
  514. END_NOUN
  515.  
  516. NOUN_DESCR [smoking hole]
  517. The hole is where the dragon was.  You can see still see a few pieces of dragon
  518. and a great deal of green dragon blood and gore.
  519. END_NOUN_DESCR
  520.  
  521. COMMAND GO HOLE
  522. Present [smoking hole]
  523. GoToRoom [In Real Trouble!]
  524. PrintMessage "Climbing down into the hole, you suddenly slip and fall."
  525. BlankLine
  526. DoneWithTurn
  527. END_COMMAND
  528.  
  529.  
  530. ROOM [Dismal Swamp]
  531. Dismal Swamp
  532. NORTH [Sunny Meadow]
  533. EAST [Edge of Bottomless Hole]
  534. WEST [Hidden Grove]
  535. SOUTH [Dismal Swamp]
  536. END_ROOM
  537.  
  538. ROOM_DESCR [Dismal Swamp]
  539. You are in the middle of a dismal swamp.  There is a meadow to the north.
  540. END_ROOM_DESCR
  541.  
  542. HELP [Dismal Swamp]
  543. A voice booms out - "Try:  EXAMINE, JUMP, SWIM, CLIMB, THROW, FIND, GO, TAKE,
  544. INVENTORY, SCORE."
  545. END_HELP
  546.  
  547. NOUN [swamp]
  548. swamp
  549. none
  550. INVISIBLE
  551. LOCATION [Dismal Swamp]
  552. UNMOVABLE
  553. END_NOUN
  554.  
  555. NOUN_DESCR [swamp]
  556. The swamp is quite dismal.  You should probably leave as soon as possible.
  557. END_NOUN_DESCR
  558.  
  559. NOUN [Hollow stump and remains of a felled tree]
  560. stump
  561. Hollow
  562. You see a hollow stump and the remains of a felled tree.
  563. LOCATION [NoWhere]
  564. UNMOVABLE
  565. END_NOUN
  566.  
  567. NOUN_DESCR [Hollow stump and remains of a felled tree]
  568. The stump is quite large and is hollow.  You could go inside it if you wanted
  569. to.
  570. END_NOUN_DESCR
  571.  
  572. NOUN [cypress tree]
  573. tree
  574. cypress
  575. A tall cypress tree stands at the edge of the swamp.
  576. LOCATION [Dismal Swamp]
  577. UNMOVABLE
  578. END_NOUN
  579.  
  580. NOUN_DESCR [cypress tree]
  581. The cypress tree looks rather wind-swept, with its branches swept down to one
  582. side.
  583. END_NOUN_DESCR
  584.  
  585. COMMAND BUNYON
  586. Present [rusty axe]
  587. SendAllToRoom [hidden grove]
  588. PrintMessage "Something you are holding vibrated and..."
  589. DoneWithTurn
  590. END_COMMAND
  591.  
  592. COMMAND BUNYON
  593. PrintMessage [Nothing happens]
  594. DoneWithTurn
  595. END_COMMAND
  596.  
  597. COMMAND CHOP TREE
  598. NOT Present [rusty axe]
  599. PrintMessage "You have nothing to $verb$ with, stupid!"
  600. DoneWithTurn
  601. END_COMMAND
  602.  
  603. COMMAND CHOP TREE
  604. Present [cypress tree]
  605. Present [rusty axe]
  606. NOT Present [ring of keys]
  607. SwapLocations [cypress tree] [Hollow stump and remains of a felled tree]
  608. PrintMessage [TIMBER...  Something fell from the treetop and vanished!]
  609. DoneWithTurn
  610. END_COMMAND
  611.  
  612. COMMAND CHOP TREE
  613. Present [cypress tree]
  614. Present [rusty axe]
  615. Present [ring of keys]
  616. SwapLocations [cypress tree] [Hollow stump and remains of a felled tree]
  617. PrintMessage [TIMBER...]
  618. DoneWithTurn
  619. END_COMMAND
  620.  
  621. MESSAGE [TIMBER...  Something fell from the treetop and vanished!]
  622. TIMBER...  The tree crashes to the ground.  As it falls, something fell from
  623. the treetop and vanished!
  624. END_MESSAGE
  625.  
  626. MESSAGE [TIMBER...]
  627. TIMBER...  The tree crashes to the ground.
  628. END_MESSAGE
  629.  
  630. COMMAND CHOP TREE
  631. NOT AtLocation [Hidden Grove]
  632. NOT AtLocation [Dismal Swamp]
  633. NOT AtLocation [Forest]
  634. PrintMessage "There are no trees here to chop."
  635. DoneWithTurn
  636. END_COMMAND
  637.  
  638. COMMAND CHOP TREE
  639. AtLocation [Hidden Grove]
  640. OR
  641. AtLocation [Dismal Swamp]
  642. OR
  643. AtLocation [Forest]
  644. PrintMessage "Quit goofying around and get on with the game!"
  645. DoneWithTurn
  646. END_COMMAND
  647.  
  648. NOUN [evil smelling mud]
  649. mud
  650. smelly
  651. There is some evil-smelling mud here.
  652. LOCATION [Dismal Swamp]
  653. WEIGHT [noun weight]
  654. END_NOUN
  655.  
  656. NOUN_DESCR [evil smelling mud]
  657. The mud smells absolutely dreadful.
  658. END_NOUN_DESCR
  659.  
  660. NOUN [swamp gas]
  661. gas
  662. swamp
  663. You can smell swamp gas all around you.
  664. LOCATION [Dismal Swamp]
  665. WEIGHT [noun weight]
  666. END_NOUN
  667.  
  668. NOUN_DESCR [swamp gas]
  669. The swamp gas was formed from the decay of dead plants and animals.
  670. END_NOUN_DESCR
  671.  
  672. COMMAND GET GAS
  673. Present [swamp gas]
  674. NOT Present [empty wine bladder]
  675. PrintMessage "You don't have anything to put the gas in.  You need a container."
  676. DoneWithTurn
  677. END_COMMAND
  678.  
  679. COMMAND GET GAS
  680. Present [swamp gas]
  681. Present [empty wine bladder]
  682. PrintMessage "You put some of the swamp gas in the bladder."
  683. Destroy [empty wine bladder]
  684. GetIT [distended gas bladder]
  685. DoneWithTurn
  686. END_COMMAND
  687.  
  688. COMMAND DROP GAS
  689. Present [distended gas bladder]
  690. DropIT [empty wine bladder]
  691. Destroy [distended gas bladder]
  692. PrintMessage "The gas dissipates and the bladder is now empty."
  693. DoneWithTurn
  694. END_COMMAND
  695.  
  696. COMMAND LIGHT GAS
  697. Present [swamp gas]
  698. PrintMessage "The gas needs to be in a container to blows up!"
  699. DoneWithTurn (* no further action -- get next input *)
  700. END_COMMAND
  701.  
  702. COMMAND LIGHT GAS
  703. Present [distended gas bladder]
  704. NOT Present [Flint and steel]
  705. PrintMessage [Sorry, but you can't]
  706. PrintMessage [You don't have resources]
  707. DoneWithTurn (* no further action -- get next input *)
  708. END_COMMAND
  709.  
  710. COMMAND LIGHT GAS
  711. IsCarrying [distended gas bladder]
  712. Present [Flint and steel]
  713. PrintMessage "The gas bladder blows up in your hands!"
  714. Destroy [distended gas bladder]
  715. BlankLine
  716. GoToRoom [Limbo]
  717. DoneWithTurn (* no further action -- get next input *)
  718. END_COMMAND
  719.  
  720. COMMAND LIGHT GAS
  721. InRoom [distended gas bladder]
  722. Present [Flint and steel]
  723. PrintMessage "The gas bladder blows up!  Fortunately, you are not hurt."
  724. Destroy [distended gas bladder]
  725. DoneWithTurn (* no further action -- get next input *)
  726. END_COMMAND
  727.  
  728. NOUN [floating patch of oily slime]
  729. oil
  730. slimey
  731. You see a floating patch of oily slime at the edge of the swamp.
  732. LOCATION [Dismal Swamp]
  733. WEIGHT [noun weight]
  734. NOUN_SYNONYMS slime PATCH
  735. END_NOUN
  736.  
  737. NOUN_DESCR [floating patch of oily slime]
  738. The oily slime is oily and slimey -- what more is there to say?
  739. END_NOUN_DESCR
  740.  
  741. NOUN [chiggers]
  742. chiggers
  743. pesky
  744. The are pesky chiggers everywhere.
  745. LOCATION [Dismal Swamp]
  746. WEIGHT [noun weight]
  747. END_NOUN
  748.  
  749. NOUN_DESCR [chiggers]
  750. Chiggers are nasty little bugs that bit.  Avoid them if possible.
  751. END_NOUN_DESCR
  752.  
  753. COMMAND HELP
  754. IsCarrying [chigger bites]
  755. OR
  756. IsCarrying [infected chigger bites]
  757. PrintMessage "A voice booms out -- "Medicine is good for bites!"
  758. DoneWithTurn
  759. END_COMMAND
  760.  
  761. NOUN [chigger bites]
  762. bites
  763. chigger
  764. You have chigger bites all of your body.  They itch!
  765. LOCATION [NoWhere]
  766. END_NOUN
  767.  
  768. NOUN_DESCR [chigger bites]
  769. Your chigger bites are all of your body.  They itch!
  770. END_NOUN_DESCR
  771.  
  772. COMMAND ANY
  773. Chance 5 ; 5% chance that chigger will bite you if present
  774. Present [chiggers]
  775. NOT IsCarrying [evil smelling mud]
  776. NOT IsCarrying [infected chigger bites]
  777. NOT IsCarrying [chigger bites]
  778. GetIt [chigger bites]
  779. PrintMessage "You are bit by chiggers."
  780. BlankLine
  781. END_COMMAND
  782.  
  783. COMMAND ANY
  784. Chance 30 ; 30% chance that chigger will bite you if carrying
  785. IsCarrying [chiggers]
  786. NOT IsCarrying [evil smelling mud]
  787. NOT IsCarrying [infected chigger bites]
  788. NOT IsCarrying [chigger bites]
  789. GetIt [chigger bites]
  790. PrintMessage "You are bit by chiggers."
  791. BlankLine
  792. END_COMMAND
  793.  
  794. COMMAND DROP BITES
  795. IsCarrying [infected chigger bites]
  796. OR
  797. IsCarrying [chigger bites]
  798. PrintMessage [Don't be silly! 2]
  799. BlankLine
  800. DoneWithTurn
  801. END_COMMAND
  802.  
  803. MESSAGE [Don't be silly! 2]
  804. Why on earth would your ever want to $verb$ the $noun$.  That would be
  805. extremely strange!
  806. END_MESSAGE
  807.  
  808. NOUN [infected chigger bites]
  809. bites
  810. infected
  811. You have infected chigger bites all of your body.  They itch!
  812. WEIGHT [noun weight]
  813. LOCATION [NoWhere]
  814. END_NOUN
  815.  
  816. NOUN_DESCR [infected chigger bites]
  817. Your chigger bites are all of your body.  They itch!  And they are infected!!
  818. END_NOUN_DESCR
  819.  
  820.  
  821. COMMAND ANY
  822. Chance 10 ; 10% chance that chigger bites become infected
  823. NOT IsCarrying [evil smelling mud]
  824. IsCarrying [chigger bites]
  825. SwapLocations [chigger bites] [infected chigger bites]
  826. PrintMessage "Your chigger bites are now infected."
  827. BlankLine
  828. END_COMMAND
  829.  
  830. COMMAND ANY
  831. Chance 8 ; 8% chance that chigger bites rot your body
  832. NOT IsCarrying [evil smelling mud]
  833. IsCarrying [infected chigger bites]
  834. SwapLocations [chigger bites] [infected chigger bites]
  835. PrintMessage "The bites have rotted your whole body.  You have died."
  836. BlankLine
  837. GoToRoom [Limbo]
  838. DoneWithTurn
  839. END_COMMAND
  840.  
  841. COMMAND ANY
  842. Chance 5 ; 5% chance that mud falls off -- if not carrying water
  843. IsCarrying [evil smelling mud]
  844. NOT IsCarrying [bottle of water]
  845. SendToRoom [evil smelling mud] [Dismal Swamp]
  846. PrintMessage "The mud dried up and fell off."
  847. BlankLine
  848. END_COMMAND
  849.  
  850. COMMAND GET MUD
  851. Present [evil smelling mud]
  852. IsCarrying [chigger bites]
  853. OR
  854. IsCarrying [infected chigger bites]
  855. PrintMessage "The mud heals your chigger bites.  You feel much better."
  856. Destroy [chigger bites]
  857. Destroy [infected chigger bites]
  858. DoneWithTurn
  859. END_COMMAND
  860.  
  861. COMMAND GO TREE
  862. Present [cypress tree]
  863. AtLocation [Dismal Swamp]
  864. GoToRoom [Top of a Cypress Tree]
  865. PrintMessage "You climb to the top of the old cypress tree."
  866. BlankLine
  867. DoneWithTurn
  868. END_COMMAND
  869.  
  870.  
  871. ROOM [Top of a Cypress Tree]
  872. Top of Cypress Tree
  873. DOWN [Dismal Swamp]
  874. END_ROOM
  875.  
  876. ROOM_DESCR [Top of a Cypress Tree]
  877. You are in the top of a tall cypress tree.  Below you is a dismal swamp.
  878. END_ROOM_DESCR
  879.  
  880. NOUN [spider web with writing on it]
  881. web
  882. spider
  883. There is a spider web among the tree branches.
  884. LOCATION [Top of a Cypress Tree]
  885. READABLE
  886. UNMOVABLE
  887. END_NOUN
  888.  
  889. NOUN_DESCR [spider web with writing on it]
  890. The spider web has writing on it.
  891. END_NOUN_DESCR
  892.  
  893. TEXT [spider web with writing on it]
  894. CHOP IT DOWN!
  895. END_TEXT_DESCR
  896.  
  897. NOUN [spider]
  898. spider
  899. black
  900. INVISIBLE
  901. LOCATION [Top of a Cypress Tree]
  902. UNMOVABLE
  903. END_NOUN
  904.  
  905. NOUN_DESCR [spider]
  906. The spider is crawling toward you.  Be careful!
  907. END_NOUN_DESCR
  908.  
  909. COMMAND GET WEB
  910. Present [spider web with writing on it]
  911. PrintMessage "Yeech!  Ouch!  You are bit by a large spider!!"
  912. GoToRoom [Limbo]
  913. DoneWithTurn
  914. END_COMMAND
  915.  
  916. COMMAND GET SPIDER
  917. Present [spider web with writing on it]
  918. PrintMessage "Yeech!  Ouch!  You are bit by a large spider!!"
  919. GoToRoom [Limbo]
  920. DoneWithTurn
  921. END_COMMAND
  922.  
  923. NOUN [ring of keys]
  924. keys
  925. skeleton
  926. There is a ring of skeleton keys here.
  927. LOCATION [Top of a Cypress Tree]
  928. WEIGHT [noun weight]
  929. NOUN_SYNONYMS RING KEY
  930. END_NOUN
  931.  
  932. NOUN_DESCR [ring of keys]
  933. The keys are made of iron and clank together when you touch them.
  934. END_NOUN_DESCR
  935.  
  936.  
  937. ROOM [Quicksand Bog]
  938. Quicksand Bog
  939. END_ROOM
  940.  
  941. ROOM_DESCR [Quicksand Bog]
  942. You are in the middle of a quicksand bog.  It is very dangerous here.
  943. END_ROOM_DESCR
  944.  
  945. HELP [Quicksand Bog]
  946. A voice booms out - "Try:  EXAMINE, JUMP, SWIM, CLIMB, THROW, FIND, GO, TAKE,
  947. INVENTORY, SCORE."
  948. END_HELP
  949.  
  950. COMMAND SWIM
  951. AtLocation [Quicksand Bog]
  952. IsCarrying [SMALL STATUE OF A BLUE OXE]
  953. PrintMessage "The small statue slips from your grasp as you struggle in the bog."
  954. SendToRoom [SMALL STATUE OF A BLUE OXE] [Hidden Grove]
  955. GoToRoom [Shore of Lake]
  956. DoneWithTurn
  957. END_COMMAND
  958.  
  959. COMMAND SWIM
  960. AtLocation [Quicksand Bog]
  961. PrintMessage "You struggle through the bog and finally reach the shore."
  962. SendToRoom [SMALL STATUE OF A BLUE OXE] [Hidden Grove]
  963. GoToRoom [Shore of Lake]
  964. DoneWithTurn
  965. END_COMMAND
  966.  
  967. NOUN [SMALL STATUE OF A BLUE OXE]
  968. OXE
  969. BLUE
  970. You see a statue of a small blue oxe.
  971. LOCATION [Quicksand Bog]
  972. POINTS 7
  973. WEIGHT [noun weight]
  974. NOUN_SYNONYMS OX STATUE
  975. END_NOUN
  976.  
  977. NOUN_DESCR [SMALL STATUE OF A BLUE OXE]
  978. The statue is very finely crafted.  It is very beautiful and is probably worth
  979. a great deal.
  980. END_NOUN_DESCR
  981.  
  982. COMMAND SWIM
  983. AtLocation [Shore of Lake]
  984. PrintMessage "You struggle in the water and end up in the bog."
  985. GoToRoom [Quicksand Bog]
  986. DoneWithTurn
  987. END_COMMAND
  988.  
  989. COMMAND SWIM
  990. AtLocation [Shore of Lake]
  991. OR
  992. AtLocation [Quicksand Bog]
  993. PrintMessage "It is impossible to swim without some body of water nearby!"
  994. GoToRoom [Quicksand Bog]
  995. DoneWithTurn
  996. END_COMMAND
  997.  
  998.  
  999. ROOM [Shore of Lake]
  1000. Shore of a Lake
  1001. NORTH [Quicksand Bog]
  1002. SOUTH [Edge of Bottomless Hole]
  1003. WEST [Sunny Meadow]
  1004. DOWN [Quicksand Bog]
  1005. END_ROOM
  1006.  
  1007. ROOM_DESCR [Shore of Lake]
  1008. You are on the shore of a large lake.  To the west is a meadow.  A thick
  1009. forest lies to the north.  To the south you can see a large hole.
  1010. END_ROOM_DESCR
  1011.  
  1012. NOUN [water]
  1013. water
  1014. blue
  1015. The lake has clear blue water.
  1016. LOCATION [Shore of Lake]
  1017. NOUN_SYNONYMS LAKE
  1018. UNMOVABLE
  1019. END_NOUN
  1020.  
  1021. NOUN_DESCR [water]
  1022. The lake is quite serene.
  1023. END_NOUN_DESCR
  1024.  
  1025. NOUN [sign says - NO SWIMMING ALLOWED]
  1026. sign
  1027. Wooden
  1028. There is a wooden sign near the edge of the water.
  1029. LOCATION [Shore of Lake]
  1030. UNMOVABLE
  1031. END_NOUN
  1032.  
  1033. NOUN_DESCR [sign says - NO SWIMMING ALLOWED]
  1034. The sign says - NO SWIMMING ALLOWED!
  1035. END_NOUN_DESCR
  1036.  
  1037. NOUN [GOLDEN FISH]
  1038. FISH
  1039. GOLDEN
  1040. There is a small golden fish here.
  1041. LOCATION [Shore of Lake]
  1042. POINTS 8
  1043. WEIGHT [noun weight]
  1044. END_NOUN
  1045.  
  1046. NOUN_DESCR [GOLDEN FISH]
  1047. The fish looks like a lake perch.
  1048. END_NOUN_DESCR
  1049.  
  1050. NOUN [dead fish]
  1051. fish
  1052. dead
  1053. You see a dead fish here.
  1054. LOCATION [NoWhere]
  1055. WEIGHT [noun weight]
  1056. END_NOUN
  1057.  
  1058. NOUN_DESCR [dead fish]
  1059. The fish looks like a lake perch.  It is quite dead.
  1060. END_NOUN_DESCR
  1061.  
  1062. NOUN [rusty axe]
  1063. axe
  1064. rusty
  1065. You see a rusty axe on the ground.
  1066. LOCATION [Shore of Lake]
  1067. WEIGHT [noun weight]
  1068. NOUN_SYNONYMS AX
  1069. END_NOUN
  1070.  
  1071. NOUN_DESCR [rusty axe]
  1072. The rusty axe has "magic word - BUNYON" written on it.
  1073. END_NOUN_DESCR
  1074.  
  1075.  
  1076. ROOM [Edge of Bottomless Hole]
  1077. Edge of Bottomless Hole
  1078. NORTH [Shore of Lake]
  1079. WEST [Dismal Swamp]
  1080. DOWN [In Real Trouble!]
  1081. END_ROOM
  1082.  
  1083. ROOM_DESCR [Edge of Bottomless Hole]
  1084. You are standing on the edge of a bottomless hole.  There is a small ledge a
  1085. few feet below the top of the hole.
  1086. END_ROOM_DESCR
  1087.  
  1088. COMMAND GO LEDGE
  1089. AtLocation [Edge of Bottomless Hole]
  1090. GoToRoom [Ledge in Hole]
  1091. PrintMessage "You carefully climb down to the ledge inside the hole."
  1092. BlankLine
  1093. DoneWithTurn
  1094. END_COMMAND
  1095.  
  1096. COMMAND ENTER HOLE
  1097. AtLocation [Edge of Bottomless Hole]
  1098. GoToRoom [Ledge in Hole]
  1099. PrintMessage "You carefully climb down to the ledge inside the hole."
  1100. BlankLine
  1101. DoneWithTurn
  1102. END_COMMAND
  1103.  
  1104. NOUN [Ledge]
  1105. ledge
  1106. none
  1107. INVISIBLE
  1108. LOCATION [Edge of Bottomless Hole]
  1109. END_NOUN
  1110.  
  1111. NOUN_DESCR [Ledge]
  1112. The ledge is about four feet below the edge of the hole.
  1113. END_NOUN_DESCR
  1114.  
  1115. NOUN [Bottomless hole]
  1116. hole
  1117. bottomless
  1118. INVISIBLE
  1119. LOCATION [Edge of Bottomless Hole]
  1120. END_NOUN
  1121.  
  1122. NOUN_DESCR [Bottomless hole]
  1123. You can't see the bottom.  You drop a pebble and never hear it hit bottom.
  1124. END_NOUN_DESCR
  1125.  
  1126. ROOM [Ledge in Hole]
  1127. Ledge in Bottomless Hole
  1128. NORTH [Shore of Lake]
  1129. EAST [Edge of Bottomless Hole]
  1130. UP [Edge of Bottomless Hole]
  1131. DOWN [In Real Trouble!]
  1132. END_ROOM
  1133.  
  1134. ROOM_DESCR [Ledge in Hole]
  1135. You are perched precareiously on a small ledge near the top of the bottomless
  1136. hole.  Be careful!
  1137. END_ROOM_DESCR
  1138.  
  1139. NOUN [flint and steel]
  1140. flint
  1141. none
  1142. There is a flint and steel here.
  1143. LOCATION [Ledge in Hole]
  1144. WEIGHT [noun weight]
  1145. NOUN_SYNONYMS STEEL
  1146. END_NOUN
  1147.  
  1148. NOUN_DESCR [flint and steel]
  1149. Flint and steel is used to start a fire.
  1150. END_NOUN_DESCR
  1151.  
  1152. COMMAND GO STUMP
  1153. Present [Hollow stump and remains of a felled tree]
  1154. AtLocation [Dismal Swamp]
  1155. GoToRoom [Large Hollow Stump]
  1156. PrintMessage "You climb into the center of the hollow stump."
  1157. BlankLine
  1158. DoneWithTurn
  1159. END_COMMAND
  1160.  
  1161. ROOM [Large Hollow Stump]
  1162. In Large Hollow Stump
  1163. NORTH [Dismal Swamp]
  1164. SOUTH [Dismal Swamp]
  1165. EAST [Dismal Swamp]
  1166. WEST [Dismal Swamp]
  1167. EXIT [Dismal Swamp]
  1168. UP [Dismal Swamp]
  1169. DOWN [Root Chamber]
  1170. END_ROOM
  1171.  
  1172. ROOM_DESCR [Large Hollow Stump]
  1173. You are in a large hollow stump in the middle of a dismal swamp.  There is a
  1174. hole leading down into the darkness.
  1175. END_ROOM_DESCR
  1176.  
  1177. NOUN [sign - LEAVE TREASURE HERE]
  1178. sign
  1179. large
  1180. A large sign is nailed to the inside of the tree stump.
  1181. LOCATION [Large Hollow Stump]
  1182. UNMOVABLE
  1183. END_NOUN
  1184.  
  1185. NOUN_DESCR [sign - LEAVE TREASURE HERE]
  1186. The sign says - LEAVE TREASURE HERE - (say 'SCORE')
  1187. END_NOUN_DESCR
  1188.  
  1189. TREASURE_ROOM [Large Hollow Stump]
  1190.  
  1191. COMMAND GO HOLE
  1192. AtLocation [Large Hollow Stump]
  1193. GoToRoom [Root Chamber]
  1194. PrintMessage "You carefully climb down into the hole."
  1195. BlankLine
  1196. DoneWithTurn
  1197. END_COMMAND
  1198.  
  1199. COMMAND ENTER HOLE
  1200. AtLocation [Large Hollow Stump]
  1201. GoToRoom [Root Chamber]
  1202. PrintMessage "You carefully climb down into the hole."
  1203. BlankLine
  1204. DoneWithTurn
  1205. END_COMMAND
  1206.  
  1207. NOUN [dark hole]
  1208. hole
  1209. dark
  1210. You see a dark hole leading downward.
  1211. LOCATION [Large Hollow Stump]
  1212. UNMOVABLE
  1213. END_NOUN
  1214.  
  1215. NOUN_DESCR [dark hole]
  1216. The hole is about two feet across and leads down into the darkness.
  1217. END_NOUN_DESCR
  1218.  
  1219. NOUN [unlit brass lamp - empty]
  1220. lamp
  1221. brass
  1222. There is a brass lamp here.
  1223. LOCATION [Large Hollow Stump]
  1224. WEIGHT [noun weight]
  1225. END_NOUN
  1226.  
  1227. NOUN_DESCR [unlit brass lamp - empty]
  1228. The lamp is the old-fashoned kind that uses oil as fuel.  The lamp does not
  1229. have any oil in it now.
  1230. END_NOUN_DESCR
  1231.  
  1232. NOUN [unlit brass lamp - full]
  1233. lamp
  1234. brass
  1235. There is a brass lamp here.
  1236. LOCATION [NoWhere]
  1237. WEIGHT [noun weight]
  1238. END_NOUN
  1239.  
  1240. NOUN_DESCR [unlit brass lamp - full]
  1241. The lamp is the old-fashoned kind that uses oil as fuel.  The lamp has plenty
  1242. of oil in it.
  1243. END_NOUN_DESCR
  1244.  
  1245. VARIABLE [number times lamp is rubbed]
  1246. FLAG [Lamp is present]
  1247.  
  1248. COMMAND ANY
  1249. TurnFlagOFF [Lamp is present]
  1250. Present [unlit brass lamp - empty]
  1251. OR
  1252. Present [unlit brass lamp - full]
  1253. TurnFlagON [Lamp is present]
  1254. END_COMMAND
  1255.  
  1256. COMMAND RUB LAMP
  1257. Present [lit brass lamp]
  1258. PrintMessage "The lamp is too hot to rub."
  1259. DoneWithTurn
  1260. END_COMMAND
  1261.  
  1262. COMMAND RUB LAMP
  1263. FlagON [Lamp is present]
  1264. AddToVariable VARIABLE [number times lamp is rubbed] 1
  1265. VariableEquals [number times lamp is rubbed] 1
  1266. PrintMessage [A glowing genie appears - drops something]
  1267. DropIt [DIAMOND RING]
  1268. DoneWithTurn
  1269. END_COMMAND
  1270.  
  1271. COMMAND RUB LAMP
  1272. FlagON [Lamp is present]
  1273. VariableEquals [number times lamp is rubbed] 2
  1274. PrintMessage [A glowing genie appears - drops something]
  1275. DropIt [DIAMOND BRACELET]
  1276. DoneWithTurn
  1277. END_COMMAND
  1278.  
  1279. MESSAGE [A glowing genie appears - drops something]
  1280. As you rub the lamp, a glowing genie suddenly appears.  It drops something
  1281. and then vanishes.
  1282. END_MESSAGE
  1283.  
  1284. COMMAND RUB LAMP
  1285. FlagON [Lamp is present]
  1286. VariableEquals [number times lamp is rubbed] 3
  1287. Present [DIAMOND BRACELET]
  1288. Destroy [DIAMOND BRACELET]
  1289. PrintMessage [A genie appears - says 'boy you're selfish']
  1290. DoneWithTurn
  1291. END_COMMAND
  1292.  
  1293. COMMAND RUB LAMP
  1294. FlagON [Lamp is present]
  1295. VariableEquals [number times lamp is rubbed] 3
  1296. Present [DIAMOND RING]
  1297. Destroy [DIAMOND RING]
  1298. PrintMessage [A genie appears - says 'boy you're selfish']
  1299. DoneWithTurn
  1300. END_COMMAND
  1301.  
  1302. COMMAND RUB LAMP
  1303. FlagON [Lamp is present]
  1304. VariableEquals [number times lamp is rubbed] 4
  1305. Present [DIAMOND BRACELET]
  1306. Destroy [DIAMOND BRACELET]
  1307. PrintMessage [A genie appears - says 'boy you're selfish']
  1308. DoneWithTurn
  1309. END_COMMAND
  1310.  
  1311. COMMAND RUB LAMP
  1312. FlagON [Lamp is present]
  1313. VariableEquals [number times lamp is rubbed] 4
  1314. Present [DIAMOND RING]
  1315. Destroy [DIAMOND RING]
  1316. PrintMessage [A genie appears - says 'boy you're selfish']
  1317. DoneWithTurn
  1318. END_COMMAND
  1319.  
  1320. COMMAND RUB LAMP
  1321. FlagON [Lamp is present]
  1322. VariableGT [number times lamp is rubbed] 2
  1323. Destroy [unlit brass lamp - empty]
  1324. Destroy [unlit brass lamp - full]
  1325. SendToRoom Destroy [unlit brass lamp - full] [Sunny Meadow]
  1326. PrintMessage [A genie appears - says 'boy you're selfish']
  1327. DoneWithTurn
  1328. END_COMMAND
  1329.  
  1330. COMMAND RUB LAMP
  1331. FlagON [Lamp is present]
  1332. VariableEquals [number times lamp is rubbed] 4
  1333. Present [DIAMOND RING]
  1334. Destroy [DIAMOND RING]
  1335. PrintMessage [A genie appears - says 'boy you're selfish']
  1336. DoneWithTurn
  1337. END_COMMAND
  1338.  
  1339. MESSAGE [A genie appears - says 'boy you're selfish']
  1340. The genie appears again and says 'Boy, you are selfish!'  It then takes
  1341. something and vanishes!
  1342. END_MESSAGE
  1343.  
  1344. COMMAND PUT OIL IN LAMP
  1345. AtLocation [Dismal Swamp]
  1346. Present [unlit brass lamp - empty]
  1347. PrintMessage [Magic oil attracts magic lamp.  Lamp is now full.]
  1348. SwapLocations [unlit brass lamp - empty] [unlit brass lamp - full]
  1349. SetVariableTo [Number of turns lamp has been lit] 0
  1350. DoneWithTurn
  1351. END_COMMAND
  1352.  
  1353. MESSAGE [Magic oil attracts magic lamp.  Lamp is now full.]
  1354. The "magic" oil attracts the magic lamp.  Your lamp is now full of oil.
  1355. END_MESSAGE
  1356.  
  1357. COMMAND PUT OIL IN LAMP
  1358. AtLocation [Dismal Swamp]
  1359. Present [unlit brass lamp - full]
  1360. PrintMessage "You fill the lamp with oil."
  1361. SetVariableTo [Number of turns lamp has been lit] 0
  1362. DoneWithTurn
  1363. END_COMMAND
  1364.  
  1365. COMMAND PUT OIL IN LIT LAMP
  1366. AtLocation [Dismal Swamp]
  1367. Present [lit brass lamp]
  1368. PrintMessage "The lamp is too hot to fill with oil."
  1369. DoneWithTurn
  1370. END_COMMAND
  1371.  
  1372. NOUN [lit brass lamp]
  1373. lamp
  1374. lit
  1375. The lamp is blazing brightly and throws off an eerie light.
  1376. LOCATION [NoWhere]
  1377. IS_LIGHT
  1378. WEIGHT [noun weight]
  1379. END_NOUN
  1380.  
  1381. NOUN_DESCR [lit brass lamp]
  1382. The lamp is the old-fashoned kind that uses oil as fuel.  It is shining
  1383. brightly.
  1384. END_NOUN_DESCR
  1385.  
  1386. NOUN [DIAMOND RING]
  1387. RING
  1388. DIAMOND
  1389. There is a beautiful ring here.  It has a large diamond.
  1390. LOCATION [NoWhere]
  1391. POINTS 7
  1392. WEIGHT [noun weight]
  1393. WEARABLE
  1394. END_NOUN
  1395.  
  1396. NOUN_DESCR [DIAMOND RING]
  1397. The diamond is about 27 caret.  The ring would just fit you.
  1398. END_NOUN_DESCR
  1399.  
  1400. NOUN [DIAMOND BRACELET]
  1401. BRACELET
  1402. DIAMOND-STUDDED
  1403. There a diamond-studded bracelet here.
  1404. LOCATION [NoWhere]
  1405. POINTS 7
  1406. WEIGHT [noun weight]
  1407. WEARABLE
  1408. END_NOUN
  1409.  
  1410. NOUN_DESCR [DIAMOND BRACELET]
  1411. The bracelet is quite beautiful.  It is just covered with diamonds.
  1412. END_NOUN_DESCR
  1413.  
  1414. NOUN [bottle of water]
  1415. Bottle
  1416. water
  1417. There is a bottle of water here.
  1418. LOCATION [Large Hollow Stump]
  1419. WEIGHT [noun weight]
  1420. RELATED_NAME water
  1421. END_NOUN
  1422.  
  1423. NOUN_DESCR [bottle of water]
  1424. The bottle looks like a old classic Coke bottle.  It is full of water.
  1425. END_NOUN_DESCR
  1426.  
  1427. NOUN [bottle of oil]
  1428. Bottle
  1429. oil
  1430. There is a bottle of oil here.
  1431. LOCATION [NoWhere]
  1432. WEIGHT [noun weight]
  1433. RELATED_NAME oil
  1434. END_NOUN
  1435.  
  1436. NOUN_DESCR [bottle of oil]
  1437. The bottle looks like a old classic Coke bottle.  It is full of oil.
  1438. END_NOUN_DESCR
  1439.  
  1440. NOUN [empty bottle]
  1441. bottle
  1442. empty
  1443. There is an empty bottle here.
  1444. LOCATION [NoWhere]
  1445. WEIGHT [noun weight]
  1446. END_NOUN
  1447.  
  1448. NOUN_DESCR [empty bottle]
  1449. The bottle looks like a old classic Coke bottle.  It is empty.
  1450. END_NOUN_DESCR
  1451.  
  1452. ROOM [Root Chamber]
  1453. In Root Chamber
  1454. UP [Large Hollow Stump]
  1455. DOWN [Semi-dark Hole]
  1456. END_ROOM
  1457.  
  1458. ROOM_DESCR [Root Chamber]
  1459. You are in a small root chamber under the stump.  A dark hole leads downward.
  1460. END_ROOM_DESCR
  1461.  
  1462. COMMAND GO HOLE
  1463. AtLocation [Root Chamber]
  1464. GoToRoom [Semi-dark Hole]
  1465. PrintMessage "You carefully climb down into the hole below the root chamber."
  1466. BlankLine
  1467. DoneWithTurn
  1468. END_COMMAND
  1469.  
  1470. NOUN [POT OF RUBIES]
  1471. RUBIES
  1472. POT-OF
  1473. There is large pot of rubies here.
  1474. LOCATION [Root Chamber]
  1475. POINTS 8
  1476. NOUN_SYNONYMS POT
  1477. END_NOUN
  1478.  
  1479. NOUN_DESCR [POT OF RUBIES]
  1480. The pot is full of very red rubies.  It must be worth a fortune.
  1481. END_NOUN_DESCR
  1482.  
  1483.  
  1484. ROOM [Semi-dark Hole]
  1485. Semi-dark Hole
  1486. UP [Root Chamber]
  1487. END_ROOM
  1488.  
  1489. ROOM_DESCR [Semi-dark Hole]
  1490. You are in a semi-dark hole below the root chamber.
  1491. END_ROOM_DESCR
  1492.  
  1493. NOUN [locked door]
  1494. door
  1495. locked
  1496. There is small locked door at the end of the hole.
  1497. LOCATION [Semi-dark hole]
  1498. UNMOVABLE
  1499. END_NOUN
  1500.  
  1501. NOUN_DESCR [locked door]
  1502. The door is locked tight.  You try to shake it open, but you can't.
  1503. END_NOUN_DESCR
  1504.  
  1505. NOUN [Open doorway with hallway beyond]
  1506. door
  1507. open
  1508. There is an open door with a hallway beyond.
  1509. LOCATION [NoWhere]
  1510. NOUN_SYNONYMS HALLWAY
  1511. UNMOVABLE
  1512. END_NOUN
  1513.  
  1514. NOUN_DESCR [Open doorway with hallway beyond]
  1515. The door is wide open.  The hallway beyond it looks dim and forbidding.
  1516. END_NOUN_DESCR
  1517.  
  1518. COMMAND OPEN DOOR
  1519. AtLocation [Semi-dark hole]
  1520. Present [locked door]
  1521. PrintMessage "Sorry, but the door is locked."
  1522. DoneWithTurn
  1523. END_COMMAND
  1524.  
  1525. COMMAND CLOSE DOOR
  1526. AtLocation [Semi-dark hole]
  1527. Present [locked door]
  1528. PrintMessage "Sorry, but the door is already closed -- dummy!"
  1529. DoneWithTurn
  1530. END_COMMAND
  1531.  
  1532. COMMAND UNLOCK DOOR
  1533. AtLocation [Semi-dark hole]
  1534. Present [locked door]
  1535. NOT Present [ring of keys]
  1536. PrintMessage "Sorry, but the door is locked and you don't have the key."
  1537. DoneWithTurn
  1538. END_COMMAND
  1539.  
  1540. COMMAND UNLOCK DOOR
  1541. AtLocation [Semi-dark hole]
  1542. Present [locked door]
  1543. Present [ring of keys]
  1544. SwapLocations [locked door] [Open doorway with hallway beyond]
  1545. PrintMessage "You unlock the door and swing it open revealing a hallway beyond."
  1546. DoneWithTurn
  1547. END_COMMAND
  1548.  
  1549. COMMAND CLOSE DOOR
  1550. AtLocation [Semi-dark hole]
  1551. Present [Open doorway with hallway beyond]
  1552. SwapLocations [locked door] [Open doorway with hallway beyond]
  1553. PrintMessage "You close the door and it automatically locks."
  1554. DoneWithTurn
  1555. END_COMMAND
  1556.  
  1557. COMMAND GO DOOR
  1558. Present [open doorway with hallway beyond]
  1559. AtLocation [Semi-dark hole]
  1560. GoToRoom [Long Hallway]
  1561. PrintMessage "You go through the door and enter the hallway beyond."
  1562. BlankLine
  1563. DoneWithTurn
  1564. END_COMMAND
  1565.  
  1566.  
  1567. ROOM [Long Hallway]
  1568. Long Down-sloping Hallway
  1569. UP [Semi-dark hole]
  1570. DOWN [Large Cavern]
  1571. LIGHT [lit brass lamp]
  1572. END_ROOM
  1573.  
  1574. ROOM_DESCR [Long Hallway]
  1575. You are in a long hallway.  It slops downward into the darkness.
  1576. END_ROOM_DESCR
  1577.  
  1578.  
  1579. ROOM [large 8-sided room]
  1580. Large 8-sided Room
  1581. SOUTH [Large Tunnel]
  1582. LIGHT [lit brass lamp]
  1583. END_ROOM
  1584.  
  1585. ROOM_DESCR [large 8-sided room]
  1586. You are in a large 8-sided room.  The only exit is to the south.
  1587. END_ROOM_DESCR
  1588.  
  1589. HELP [large 8-sided room]
  1590. A voice booms out - "Read the sign in the meadow!"
  1591. END_HELP
  1592.  
  1593. NOUN [ROYAL HONEY]
  1594. HONEY
  1595. ROYAL
  1596. You see a large gob of royal honey.
  1597. LOCATION [large 8-sided room]
  1598. POINTS 8
  1599. WEIGHT [noun weight]
  1600. EDIBLE
  1601. DRINKABLE
  1602. NOUN_SYNONYMS GOB
  1603. END_NOUN
  1604.  
  1605. NOUN_DESCR [ROYAL HONEY]
  1606. The honey is sticky, but it tastes good.
  1607. END_NOUN_DESCR
  1608.  
  1609. COMMAND ATTACK BEAR
  1610. Present [thin black bear]
  1611. PrintMessage "The bear easily defends itself from your feeble attack."
  1612. DoneWithTurn
  1613. END_COMMAND
  1614.  
  1615. COMMAND DROP HONEY
  1616. IsCarrying [ROYAL HONEY]
  1617. Present [thin black bear]
  1618. SwapLocations [thin black bear] [sleeping bear]
  1619. Destroy [ROYAL HONEY]
  1620. PrintMessage "The bear eats the honey and falls asleep."
  1621. DoneWithTurn
  1622. END_COMMAND
  1623.  
  1624. COMMAND FEED BEAR
  1625. IsCarrying [ROYAL HONEY]
  1626. Present [thin black bear]
  1627. SwapLocations [thin black bear] [sleeping bear]
  1628. Destroy [ROYAL HONEY]
  1629. PrintMessage "The bear eats the honey and falls asleep."
  1630. DoneWithTurn
  1631. END_COMMAND
  1632.  
  1633. COMMAND GIVE HONEY TO BEAR
  1634. IsCarrying [ROYAL HONEY]
  1635. Present [thin black bear]
  1636. SwapLocations [thin black bear] [sleeping bear]
  1637. Destroy [ROYAL HONEY]
  1638. PrintMessage "The bear eats the honey and falls asleep."
  1639. DoneWithTurn
  1640. END_COMMAND
  1641.  
  1642. COMMAND GET HONEY
  1643. NOT IsCarrying [evil smelling mud]
  1644. Present [ROYAL HONEY]
  1645. Present [large african bees]
  1646. PrintMessage "The bees sting you and your die!"
  1647. GoToRoom [Limbo]
  1648. BlankLine
  1649. DoneWithTurn
  1650. END_COMMAND
  1651.  
  1652. COMMAND RELEASE BEES
  1653. IsCarrying [bees in a bottle]
  1654. Present [thin black bear]
  1655. PrintMessage [Bees madden the bear.  Bear then attacks you!]
  1656. SwapLocations [empty bottle] [bees in a bottle]
  1657. TurnFlagOFF [Bottle Full]
  1658. DropIt [large african bees]
  1659. GoToRoom [Limbo]
  1660. BlankLine
  1661. DoneWithTurn
  1662. END_COMMAND
  1663.  
  1664. COMMAND EMPTY BOTTLE
  1665. IsCarrying [bees in a bottle]
  1666. Present [thin black bear]
  1667. PrintMessage [Bees madden the bear.  Bear then attacks you!]
  1668. SwapLocations [empty bottle] [bees in a bottle]
  1669. TurnFlagOFF [Bottle Full]
  1670. DropIt [large african bees]
  1671. GoToRoom [Limbo]
  1672. BlankLine
  1673. DoneWithTurn
  1674. END_COMMAND
  1675.  
  1676. MESSAGE [Bees madden the bear.  Bear then attacks you!]
  1677. The bees madden the bear making it very angry.  The bear then attacks you!
  1678. You are history!
  1679. END_MESSAGE
  1680.  
  1681. COMMAND RELEASE BEES
  1682. IsCarrying [bees in a bottle]
  1683. NOT IsCarrying [evil smelling mud]
  1684. PrintMessage "The bees sting you and your die!"
  1685. SwapLocations [empty bottle] [bees in a bottle]
  1686. TurnFlagOFF [Bottle Full]
  1687. DropIt [large african bees]
  1688. GoToRoom [Limbo]
  1689. BlankLine
  1690. DoneWithTurn
  1691. END_COMMAND
  1692.  
  1693. COMMAND EMPTY BOTTLE
  1694. IsCarrying [bees in a bottle]
  1695. NOT IsCarrying [evil smelling mud]
  1696. PrintMessage "The bees sting you and your die!"
  1697. SwapLocations [empty bottle] [bees in a bottle]
  1698. TurnFlagOFF [Bottle Full]
  1699. DropIt [large african bees]
  1700. GoToRoom [Limbo]
  1701. BlankLine
  1702. DoneWithTurn
  1703. END_COMMAND
  1704.  
  1705. COMMAND RELEASE BEES
  1706. IsCarrying [bees in a bottle]
  1707. IsCarrying [evil smelling mud]
  1708. PrintMessage "You free the bees and they swarm around you but do not bite."
  1709. SwapLocations [empty bottle] [bees in a bottle]
  1710. TurnFlagOFF [Bottle Full]
  1711. DropIt [large african bees]
  1712. DoneWithTurn
  1713. END_COMMAND
  1714.  
  1715. COMMAND DROP BOTTLE
  1716. IsCarrying [bees in a bottle]
  1717. IsCarrying [evil smelling mud]
  1718. PrintMessage "You drop the bees and they swarm around you but do not bite."
  1719. SwapLocations [empty bottle] [bees in a bottle]
  1720. TurnFlagOFF [Bottle Full]
  1721. DropIt [large african bees]
  1722. DoneWithTurn
  1723. END_COMMAND
  1724.  
  1725. COMMAND GET BEES
  1726. NOT IsCarrying [evil smelling mud]
  1727. Present [large african bees]
  1728. PrintMessage "The bees sting you and your die!"
  1729. GoToRoom [Limbo]
  1730. BlankLine
  1731. DoneWithTurn
  1732. END_COMMAND
  1733.  
  1734. COMMAND ANY
  1735. Chance 8 ; 8% chance that bees sting you
  1736. NOT Present [evil smelling mud]
  1737. Present [large african bees]
  1738. PrintMessage "The bees sting you and your die!"
  1739. GoToRoom [Limbo]
  1740. BlankLine
  1741. DoneWithTurn
  1742. END_COMMAND
  1743.  
  1744. COMMAND GET BEES
  1745. Present [evil smelling mud]
  1746. Present [large african bees]
  1747. NOT Present [empty bottle]
  1748. PrintMessage "You don't have anything to put the bees in.  You need a container."
  1749. DoneWithTurn
  1750. END_COMMAND
  1751.  
  1752. COMMAND GET BEES
  1753. IsCarrying [evil smelling mud]
  1754. Present [large african bees]
  1755. Present [empty bottle]
  1756. PrintMessage "You put the bees in the bottle.  They are not happy!"
  1757. Destroy [empty bottle]
  1758. GetIt [bees in a bottle]
  1759. TurnFlagON [Bottle Full]
  1760. DoneWithTurn
  1761. END_COMMAND
  1762.  
  1763. COMMAND ANY
  1764. Chance 8 ; 8% chance that bees suffocate in bottle
  1765. IsCarrying [bees in a bottle]
  1766. SwapLocations [empty bottle] [bees in a bottle]
  1767. PrintMessage "The bees all suffocated in the bottle.  You empty them out."
  1768. BlankLine
  1769. END_COMMAND
  1770.  
  1771. NOUN [large african bees]
  1772. bees
  1773. killer
  1774. A swarm of large African "killer" bees is buzzing around your head.
  1775. LOCATION [large 8-sided room]
  1776. WEIGHT [noun weight]
  1777. END_NOUN
  1778.  
  1779. NOUN_DESCR [large african bees]
  1780. The bees are swarming close to your head.  They are very noisy.  Be careful!
  1781. END_NOUN_DESCR
  1782.  
  1783. NOUN [bees in a bottle]
  1784. bees
  1785. bottle-of
  1786. The bees are buzzing angryily in the bottle.
  1787. LOCATION [NoWhere]
  1788. WEIGHT [noun weight]
  1789. RELATED_NAME bees
  1790. END_NOUN
  1791.  
  1792. NOUN_DESCR [bees in a bottle]
  1793. The bees in the bottle do not look happy.  You had better not let them out.
  1794. END_NOUN_DESCR
  1795.  
  1796.  
  1797. ROOM [Large Tunnel]
  1798. Large Tunnel
  1799. NORTH [large 8-sided room]
  1800. SOUTH [Large Cavern]
  1801. LIGHT [lit brass lamp]
  1802. END_ROOM
  1803.  
  1804. ROOM_DESCR [Large Tunnel]
  1805. You are in a large tunnel which runs north and south.
  1806. END_ROOM_DESCR
  1807.  
  1808.  
  1809. ROOM [Large Cavern]
  1810. Large Cavern
  1811. NORTH [Large Tunnel]
  1812. SOUTH [royal anteroom]
  1813. WEST [RAM of an IBM-PC]
  1814. UP [Long Hallway]
  1815. DOWN [maze of pits #1]
  1816. LIGHT [lit brass lamp]
  1817. END_ROOM
  1818.  
  1819. ROOM_DESCR [Large Cavern]
  1820. You are in the middle of large cavern.  There are exits in all directions.
  1821. END_ROOM_DESCR
  1822.  
  1823.  
  1824. ROOM [RAM of an IBM-PC]
  1825. RAM of an IBM-PC
  1826. EAST [Large Cavern]
  1827. LIGHT [lit brass lamp]
  1828. END_ROOM
  1829.  
  1830. ROOM_DESCR [RAM of an IBM-PC]
  1831. You are in the memory RAM of an IBM-PC.  You must have taken a wrong turn!
  1832. END_ROOM_DESCR
  1833.  
  1834.  
  1835. ROOM [royal anteroom]
  1836. Royal Anteroom
  1837. NORTH [Large Cavern]
  1838. UP [Royal Chamber]
  1839. LIGHT [lit brass lamp]
  1840. END_ROOM
  1841.  
  1842. ROOM_DESCR [royal anteroom]
  1843. You are in the Royal Anteroom.  A large cavern lies to the north.
  1844. END_ROOM_DESCR
  1845.  
  1846. NOUN [stairs]
  1847. stairs
  1848. stone
  1849. A set of stone stairs lead upward into the darkness.
  1850. LOCATION [royal anteroom]
  1851. UNMOVABLE
  1852. END_NOUN
  1853.  
  1854. NOUN_DESCR [stairs]
  1855. The stairs are cut into the rock and lead upward.
  1856. END_NOUN_DESCR
  1857.  
  1858. NOUN [empty wine bladder]
  1859. bladder
  1860. wine
  1861. You see an empty wine bladder here.
  1862. LOCATION [royal anteroom]
  1863. WEIGHT [noun weight]
  1864. END_NOUN
  1865.  
  1866. NOUN_DESCR [empty wine bladder]
  1867. The bladder is the kind used to hold wine.  It is currently empty.
  1868. END_NOUN_DESCR
  1869.  
  1870. NOUN [distended gas bladder]
  1871. bladder
  1872. gas
  1873. You see a distended bladder here.
  1874. LOCATION [NoWhere]
  1875. WEIGHT [noun weight]
  1876. END_NOUN
  1877.  
  1878. NOUN_DESCR [distended gas bladder]
  1879. The bladder is quite distended and filled with gas.
  1880. END_NOUN_DESCR
  1881.  
  1882.  
  1883. ROOM [Royal Chamber]
  1884. Royal Chamber
  1885. DOWN [royal anteroom]
  1886. LIGHT [lit brass lamp]
  1887. END_ROOM
  1888.  
  1889. ROOM_DESCR [Royal Chamber]
  1890. You are in the Royal Chamber.  Stairs lead downward.
  1891. END_ROOM_DESCR
  1892.  
  1893. HELP [Royal Chamber]
  1894. A voice booms out - "Blow it up!"
  1895. END_HELP
  1896.  
  1897. COMMAND LIGHT GAS
  1898. InRoom [distended gas bladder]
  1899. Present [Flint and steel]
  1900. Present [bricked up window]
  1901. PrintMessage "The gas bladder blows up!  It blows a hole in the brick wall."
  1902. SwapLocations [bricked up window] [bricked up window with a hole in it]
  1903. Destroy [distended gas bladder]
  1904. PutInCurrentRoom [loose fire bricks]
  1905. DoneWithTurn (* no further action -- get next input *)
  1906. END_COMMAND
  1907.  
  1908. COMMAND LIGHT BLADDER
  1909. InRoom [distended gas bladder]
  1910. Present [Flint and steel]
  1911. Present [bricked up window]
  1912. PrintMessage "The gas bladder blows up!  It blows a hole in the brick wall."
  1913. SwapLocations [bricked up window] [bricked up window with a hole in it]
  1914. Destroy [distended gas bladder]
  1915. PutInCurrentRoom [loose fire bricks]
  1916. DoneWithTurn (* no further action -- get next input *)
  1917. END_COMMAND
  1918.  
  1919. NOUN [bricked up window]
  1920. window
  1921. bricked-up
  1922. There is a bricked-up window in the west wall.
  1923. LOCATION [Royal Chamber]
  1924. UNMOVABLE
  1925. END_NOUN
  1926.  
  1927. NOUN_DESCR [bricked up window]
  1928. The window has been bricked up and there is no way to remove the bricks.
  1929. END_NOUN_DESCR
  1930.  
  1931. COMMAND GET BRICKS
  1932. Present [bricked up window]
  1933. DescribeThing [bricked up window]
  1934. DoneWithTurn
  1935. END_COMMAND
  1936.  
  1937. NOUN [bricked up window with a hole in it]
  1938. hole
  1939. none
  1940. There is a hole in the middle of a bricked-up window in the west wall.
  1941. LOCATION [NoWhere]
  1942. UNMOVABLE
  1943. END_NOUN
  1944.  
  1945. NOUN_DESCR [bricked up window with a hole in it]
  1946. The hole is just large enough to squeeze through.  Beyond the bricked-up
  1947. window is a ledge.
  1948. END_NOUN_DESCR
  1949.  
  1950. COMMAND GET BRICKS
  1951. Present [loose fire bricks]
  1952. PrintMessage "These suckers are heavy!!"
  1953. GetIT [loose fire bricks]
  1954. DoneWithTurn
  1955. END_COMMAND
  1956.  
  1957. NOUN [loose fire bricks]
  1958. bricks
  1959. loose
  1960. There are several loose fire bricks laying about.
  1961. LOCATION [NoWhere]
  1962. WEIGHT [noun weight]
  1963. END_NOUN
  1964.  
  1965. NOUN_DESCR [loose fire bricks]
  1966. The bricks are a special kind used as fire-retardent material.
  1967. END_NOUN_DESCR
  1968.  
  1969. COMMAND GO LEDGE
  1970. Present [bricked up window with a hole in it]
  1971. AtLocation [Royal Chamber]
  1972. GoToRoom [On Narrow Ledge]
  1973. PrintMessage "You carefully climb through the hole to the ledge beyond."
  1974. BlankLine
  1975. DoneWithTurn
  1976. END_COMMAND
  1977.  
  1978. COMMAND GO HOLE
  1979. Present [bricked up window with a hole in it]
  1980. AtLocation [Royal Chamber]
  1981. GoToRoom [On Narrow Ledge]
  1982. PrintMessage "You carefully climb through the hole to the ledge beyond."
  1983. BlankLine
  1984. DoneWithTurn
  1985. END_COMMAND
  1986.  
  1987. ROOM [On Narrow Ledge]
  1988. On Narrow Ledge
  1989. WEST [Royal Chamber]
  1990. LIGHT [lit brass lamp]
  1991. END_ROOM
  1992.  
  1993. ROOM_DESCR [On Narrow Ledge]
  1994. You are on a narrow ledge by a chasm.  Across the chasm is the Throne Room.
  1995. END_ROOM_DESCR
  1996.  
  1997. HELP [On Narrow Ledge]
  1998. A voice booms out - "Try:  EXAMINE, JUMP, SWIM, CLIMB, THROW, FIND, GO, TAKE,
  1999. INVENTORY, SCORE."
  2000. END_HELP
  2001.  
  2002. COMMAND GO THRONE
  2003. AtLocation [On Narrow Ledge]
  2004. PrintMessage "How?  Jump?"
  2005. DoneWithTurn
  2006. END_COMMAND
  2007.  
  2008. COMMAND YES
  2009. PrintMessage "You sure are a positive person!"
  2010. DoneWithTurn
  2011. END_COMMAND
  2012.  
  2013. COMMAND NO
  2014. PrintMessage "You sure are a negative person!"
  2015. DoneWithTurn
  2016. END_COMMAND
  2017.  
  2018. COMMAND JUMP
  2019. NOT IsCarrying [loose fire bricks]
  2020. AtLocation [On Narrow Ledge]
  2021. GoToRoom [Ledge by the Throne Room]
  2022. PrintMessage "You take a running leap and sail across the chasm."
  2023. BlankLine
  2024. DoneWithTurn
  2025. END_COMMAND
  2026.  
  2027. COMMAND JUMP
  2028. NOT IsCarrying [loose fire bricks]
  2029. AtLocation [Ledge by the Throne Room]
  2030. GoToRoom [On Narrow Ledge]
  2031. PrintMessage "You take a running leap and sail across the chasm."
  2032. BlankLine
  2033. DoneWithTurn
  2034. END_COMMAND
  2035.  
  2036. COMMAND JUMP
  2037. IsCarrying [loose fire bricks]
  2038. AtLocation [Ledge by the Throne Room]
  2039. OR
  2040. AtLocation [On Narrow Ledge]
  2041. PrintMessage "You take a running leap and sail HALF-WAY across the chasm."
  2042. GoToRoom [Limbo]
  2043. BlankLine
  2044. DoneWithTurn
  2045. END_COMMAND
  2046.  
  2047. COMMAND GO THRONE
  2048. Present [thin black bear]
  2049. AtLocation [Ledge by the Throne Room]
  2050. PrintMessage "The bear blocks your way."
  2051. DoneWithTurn
  2052. END_COMMAND
  2053.  
  2054. COMMAND GO THRONE
  2055. NOT Present [thin black bear]
  2056. AtLocation [Ledge by the Throne Room]
  2057. PrintMessage "You walk along the ledge to the East until you find it."
  2058. GoToRoom [Throne Room]
  2059. DoneWithTurn
  2060. END_COMMAND
  2061.  
  2062. COMMAND GET ANY
  2063. Present [thin black bear]
  2064. PrintMessage "The bear wont let you get the $noun$."
  2065. DoneWithTurn
  2066. END_COMMAND
  2067.  
  2068. ROOM [Ledge by the Throne Room]
  2069. On Ledge
  2070. LIGHT [lit brass lamp]
  2071. END_ROOM
  2072.  
  2073. ROOM_DESCR [Ledge by the Throne Room]
  2074. You are on a ledge by the Throne Room.
  2075. END_ROOM_DESCR
  2076.  
  2077. HELP [Ledge by the Throne Room]
  2078. A voice booms out - "Try:  EXAMINE, JUMP, SWIM, CLIMB, THROW, FIND, GO, TAKE,
  2079. INVENTORY, SCORE."
  2080. END_HELP
  2081.  
  2082. NOUN [invisible Throne]
  2083. Throne
  2084. invisible
  2085. INVISIBLE -- just so menu-driven parser can find the noun THRONE in this room
  2086. LOCATION [Ledge by the Throne Room]
  2087. UNMOVABLE
  2088. END_NOUN
  2089.  
  2090. NOUN_DESCR [Invisible Throne]
  2091. You can't see it very well from where you are, but from this distance it looks
  2092. beautifully made.  It appears to be carved out of a solid piece of marble.
  2093. END_NOUN_DESCR
  2094.  
  2095. NOUN [thin black bear]
  2096. bear
  2097. black
  2098. There is a thin black bear roaming about the ledge area.
  2099. LOCATION [Ledge by the Throne Room]
  2100. UNMOVABLE
  2101. END_NOUN
  2102.  
  2103. NOUN_DESCR [thin black bear]
  2104. The black bear looks quite frightening.
  2105. END_NOUN_DESCR
  2106.  
  2107. NOUN [sleeping bear]
  2108. bear
  2109. sleeping
  2110. A black bear lies sleeping on the ground.
  2111. LOCATION [NoWhere]
  2112. UNMOVABLE
  2113. END_NOUN
  2114.  
  2115. NOUN_DESCR [sleeping bear]
  2116. The bear is really sawing them off.  He looks like he is hibernating.
  2117. END_NOUN_DESCR
  2118.  
  2119. NOUN [dead bear]
  2120. bear
  2121. dead
  2122. The body of a bear lies to one side.  He is quite dead.
  2123. LOCATION [NoWhere]
  2124. UNMOVABLE
  2125. END_NOUN
  2126.  
  2127. NOUN_DESCR [dead bear]
  2128. The bear is dead.  Aren't you ashamed of yourself?
  2129. END_NOUN_DESCR
  2130.  
  2131. COMMAND SCREAM
  2132. Present [thin black bear]
  2133. Destroy [thin black bear]
  2134. SendToRoom [dead bear] [Bottom of a Chasm]
  2135. PrintMessage [The bear is startled and fell off the ledge!]
  2136. DoneWithTurn
  2137. END_COMMAND
  2138.  
  2139. MESSAGE [The bear is startled and fell off the ledge!]
  2140. The bear is startled and falls off the ledge to the chasm far below!  There
  2141. is no way that it could have survived that fall.
  2142. END_MESSAGE
  2143.  
  2144. NOUN [MAGIC MIRROR]
  2145. MIRROR
  2146. MAGIC
  2147. There is a magic mirror here.
  2148. LOCATION [Ledge by the Throne Room]
  2149. POINTS 8
  2150. WEIGHT [noun weight]
  2151. END_NOUN
  2152.  
  2153. NOUN_DESCR [MAGIC MIRROR]
  2154. Your smiling face gazes back at you from the mirror.
  2155. END_NOUN_DESCR
  2156.  
  2157. NOUN [broken glass]
  2158. glass
  2159. broken
  2160. There are several pieces of broken glass here.
  2161. LOCATION [NoWhere]
  2162. WEIGHT [noun weight]
  2163. END_NOUN
  2164.  
  2165. NOUN_DESCR [broken glass]
  2166. The broken glass look like the last remains of a mirror.
  2167. END_NOUN_DESCR
  2168.  
  2169. COMMAND DROP MIRROR
  2170. IsCarrying [MAGIC MIRROR]
  2171. InRoom [THICK PERSIAN RUG]
  2172. DropIt [MAGIC MIRROR]
  2173. PrintMessage [Mirror lands softly on the rug]
  2174. DoneWithTurn
  2175. END_COMMAND
  2176.  
  2177. MESSAGE [Mirror lands softly on the rug]
  2178. Mirror lands softly on the rug - lights up and says: "DRAGON STINGS and fades."
  2179. I don't get it - hope you do.
  2180. END_MESSAGE
  2181.  
  2182. COMMAND DROP MIRROR
  2183. IsCarrying [MAGIC MIRROR]
  2184. NOT InRoom [THICK PERSIAN RUG]
  2185. DropIt [MAGIC MIRROR]
  2186. SwapLocations [broken glass] [MAGIC MIRROR]
  2187. PrintMessage [The mirror hits the floor]
  2188. DoneWithTurn
  2189. END_COMMAND
  2190.  
  2191. MESSAGE [The mirror hits the floor]
  2192. The mirror hits the floor and shatters into a million pieces.
  2193. END_MESSAGE
  2194.  
  2195. ROOM [Throne Room]
  2196. Throne Room
  2197. WEST [Ledge by the Throne Room]
  2198. LIGHT [lit brass lamp]
  2199. END_ROOM
  2200.  
  2201. ROOM_DESCR [Throne Room]
  2202. You are in the Throne Room.  There is a ledge to the west.
  2203. END_ROOM_DESCR
  2204.  
  2205. NOUN [Marble Throne]
  2206. Throne
  2207. Marble
  2208. There is a marble throne against one wall.
  2209. LOCATION [Throne Room],
  2210. UNMOVABLE
  2211. NOUN_SYNONYM Room
  2212. END_NOUN
  2213.  
  2214. NOUN_DESCR [Marble Throne]
  2215. The throne is beautifully made.  It is carved out of a solid piece of fine
  2216. marble.
  2217. END_NOUN_DESCR
  2218.  
  2219. COMMAND SIT
  2220. Present [Marble Throne]
  2221. PrintMessage "You sit on the throne for a few minutes and then get up."
  2222. DoneWithTurn
  2223. END_COMMAND
  2224.  
  2225. COMMAND SIT
  2226. PrintMessage "You don't have time to sit down."
  2227. DoneWithTurn
  2228. END_COMMAND
  2229.  
  2230. NOUN [GOLD CROWN]
  2231. CROWN
  2232. GOLD
  2233. There is a gold crown here.
  2234. LOCATION [Throne Room],
  2235. WEIGHT [noun weight]
  2236. POINTS 8
  2237. END_NOUN
  2238.  
  2239. NOUN_DESCR [GOLD CROWN]
  2240. The crown is made from solid gold.  It must be worth a fortune.
  2241. END_NOUN_DESCR
  2242.  
  2243.  
  2244. ROOM [maze of pits #1]
  2245. Maze of Pits
  2246. NORTH [Maze of Pits #2]
  2247. SOUTH [Maze of Pits #3]
  2248. EAST [Maze of Pits #3]
  2249. DOWN [Maze of Pits #2]
  2250. LIGHT [lit brass lamp]
  2251. END_ROOM
  2252.  
  2253. ROOM_DESCR [maze of pits #1]
  2254. You are in a maze of pits.  Tunnels lead off in all directions.
  2255. END_ROOM_DESCR
  2256.  
  2257. HELP [maze of pits #1]
  2258. A voice booms out - "You may need magic here!"
  2259. END_HELP
  2260.  
  2261.  
  2262. ROOM [maze of pits #2]
  2263. Maze of Pits
  2264. WEST [Maze of Pits #5]
  2265. UP [Maze of Pits #1]
  2266. LIGHT [lit brass lamp]
  2267. END_ROOM
  2268.  
  2269. ROOM_DESCR [maze of pits #2]
  2270. You are in a maze of pits.  Tunnels lead off in all directions.
  2271. END_ROOM_DESCR
  2272.  
  2273. HELP [maze of pits #2]
  2274. A voice booms out - "You may need magic here!"
  2275. END_HELP
  2276.  
  2277.  
  2278. ROOM [maze of pits #3]
  2279. Maze of Pits
  2280. NORTH [Maze of Pits #1]
  2281. EAST [Maze of Pits #2]
  2282. WEST [Maze of Pits #1]
  2283. UP [Maze of Pits #2]
  2284. LIGHT [lit brass lamp]
  2285. END_ROOM
  2286.  
  2287. ROOM_DESCR [maze of pits #3]
  2288. You are in a maze of pits.  Tunnels lead off in all directions.
  2289. END_ROOM_DESCR
  2290.  
  2291. HELP [maze of pits #3]
  2292. A voice booms out - "You may need magic here!"
  2293. END_HELP
  2294.  
  2295.  
  2296. ROOM [maze of pits #6]
  2297. Maze of Pits
  2298. SOUTH [Maze of Pits #4]
  2299. UP [Maze of Pits #5]
  2300. DOWN [Maze of Pits #4]
  2301. LIGHT [lit brass lamp]
  2302. END_ROOM
  2303.  
  2304. ROOM_DESCR [maze of pits #6]
  2305. You are in a maze of pits.  Tunnels lead off in all directions.
  2306. END_ROOM_DESCR
  2307.  
  2308. HELP [maze of pits #6]
  2309. A voice booms out - "You may need magic here!"
  2310. END_HELP
  2311.  
  2312. ROOM [maze of pits #5]
  2313. Maze of Pits
  2314. NORTH [Maze of Pits #4]
  2315. SOUTH [Maze of Pits #1]
  2316. EAST [Maze of Pits #2]
  2317. WEST [Maze of Pits #6]
  2318. UP [Maze of Pits #6]
  2319. DOWN [Maze of Pits #4]
  2320. LIGHT [lit brass lamp]
  2321. END_ROOM
  2322.  
  2323. ROOM_DESCR [maze of pits #5]
  2324. You are in a maze of pits.  Tunnels lead off in all directions.
  2325. END_ROOM_DESCR
  2326.  
  2327. HELP [maze of pits #5]
  2328. A voice booms out - "You may need magic here!"
  2329. END_HELP
  2330.  
  2331. NOUN [strange scratchings]
  2332. scratchings
  2333. strange
  2334. There are some strange scratchings on the rock wall.
  2335. LOCATION [Maze of Pits #5]
  2336. UNMOVABLE
  2337. END_NOUN
  2338.  
  2339. NOUN_DESCR [strange scratchings]
  2340. The strange scratchings spell out - ALADDIN WAS HERE!
  2341. END_NOUN_DESCR
  2342.  
  2343.  
  2344. ROOM [maze of pits #4]
  2345. Maze of Pits
  2346. NORTH [Maze of Pits #4]
  2347. SOUTH [Maze of Pits #1]
  2348. EAST [Maze of Pits #1]
  2349. WEST [Maze of Pits #3]
  2350. UP [Maze of Pits #5]
  2351. DOWN [Bottom of a Chasm]
  2352. LIGHT [lit brass lamp]
  2353. END_ROOM
  2354.  
  2355. ROOM_DESCR [maze of pits #4]
  2356. You are in a maze of pits.  Tunnels lead off in all directions.
  2357. END_ROOM_DESCR
  2358.  
  2359. HELP [maze of pits #4]
  2360. A voice booms out - "You may need magic here!"
  2361. END_HELP
  2362.  
  2363. NOUN [arrow pointing down]
  2364. arrow
  2365. none
  2366. You see an arrow pointing down.
  2367. LOCATION [Maze of Pits #4]
  2368. UNMOVABLE
  2369. END_NOUN
  2370.  
  2371. NOUN_DESCR [arrow pointing down]
  2372. The arrow is pointing down.  What more do you need to know about it?
  2373. END_NOUN_DESCR
  2374.  
  2375. NOUN [THICK PERSIAN RUG]
  2376. RUG
  2377. PERSIAN
  2378. There is a thick Persian rug here.
  2379. LOCATION [Maze of Pits #4]
  2380. WEIGHT [noun weight]
  2381. POINTS 8
  2382. END_NOUN
  2383.  
  2384. NOUN_DESCR [THICK PERSIAN RUG]
  2385. The rug looks quite old.  The craftmanship is excellent.
  2386. END_NOUN_DESCR
  2387.  
  2388. COMMAND AWAY
  2389. IsCarrying [THICK PERSIAN RUG]
  2390. AtLocation [Maze of Pits #4]
  2391. GoToRoom [Semi-dark Hole]
  2392. PrintMessage [You are magically wisked away on your carpet to...]
  2393. BlankLine
  2394. DoneWithTurn
  2395. END_COMMAND
  2396.  
  2397. MESSAGE [You are magically wisked away on your carpet to...]
  2398. You are magically wisked away on your carpet to...
  2399. END_MESSAGE
  2400.  
  2401. COMMAND AWAY
  2402. IsCarrying [THICK PERSIAN RUG]
  2403. AtLocation [Semi-dark Hole]
  2404. GoToRoom [Sunny Meadow]
  2405. PrintMessage [You are magically wisked away on your carpet to...]
  2406. BlankLine
  2407. DoneWithTurn
  2408. END_COMMAND
  2409.  
  2410. COMMAND AWAY
  2411. IsCarrying [THICK PERSIAN RUG]
  2412. AtLocation [Semi-dark Hole]
  2413. GoToRoom [Maze of Pits #4]
  2414. PrintMessage [You are magically wisked away on your carpet to...]
  2415. BlankLine
  2416. DoneWithTurn
  2417. END_COMMAND
  2418.  
  2419. COMMAND AWAY
  2420. IsCarrying [THICK PERSIAN RUG]
  2421. AtLocation [Sunny Meadow]
  2422. GoToRoom [Semi-dark Hole]
  2423. PrintMessage [You are magically wisked away on your carpet to...]
  2424. BlankLine
  2425. DoneWithTurn
  2426. END_COMMAND
  2427.  
  2428. COMMAND AWAY
  2429. PrintMessage [Nothing happens]
  2430. DoneWithTurn
  2431. END_COMMAND
  2432.  
  2433.  
  2434. ROOM [Bottom of a Chasm]
  2435. Bottom of a Chasm
  2436. UP [Maze of Pits #4]
  2437. LIGHT [lit brass lamp]
  2438. END_ROOM
  2439.  
  2440. ROOM_DESCR [Bottom of a Chasm]
  2441. You are at the bottom of a chasm.  Far above you are two ledges.  One ledge
  2442. has a bricked-up window just above it.
  2443. END_ROOM_DESCR
  2444.  
  2445. COMMAND GO LEDGE
  2446. AtLocation [Bottom of a Chasm]
  2447. PrintMessage "Sorry, but that is impossible.  The ledge is too far above you!"
  2448. DoneWithTurn
  2449. END_COMMAND
  2450.  
  2451. NOUN [GOLDEN NET]
  2452. NET
  2453. GOLDEN
  2454. There is golden net here.
  2455. LOCATION [Bottom of a Chasm]
  2456. POINTS 8
  2457. WEIGHT [noun weight]
  2458. END_NOUN
  2459.  
  2460. NOUN_DESCR [GOLDEN NET]
  2461. The golden net looks like the kind used to catch fish.  Does that give you any
  2462. ideas?
  2463. END_NOUN_DESCR
  2464.  
  2465. NOUN [sign- MAGIC WORD IS AWAY.]
  2466. sign
  2467. large
  2468. There is a large sign here.
  2469. LOCATION [Bottom of a Chasm]
  2470. UNMOVABLE
  2471. END_NOUN
  2472.  
  2473. NOUN_DESCR [sign- MAGIC WORD IS AWAY.]
  2474. The sign says - MAGIC WORD IS AWAY. LOOK LA -  The rest of sign is missing.
  2475. END_NOUN_DESCR
  2476.  
  2477. NOUN [invisible dam]
  2478. dam
  2479. xxxxinvisible
  2480. INVISIBLE
  2481. LOCATION [Bottom of a Chasm]
  2482. UNMOVABLE
  2483. END_NOUN
  2484.  
  2485. NOUN_DESCR [invisible dam]
  2486. What dam?  But, it sounds like a good idea.  Maybe you should build one.
  2487. END_NOUN_DESCR
  2488.  
  2489. NOUN [stream of lava]
  2490. lava
  2491. stream
  2492. There is a stream of lava flowing through the room.
  2493. LOCATION [Bottom of a Chasm]
  2494. UNMOVABLE
  2495. END_NOUN
  2496.  
  2497. NOUN_DESCR [stream of lava]
  2498. The stream of lava is very hot and gives the room an errie light.
  2499. END_NOUN_DESCR
  2500.  
  2501. COMMAND GET LAVA
  2502. Present [stream of lava]
  2503. PrintMessage "Sorry, but that is impossible.  The lava is too hot!"
  2504. DoneWithTurn
  2505. END_COMMAND
  2506.  
  2507. COMMAND GO LAVA
  2508. Present [stream of lava]
  2509. PrintMessage "Sorry, but that is impossible.  The lava is too hot!"
  2510. DoneWithTurn
  2511. END_COMMAND
  2512.  
  2513. COMMAND BUILD DAM
  2514. Present [loose fire bricks]
  2515. Present [stream of lava]
  2516. SwapLocations [lava stream with a brick dam] [stream of lava]
  2517. PrintMessage "You build a dam across the lava."
  2518. Destroy [invisible dam]
  2519. DropIt [FIRESTONE (hot)]
  2520. DoneWithTurn
  2521. END_COMMAND
  2522.  
  2523. COMMAND EXAMINE LAVA
  2524. Present [FIRESTONE (hot)]
  2525. Present [lava stream with a brick dam]
  2526. PrintMessage "By the dam you can see a firestone (quite rare)."
  2527. DoneWithTurn
  2528. END_COMMAND
  2529.  
  2530. COMMAND GET FIRESTONE
  2531. Present [FIRESTONE (hot)]
  2532. PrintMessage "It burns your hands as tyou try to pick it up.  It is too hot!"
  2533. DoneWithTurn
  2534. END_COMMAND
  2535.  
  2536. COMMAND POUR WATER
  2537. Present [bottle of water]
  2538. Present [FIRESTONE (hot)]
  2539. SwapLocations [bottle of water] [empty bottle]
  2540. TurnFlagOFF [Bottle Full]
  2541. SwapLocations [FIRESTONE (hot)] [FIRESTONE (cold now)]
  2542. PrintMessage "You pour the water on the firestone and it cools off."
  2543. DoneWithTurn
  2544. END_COMMAND
  2545.  
  2546. COMMAND EMPTY BOTTLE
  2547. Present [bottle of water]
  2548. Present [FIRESTONE (hot)]
  2549. SwapLocations [bottle of water] [empty bottle]
  2550. TurnFlagOFF [Bottle Full]
  2551. SwapLocations [FIRESTONE (hot)] [FIRESTONE (cold now)]
  2552. PrintMessage "You empty the water on the firestone and it cools off."
  2553. DoneWithTurn
  2554. END_COMMAND
  2555.  
  2556. NOUN [lava stream with a brick dam]
  2557. stream
  2558. lava
  2559. There is lava stream with a brick dam across it.
  2560. LOCATION [NoWhere]
  2561. NOUN_SYNONYMS DAM
  2562. UNMOVABLE
  2563. END_NOUN
  2564.  
  2565. NOUN_DESCR [lava stream with a brick dam]
  2566. The lava stream has been damed with a brick dam.
  2567. END_NOUN_DESCR
  2568.  
  2569. NOUN [FIRESTONE (cold now)]
  2570. FIRESTONE
  2571. cold
  2572. There is a beautiful firestone here.  It is now cold.
  2573. LOCATION [NoWhere]
  2574. POINTS 8
  2575. WEIGHT [noun weight]
  2576. END_NOUN
  2577.  
  2578. NOUN_DESCR [FIRESTONE (cold now)]
  2579. The firestone is a very valuable gem stone.  It is quite beautiful.
  2580. END_NOUN_DESCR
  2581.  
  2582. NOUN [FIRESTONE (hot)]
  2583. FIRESTONE
  2584. hot
  2585. There is a beautiful firestone here.  It is too hot to touch.
  2586. LOCATION [NoWhere]
  2587. POINTS 8
  2588. WEIGHT [noun weight]
  2589. END_NOUN
  2590.  
  2591. NOUN_DESCR [FIRESTONE (hot)]
  2592. The firestone is a very valuable gem stone.  It is quite beautiful.
  2593. It is too hot to touch.
  2594. END_NOUN_DESCR
  2595.  
  2596.  
  2597. ROOM [Limbo]
  2598. Limbo!
  2599. SOUTH [In Real Trouble!]
  2600. EAST [Forest]
  2601. WEST [In Real Trouble!]
  2602. UP [Top of an old oak tree]
  2603. DOWN [In Real Trouble!]
  2604. END_ROOM
  2605.  
  2606. ROOM_DESCR [Limbo]
  2607. You are in the middle of a large misty room with strange letters over the
  2608. exits.
  2609. END_ROOM_DESCR
  2610.  
  2611. NOUN [sign says - LIMBO!]
  2612. sign
  2613. neon
  2614. A neon sign flashs - LIMBO.  FIND THE CORRECT EXIT AND LIVE AGAIN!
  2615. LOCATION [Limbo]
  2616. UNMOVABLE
  2617. END_NOUN
  2618.  
  2619. NOUN_DESCR [sign says - LIMBO!]
  2620. The sign still proclaims - LIMBO.  FIND THE CORRECT EXIT AND LIVE AGAIN!
  2621. END_NOUN_DESCR
  2622.  
  2623.  
  2624. ROOM [In Real Trouble!]
  2625. In Real Trouble
  2626. Game_End
  2627. END_ROOM
  2628.  
  2629. ROOM_DESCR [In Real Trouble!]
  2630. You are in real trouble here.  There is a guy with a pitchfork standing in
  2631. front of you!
  2632. END_ROOM_DESCR
  2633.  
  2634. COMMAND WAKE ANY
  2635. PrintMessage [Nothing happens]
  2636. DoneWithTurn
  2637. END_COMMAND
  2638.  
  2639. MESSAGE [Nothing happens]
  2640. Stangely enough, nothing happens.
  2641. END_MESSAGE
  2642.  
  2643. COMMAND STOP
  2644. PrintMessage "To stop game say -- QUIT"
  2645. DoneWithTurn
  2646. END_MESSAGE
  2647.  
  2648.  
  2649. ;****************************************************
  2650.  
  2651.  
  2652. FLAG [Start of Game]         Beginning of game flag
  2653. FLAG [bottle full]           Bottle has liquid in it if ON, is empty if OFF
  2654.  
  2655. ;AUTOMATIC COMMANDS
  2656. ;Set FLAGS based on game or room status
  2657.  
  2658. COMMAND ANY
  2659. FlagOFF [Start of Game] ;first turn of game only - initialize conditions
  2660. TurnFlagON [Start of Game]
  2661. SetVariableTo [Number of turns lamp has been lit] 0
  2662. TurnFlagON [bottle full]
  2663. END_COMMAND
  2664.  
  2665.  
  2666. VARIABLE [Number of turns lamp has been lit]
  2667. COUNTER [Stumbling around in the dark]
  2668. #COMMENT Number of turns player has been stumbling around in the dark
  2669.  
  2670. (***************************************************)
  2671. (*  Automatic commands to control time lamp is ON *)
  2672. (*   -- lamp starts to flicker at 50 turns        *)
  2673. (*   -- lamp goes off at 75 turns                 *)
  2674. (*   -- Player dies if he stumbles around in dark  *)
  2675. (*      for 5 turns                                *)
  2676. (***************************************************)
  2677.  
  2678. COMMAND ANY
  2679. Present [lit brass lamp]
  2680. AddToVariable [Number of turns lamp has been lit] 1
  2681. VariableEquals [Number of turns lamp has been lit] 50
  2682. PrintMessage [The light flickers and the lamp grows weaker.]
  2683. RoomNeedsLight (* will be dark if no light *)
  2684. PrintMessage [You better find a way out of here pretty quick!]
  2685. END_COMMAND
  2686.  
  2687. COMMAND ANY
  2688. Present [lit brass lamp]
  2689. VariableGT [Number of turns lamp has been lit] 50
  2690. VariableLT [Number of turns lamp has been lit] 75
  2691. PrintMessage [The light flickers and the lamp grows weaker.]
  2692. END_COMMAND
  2693.  
  2694. COMMAND ANY
  2695. Present [lit brass lamp]
  2696. VariableEquals [Number of turns lamp has been lit] 75
  2697. PrintMessage [Sorry, but your lamp light flickers and goes out.]
  2698. SwapLocations [lit brass lamp] [unlit brass lamp - empty]
  2699. RoomNeedsLight (* will be dark if no light *)
  2700. TurnCounterON [Stumbling around in the dark]
  2701. LookAtRoom
  2702. END_COMMAND
  2703.  
  2704. COMMAND ANY
  2705. RoomNeedsLight (* will be dark if no light *)
  2706. NOT LightPresent (* no light in room *)
  2707. CounterEquals [Stumbling around in the dark] 0
  2708. PrintMessage [Stumbling around in the dark could be quite dangerous!]
  2709. TurnCounterON [Stumbling around in the dark]
  2710. END_COMMAND
  2711.  
  2712. COMMAND ANY
  2713. CounterGT [Stumbling around in the dark] 1
  2714. RoomNeedsLight (* will be dark if no light *)
  2715. NOT LightPresent (* no light in room *)
  2716. PrintMessage [Stumbling around in the dark could be quite dangerous!]
  2717. CounterEquals [Stumbling around in the dark] 5
  2718. GoToRoom [Limbo]
  2719. DoneWithTurn (* no further action -- get next input *)
  2720. END_COMMAND
  2721.  
  2722. COMMAND ANY
  2723. CounterGT [Stumbling around in the dark] 5
  2724. RoomNeedsLight (* will be dark if no light *)
  2725. NOT LightPresent (* no light in room *)
  2726. TurnCounterON [Stumbling around in the dark]
  2727. END_COMMAND
  2728.  
  2729. MESSAGE [The light flickers and the lamp grows weaker.]
  2730. The light flickers and the lamp grows weaker.
  2731. END_MESSAGE
  2732.  
  2733. MESSAGE [You better find a way out of here pretty quick!]
  2734. If I were you, I would find a way out of here pretty quick before the lamp
  2735. goes out!  This would not be a fun place to be caught stumbling around in the
  2736. dark.
  2737. END_MESSAGE
  2738.  
  2739. MESSAGE [Sorry, but your lamp light flickers and goes out.]
  2740. Sorry, but your lamp light flickers for the last time and goes out.
  2741. END_MESSAGE
  2742.  
  2743. MESSAGE [Stumbling around in the dark could be quite dangerous!]
  2744. You are stumbling around in the dark -- which could be quite dangerous!  You
  2745. could easily break your neck.
  2746. END_MESSAGE
  2747.  
  2748. #COMMENT -- the fish dies if you are not also carrying the water
  2749.  
  2750. COMMAND ANY
  2751. Chance 25
  2752. NOT Present [bottle of water]
  2753. IsCarrying [GOLDEN FISH]
  2754. SendToRoom [GOLDEN FISH] [Shore of Lake]
  2755. PrintMessage "The fish was too dry.  It died, and strangely enough, vanished!"
  2756. DoneWithTurn
  2757. END_COMMAND
  2758.  
  2759.  
  2760. COMMAND ANY
  2761. AtLocation [In Real Trouble!]
  2762. PrintMessage "Nothing happened."
  2763. BlankLine
  2764. TurnFlagON [Question Flag]
  2765. AskQuestion [Another game (Yes or No)?]
  2766. AnswerIsCorrect (* Answered YES *)
  2767. GoToRoom [Forest]
  2768. TurnFlagOFF [Question Flag]
  2769. DoneWithTurn
  2770. END_COMMAND
  2771.  
  2772. COMMAND ANY
  2773. AtLocation [In Real Trouble!]
  2774. FlagON [Question Flag] (* Answered NO *)
  2775. EndGame
  2776. DoneWithTurn
  2777. END_COMMAND
  2778.  
  2779. FLAG [Question Flag]
  2780. QUESTION [Another game (Yes or No)?] Another game (Yes or No)?
  2781. ANSWER [Another game (Yes or No)?] YES
  2782.  
  2783. COMMAND SCORE
  2784. AtLocation [Dismal Swamp]
  2785. ScoreEquals 100
  2786. PrintMessage "You are a noble and brave adventurer!  You are also a winner!"
  2787. BlankLine
  2788. EndGame
  2789. DoneWithTurn
  2790. END_COMMAND
  2791.  
  2792. COMMAND STOP
  2793. PrintMessage "To stop playing, enter the command QUIT."
  2794. DoneWithTurn
  2795. END_COMMAND
  2796.  
  2797. COMMAND FIND OX
  2798. NOT Present [SMALL STATUE OF A BLUE OXE]
  2799. PrintMessage "Neither of us knows where it is."
  2800. DoneWithTurn
  2801. END_COMMAND
  2802.  
  2803. COMMAND FIND SWAMP
  2804. NOT AtLocation [Dismal Swamp]
  2805. PrintMessage "Neither of us knows where it is."
  2806. DoneWithTurn
  2807. END_COMMAND
  2808.  
  2809. COMMAND FIND AXE
  2810. NOT Present [rusty axe]
  2811. PrintMessage "Neither of us knows where it is."
  2812. DoneWithTurn
  2813. END_COMMAND
  2814.  
  2815. COMMAND FIND TREE
  2816. NOT AtLocation [Hidden Grove]
  2817. NOT AtLocation [Dismal Swamp]
  2818. NOT AtLocation [Forest]
  2819. PrintMessage "Look in the swamp."
  2820. DoneWithTurn
  2821. END_COMMAND
  2822.  
  2823. COMMAND FIND TREE
  2824. AtLocation [Hidden Grove]
  2825. OR
  2826. AtLocation [Dismal Swamp]
  2827. OR
  2828. AtLocation [Forest]
  2829. PrintMessage "Look around you, stupid!"
  2830. DoneWithTurn
  2831. END_COMMAND
  2832.  
  2833. COMMAND FIND KEY
  2834. NOT Present [ring of keys]
  2835. PrintMessage "Look in the swamp."
  2836. DoneWithTurn
  2837. END_COMMAND
  2838.  
  2839.  
  2840. COMMAND FIND MUD
  2841. NOT Present [evil smelling mud]
  2842. PrintMessage "Look in the swamp."
  2843. DoneWithTurn
  2844. END_COMMAND
  2845.  
  2846. COMMAND SAY ANY
  2847. PrintMessage "Use one word."
  2848. DoneWithTurn
  2849. END_COMMAND
  2850.  
  2851. COMMAND YOHO ANY
  2852. PrintMessage "Sorry, wrong game!"
  2853. DoneWithTurn
  2854. END_COMMAND
  2855.  
  2856. COMMAND GET SIGN
  2857. PrintMessage "A voice booms out -- LEAVE THE $NOUN$ ALONE, TURKEY!!"
  2858. DoneWithTurn
  2859. END_COMMAND
  2860.  
  2861. COMMAND GET FISH
  2862. Present [GOLDEN FISH]
  2863. GetIT [GOLDEN FISH]
  2864. PrintMessage "You manage to catch the fish with your bare hands."
  2865. DoneWithTurn
  2866. END_COMMAND
  2867.  
  2868.  
  2869. COMMAND GET WATER
  2870. FlagON [bottle full]
  2871. PrintMessage [already full]
  2872. DoneWithTurn
  2873. END_COMMAND
  2874.  
  2875. MESSAGE [already full]
  2876. The bottle is already full.
  2877. END_MESSAGE
  2878.  
  2879. COMMAND GET WATER
  2880. NOT Present [empty bottle]
  2881. PrintMessage [nothing to put it in]
  2882. DoneWithTurn
  2883. END_COMMAND
  2884.  
  2885. MESSAGE [nothing to put it in]
  2886. You have nothing in which to carry it.
  2887. END_MESSAGE
  2888.  
  2889. COMMAND GET WATER
  2890. AtLocation [Shore of Lake]
  2891. PrintMessage [bottle now full of water]
  2892. SwapLocations [empty bottle] [bottle of water]
  2893. TurnFlagON [bottle full]
  2894. DoneWithTurn
  2895. END_COMMAND
  2896.  
  2897. MESSAGE [bottle now full of water]
  2898. The bottle is now full of sea water.
  2899. END_MESSAGE
  2900.  
  2901. COMMAND GET WATER
  2902. Present [empty bottle]
  2903. PrintMessage [no liquid here]
  2904. DoneWithTurn
  2905. END_COMMAND
  2906.  
  2907. MESSAGE [no liquid here]
  2908. There is nothing here with which to fill the bottle.
  2909. END_MESSAGE
  2910.  
  2911.  
  2912. COMMAND GET OIL
  2913. FlagON [bottle full]
  2914. PrintMessage [already full]
  2915. DoneWithTurn
  2916. END_COMMAND
  2917.  
  2918. COMMAND GET OIL
  2919. NOT Present [empty bottle]
  2920. PrintMessage [nothing to put it in]
  2921. DoneWithTurn
  2922. END_COMMAND
  2923.  
  2924. COMMAND GET OIL
  2925. AtLocation [Dismal Swamp]
  2926. PrintMessage [bottle now full of oil]
  2927. SwapLocations [empty bottle] [bottle of water]
  2928. TurnFlagON [bottle full]
  2929. DoneWithTurn
  2930. END_COMMAND
  2931.  
  2932. MESSAGE [bottle now full of oil]
  2933. The bottle is now full of slimey oil -- or oily slime.
  2934. END_MESSAGE
  2935.  
  2936. COMMAND GET OIL
  2937. Present [empty bottle]
  2938. PrintMessage [no liquid here]
  2939. DoneWithTurn
  2940. END_COMMAND
  2941.  
  2942.  
  2943. COMMAND JUMP
  2944. PrintMessage "Don't be silly!  That would be dangerous!"
  2945. DoneWithTurn
  2946. END_COMMAND
  2947.  
  2948. COMMAND JUMP
  2949. PrintMessage "Don't be silly!  Quit screwing around!"
  2950. DoneWithTurn
  2951. END_COMMAND
  2952.  
  2953. COMMAND HELP
  2954. RoomNeedsLight (* will be dark if no light *)
  2955. NOT LightPresent (* no light in room *)
  2956. PrintMessage [You are in real trouble...]
  2957. DoneWithTurn (* no further action -- get next input *)
  2958. END_COMMAND
  2959.  
  2960. MESSAGE [You are in real trouble...]
  2961. It is pitch black in here and you can't see your hand in front of your face.
  2962. You are really in deep weeds!  Sorry, I can't help you.  You got yourself into
  2963. this mess, so you will just have to get yourself out of it!
  2964. END_MESSAGE
  2965.  
  2966. COMMAND UNLOCK ANY
  2967. PrintMessage "There is nothing here to unlock, dummy!"
  2968. DoneWithTurn
  2969. END_COMMAND
  2970.  
  2971. COMMAND PUT WATER IN BOTTLE
  2972. ReDirectTo GET WATER
  2973. END_COMMAND
  2974.  
  2975. COMMAND PUT WATER
  2976. ReDirectTo POUR WATER
  2977. END_COMMAND
  2978.  
  2979. COMMAND PUT OIL IN LAMP
  2980. ReDirectTo FILL LAMP
  2981. END_COMMAND
  2982.  
  2983. COMMAND PUT OIL IN BOTTLE
  2984. ReDirectTo GET OIL
  2985. END_COMMAND
  2986.  
  2987. COMMAND PUT OIL
  2988. ReDirectTo POUR OIL
  2989. END_COMMAND
  2990.  
  2991. COMMAND POUR WATER
  2992. Present [bottle of water]
  2993. SwapLocations [bottle of water] [empty bottle]
  2994. PrintMessage [bottle empty, ground wet]
  2995. PrintMessage [feet now wet]
  2996. TurnFlagOFF [bottle full]
  2997. DoneWithTurn
  2998. END_COMMAND
  2999.  
  3000. COMMAND EMPTY BOTTLE
  3001. Present [bottle of water]
  3002. SwapLocations [bottle of water] [empty bottle]
  3003. PrintMessage [bottle empty, ground wet]
  3004. PrintMessage [feet now wet]
  3005. TurnFlagOFF [bottle full]
  3006. DoneWithTurn
  3007. END_COMMAND
  3008.  
  3009. MESSAGE [feet now wet]
  3010. Your feet are now wet.
  3011. END_MESSAGE
  3012.  
  3013. COMMAND POUR OIL
  3014. Present [bottle of oil]
  3015. SwapLocations [bottle of oil] [empty bottle]
  3016. PrintMessage [bottle empty, ground wet]
  3017. PrintMessage [What a pity!]
  3018. TurnFlagOFF [bottle full]
  3019. DoneWithTurn
  3020. END_COMMAND
  3021.  
  3022. COMMAND EMPTY BOTTLE
  3023. Present [bottle of oil]
  3024. SwapLocations [bottle of oil] [empty bottle]
  3025. PrintMessage [bottle empty, ground wet]
  3026. PrintMessage [What a pity!]
  3027. TurnFlagOFF [bottle full]
  3028. DoneWithTurn
  3029. END_COMMAND
  3030.  
  3031. MESSAGE [What a pity!]
  3032. Your feet are now wet.  What a waste!  What a pity!
  3033. END_MESSAGE
  3034.  
  3035. COMMAND DRINK WATER
  3036. Present [bottle of water]
  3037. PrintMessage [bottle now empty]
  3038. BlankLine
  3039. PrintMessage [Ugh! You die!]
  3040. SwapLocations [empty bottle] [bottle of water]
  3041. TurnFlagOFF [bottle full]
  3042. GoToRoom [Limbo]
  3043. DoneWithTurn
  3044. END_COMMAND
  3045.  
  3046. COMMAND DRINK BOTTLE
  3047. Present [bottle of water]
  3048. PrintMessage [bottle now empty]
  3049. BlankLine
  3050. PrintMessage [Ugh! You die!]
  3051. SwapLocations [empty bottle] [bottle of water]
  3052. TurnFlagOFF [bottle full]
  3053. GoToRoom [Limbo]
  3054. DoneWithTurn
  3055. END_COMMAND
  3056.  
  3057. MESSAGE [Ugh! You die!]
  3058. Ugh!  The water is polluted and you eventually die from its effects!
  3059. END_MESSAGE
  3060.  
  3061. MESSAGE [bottle now empty]
  3062. The bottle is now empty.
  3063. END_MESSAGE
  3064.  
  3065. COMMAND DRINK OIL
  3066. Present [bottle of oil]
  3067. PrintMessage [bottle now empty]
  3068. BlankLine
  3069. PrintMessage [Ugh!  This is real rot-gut!]
  3070. SwapLocations [empty bottle] [bottle of oil]
  3071. TurnFlagOFF [bottle full]
  3072. DoneWithTurn
  3073. END_COMMAND
  3074.  
  3075. COMMAND DRINK BOTTLE
  3076. Present [bottle of oil]
  3077. PrintMessage [bottle now empty]
  3078. BlankLine
  3079. PrintMessage [Ugh!  This is real rot-gut!]
  3080. SwapLocations [empty bottle] [bottle of oil]
  3081. TurnFlagOFF [bottle full]
  3082. DoneWithTurn
  3083. END_COMMAND
  3084.  
  3085. MESSAGE [Ugh!  This is real rot-gut!]
  3086. Ugh!  This stuff is really ugly stuff!  However, it is really potent -- about
  3087. 150 proof -- at least!  Boy-Oh-Boy do you feel good!  Hee hee...
  3088. END_MESSAGE
  3089.  
  3090. COMMAND DRINK ANY
  3091. PrintMessage [don't be ridiculous]
  3092. DoneWithTurn
  3093. END_COMMAND
  3094.  
  3095. COMMAND CLOSE BOTTLE
  3096. Present [bottle of oil]
  3097. OR
  3098. Present [empty bottle]
  3099. OR
  3100. Present [bottle of water]
  3101. PrintMessage "Ok.  It is now closed."
  3102. DoneWithTurn
  3103. END_COMMAND
  3104.  
  3105. COMMAND BREAK
  3106. PrintMessage "It is beyond your power to do that."
  3107. DoneWithTurn
  3108. END_COMMAND
  3109.  
  3110. COMMAND FILL BOTTLE
  3111. FlagON [bottle full]
  3112. PrintMessage [already full]
  3113. DoneWithTurn
  3114. END_COMMAND
  3115.  
  3116. COMMAND FILL BOTTLE
  3117. NOT Present [empty bottle]
  3118. PrintMessage [nothing to put it in]
  3119. DoneWithTurn
  3120. END_COMMAND
  3121.  
  3122. COMMAND FILL BOTTLE
  3123. AtLocation [Shore of Lake]
  3124. PrintMessage [bottle now full of water]
  3125. SwapLocations [empty bottle] [bottle of oil]
  3126. TurnFlagON [bottle full]
  3127. DoneWithTurn
  3128. END_COMMAND
  3129.  
  3130. COMMAND FILL BOTTLE
  3131. PrintMessage [no liquid here]
  3132. DoneWithTurn
  3133. END_COMMAND
  3134.  
  3135. COMMAND FILL ANY
  3136. PrintMessage "You can't fill that."
  3137. DoneWithTurn
  3138. END_COMMAND
  3139.  
  3140. MESSAGE [bottle empty, ground wet]
  3141. Your bottle is empty and the ground is wet.
  3142. END_MESSAGE
  3143.  
  3144. MESSAGE [don't be ridiculous]
  3145. Don't be ridiculous!
  3146. END_MESSAGE
  3147.  
  3148. #COMMENT -- LIGHT
  3149.  
  3150. MESSAGE [Sorry, but you can't]
  3151. What a great idea!  You must have played this game before, but unfortunately
  3152. you can't do that now.  It is still a good idea and you may wish to try it
  3153. some other time.  But unfortunately, it is simple impossible now because --
  3154. END_MESSAGE
  3155.  
  3156. COMMAND LIGHT LAMP
  3157. Present [unlit brass lamp - empty]
  3158. PrintMessage "The lamp has no oil!"
  3159. DoneWithTurn (* no further action -- get next input *)
  3160. END_COMMAND
  3161.  
  3162. COMMAND LIGHT LAMP
  3163. Present [unlit brass lamp - full]
  3164. Present [Flint and steel]
  3165. SwapLocations [unlit brass lamp - full] [lit brass lamp]
  3166. PrintMessage [OK...]
  3167. DoneWithTurn (* no further action -- get next input *)
  3168. END_COMMAND
  3169.  
  3170. COMMAND LIGHT LAMP
  3171. Present [unlit brass lamp - full]
  3172. NOT Present [Flint and steel]
  3173. PrintMessage [Sorry, but you can't]
  3174. PrintMessage [You don't have resources]
  3175. DoneWithTurn (* no further action -- get next input *)
  3176. END_COMMAND
  3177.  
  3178. MESSAGE [You don't have resources]
  3179. you don't have the necessary resources to $verb$ the $noun$.
  3180. END_MESSAGE
  3181.  
  3182. MESSAGE [OK...]
  3183. OK... you $verb$ the $noun$.
  3184. END_MESSAGE
  3185.  
  3186. COMMAND EXTINGUISH LAMP
  3187. Present [lit brass lamp]
  3188. PrintMessage [OK...]
  3189. SwapLocations [unlit brass lamp - full] [lit brass lamp]
  3190. DoneWithTurn (* no further action -- get next input *)
  3191. END_COMMAND
  3192.  
  3193. COMMAND OPEN BOTTLE
  3194. Present [bottle of oil]
  3195. OR
  3196. Present [empty bottle]
  3197. OR
  3198. Present [bottle of water]
  3199. PrintMessage "Ok.  It is now open."
  3200. DoneWithTurn
  3201. END_COMMAND
  3202.  
  3203. COMMAND KISS ANY
  3204. PrintMessage [Don't be silly!]
  3205. DoneWithTurn (* no further action -- get next input *)
  3206. END_COMMAND
  3207.  
  3208. MESSAGE [Don't be silly!]
  3209. Why on earth would your ever want to do that?  Don't you know that to
  3210. $verb$ the $noun$ would be extremely silly!
  3211. END_MESSAGE
  3212.  
  3213. COMMAND BREAK DOOR
  3214. PrintMessage [You charge at the door at full speed.]
  3215. DoneWithTurn (* no further action -- get next input *)
  3216. END_COMMAND
  3217.  
  3218. MESSAGE [You charge at the door at full speed.]
  3219. You charge at the door at full speed.  You hit it with your shoulder, bounce
  3220. off and land with a "thud" on the ground.  After rubbing the ache in your
  3221. shoulder, you stand up.  It is obvious that your body will break before the
  3222. door does!
  3223. END_MESSAGE
  3224.  
  3225. #COMMENT -- "Default" actions for LIGHT GAS or BLADDER
  3226.  
  3227. COMMAND LIGHT GAS
  3228. InRoom [distended gas bladder]
  3229. Present [Flint and steel]
  3230. PrintMessage "The gas bladder blows up making a terrible bang!!!"
  3231. Destroy [distended gas bladder]
  3232. DoneWithTurn (* no further action -- get next input *)
  3233. END_COMMAND
  3234.  
  3235. COMMAND LIGHT BLADDER
  3236. InRoom [distended gas bladder]
  3237. Present [Flint and steel]
  3238. PrintMessage "The gas bladder blows up making a terrible bang!!!"
  3239. Destroy [distended gas bladder]
  3240. DoneWithTurn (* no further action -- get next input *)
  3241. END_COMMAND
  3242.  
  3243. COMMAND PUT ANY IN ANY
  3244. PrintMessage "You try to fill the $object$ with the $noun$, but you fail."
  3245. DoneWithTurn
  3246. END_COMMAND
  3247.  
  3248. COMMAND FILL ANY WITH ANY
  3249. ReDirectTo PUT $OBJECT$ IN $NOUN$
  3250. DoneWithTurn (* no further action -- get next input *)
  3251. END_COMMAND
  3252.  
  3253.  
  3254.