home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / GAMES / GSLITE.ZIP / GSLITE.ARC / SAMPLE.ADV < prev    next >
Text File  |  1992-10-15  |  21KB  |  1,176 lines

  1. >REMAR
  2. SAMPLE ADVENTURE.  COPYRIGHT 1988 DENNIS DREW. COPYRIGHT STRICTLY ENFORCED.
  3. THIS IS A 5-ROOM ADVENTURE DESIGNED TO TEST OUT GAMESCAPE.
  4. <
  5. >REMAR
  6. FLAG INFORMATION:
  7. FLAG 1= Fuse not replaced 0 replaced 1
  8. FLAG 2= Teleporter turned on
  9. FLAG 3= Fusebox closed 0 open 1
  10. FLAG 101= 50 TURNS TAKEN-GAME ENDS
  11. <
  12.  
  13. >LOCAT
  14. 1
  15. NSEW
  16. MAIN ROOM #1.
  17.  
  18. You find yourself in a central room.             ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  19. There are four doors. Your object is to          ▓       ▀▀▀▀▀▀▀▀▀       ▓
  20. locate the key to the teleporter so you          ▓                       ▓
  21. can exit before the house falls into a           ▓█                     █▓
  22. dimensional warp.  You have 50 moves to          ▓█                     █▓
  23. do so.  If you get stuck, just ask for           ▓█                     █▓
  24. HELP.  Have fun!                                 ▓█                     █▓
  25.                                                  ▓                       ▓
  26.                                                  ▓       ▄▄▄▄▄▄▄▄▄       ▓
  27.                                                  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  28.  
  29. >LOCAT
  30. 2
  31. E
  32. This is the Western Observatory.  
  33. There is a nifty telescope here for 
  34. observing all sorts of interesting 
  35. things. 
  36.  
  37. >LOCAT
  38. 3
  39. N
  40. This is the work room.  You find several boxes and random items.  Nothing
  41. seems to be of much interest. It's dark in here; you can barely make out
  42. a fusebox in the corner.
  43. <
  44.  
  45. >LOCAT
  46. 4
  47. W
  48. This is the security room. There is    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  49. a desk and a large safe in the corner. ▒                  ▄▄▄▄▄▄              ▒
  50.                                        ▒                 █▐████▌█             ▒
  51.                                        ▒   ░             █▐████▌█             ▒
  52.                                        ▒  ░          ┌────────────────┐       ▒
  53.                                        ▒ ░           │ ▄▄▄  ▓▓▓▓▓▓    │       ▒
  54.                                        ▒░            │o===o           │       ▒
  55.                                        ▒             └────────────────┘       ▒
  56.                                        ▒                               █████  ▒
  57.                                        ▒                              ■█████  ▒
  58.                                        ▒  Bird's eye view              █████  ▒
  59.                                        ▒                                      ▒
  60.                                        ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  61. <
  62.  
  63. >LOCAT
  64. 5
  65. S
  66. You have found the computer room!  There is a tremendously powerful
  67. computer here capable of solving the mysteries of mankind.  In other
  68. words, a typical IBM clone.
  69. <
  70.  
  71. >LOCAT
  72. 6
  73. N
  74. You are now in a brightly lit work room with a few empty boxes, a working
  75. fusebox, and lots and lots of power!
  76. <
  77.  
  78. >REMAR
  79. THE FOLLOWING ILLUSTRATES THE USE OF 'INCLUDE' FILES.
  80. NOTE THAT USUALLY THE ONLY TIME YOU WOULD USE INCLUDE FILES WOULD BE ON
  81. VERY LARGE MODULES.  THESE ARE INCLUDED HERE ONLY AS EXAMPLES.
  82. <
  83.  
  84. >REMAR
  85. SAMPLE ADVENTURE -- MESSAGE SECTION
  86. NOTE: IT'S NOT NECESSARY TO SEPARATE SECTIONS.  THIS IS USUALLY DONE
  87. ONLY IN MULTIPLE-MODULE GAMES.
  88. SEE ALSO SAMPLE.IN2 AND SAMPLE.IN3
  89. <
  90.  
  91. >MESSG
  92. 1
  93. When you re-enter room 1, you find     ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  94. a large platform humming in the center ▒    .    .             .     .       ▒
  95. of the room.  You step onto it         ▒ .                                   ▒
  96. carefully and find yourself instantly  ▒              ░▒▓▒░                . ▒
  97. transported to an atmosphere cruiser   ▒       ▄████ ▓▒░░▒▓▓ █▀▀ ═Θ═Θ═Θ═Θ}}}}▒
  98. <
  99.  
  100. >MESSG
  101. 2
  102. bound for Toadsuck Arkansas,           ▒        ▀▀▀██████████▀▀▀        .    ▒
  103. where you will live out the rest of    ▒ .                    .              ▒
  104. your days in contentment and           ▒          .                .         ▒
  105. happiness.                             ▒     .             .                 ▒
  106. Congratulations!   YOU HAVE WON!!!!    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  107. <
  108.  
  109. >MESSG
  110. 3
  111. You have found a key in the telescope       ███ ▄▄▄▄▄▄▄▄                 
  112. control console!                            ▓▓▓ ▓▓▓▓▓▓▓▓ ██████ ▄▄▄▄▄▄ █ 
  113.                                             ░░░ ░░░░░░░░ ░░░░░░ ▀▀▀▀▀▀ █ 
  114.                                             ███ ▀▀▀▀▀▀▀▀  ▄▄             
  115.                                                         ██▒▒▒▒           
  116. <
  117.  
  118. >MESSG
  119. 4                                 
  120.                                                          █▌▐█            
  121.                                                         ▐█  █▌           
  122.                                                        ▐█    █▌          
  123.                                                       ▐█      █▌         
  124. <
  125.  
  126. >MESSG
  127. 5
  128. OK!
  129. <
  130.  
  131. >MESSG
  132. 6
  133. Well, you always have enjoyed looking at stars... wait... that's not
  134. stars.  What the... why, that's the neighbor's window!  You know, the cute 
  135. blonde... and she's...
  136.    WHY YOU PERVERT!!!!  (Don't you wish this one had graphics?)
  137. <
  138.  
  139. >MESSG
  140. 7
  141. You are able to open the fusebox.  Good move!
  142. <
  143.  
  144. >MESSG
  145. 8
  146. The fusebox is already open!  Getting senile, are we?
  147. <
  148.  
  149. >MESSG
  150. 9
  151. Sure enough, one of the fuses is blown!
  152. <
  153.  
  154. >MESSG
  155. 10
  156. I already told you a fuse is blown.  You want a kiss or something?
  157. <
  158.  
  159. >MESSG
  160. 11
  161. You find a fuse!
  162. <
  163.  
  164. >MESSG
  165. 12
  166. You already found the fuse, oh wise one! (oh, but I fear for tomorrow!)
  167. <
  168.  
  169. >MESSG
  170. 13
  171. The lights come on and the place hums with power!
  172. <
  173.  
  174. >MESSG
  175. 14
  176. The key opens the safe!
  177. <
  178.  
  179. >MESSG
  180. 15
  181. You can't open a safe like this without a key!
  182. <
  183.  
  184. >MESSG
  185. 16
  186. You MUST be joking.
  187. <
  188.  
  189. >MESSG
  190. 17
  191. It is very dark in here, and dangerous to move around.
  192. You'd better go back to room 1... in fact, I'll send you there just
  193. to frustrate you.
  194. <
  195.  
  196. >MESSG
  197. 18
  198. The computer hums to life!  What awesome power!
  199. Suddenly you hear a strange noise back in the central area...
  200. <
  201.  
  202. >MESSG
  203. 19
  204. I don't understand.  That sounds pretty illogical.
  205. <
  206.  
  207. >MESSG
  208. 20
  209. You have taken too long!  You feel space folding around you, and you
  210. find yourself falling into a dimensional warp where you will spend
  211. eternity watching re-runs of Leave it to Beaver.
  212.  
  213. AAAAAAARRRRRRRRRRRRGGGGGGGGGGGGHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!
  214. <
  215.  
  216. >MESSG
  217. 21
  218.                     SO YOU NEED HELP, DO YOU???
  219. Well, glad to oblige.  Directions to travel are entered by N S E W U D.
  220. If you get stuck, you might always try SEARCHing or EXAMining things.
  221. GETting objects is how you acquire them.  INVentory will tell you what
  222. you have acquired thus far.  LOOKing at a room will describe it.  Sometimes
  223. <
  224.  
  225. >MESSG
  226. 22
  227. There's nothing interesting at all about this desk.  So forget it. Unlike
  228. other adventure games that would have you spend the next 3 hours trying
  229. to figure out how to get in this desk, we're telling you in advance that
  230. doing so is an absolute waste of time.  Now aren't we nice???
  231. <
  232.  
  233. >MESSG
  234. 23
  235. You see an open fusebox!
  236. <
  237.  
  238. >MESSG
  239. 24
  240. You aren't carrying a fuse!
  241. <
  242.  
  243. >MESSG
  244. 25
  245. The fusebox is closed.
  246. <
  247.  
  248. >MESSG
  249. 26
  250. You see an open fusebox with perfectly good fuses.
  251. <
  252.  
  253. >MESSG
  254. 27
  255. You see a very heavy safe,         ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  256. squarely sitting in the floor.     ▒                                      ▒
  257. A keyhole is in the front of it.   ▒           ┌──────────────┐           ▒
  258.                                    ▒           │┌────────────┐│           ▒
  259.                                    ▒           ││            ││           ▒
  260. <
  261.  
  262. >MESSG
  263. 28
  264.                                    ▒           ││     ┌─┐    ││           ▒
  265.                                    ▒           ││■    │█│    ││           ▒
  266.                                    ▒           ││     └▌┘    ││           ▒
  267.                                    ▒           ││            ││           ▒
  268.                                    ▒           │└────────────┘│           ▒
  269. <
  270.  
  271. >MESSG
  272. 29
  273.                                    ▒           └──────────────┘           ▒
  274.                                    ▒             ▀▀▀▀    ▀▀▀▀             ▒
  275.                                    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  276. <
  277.  
  278. >MESSG
  279. 30
  280. It's dark in there!  What did you expect, a white rabbit???
  281. <
  282.  
  283. >MESSG
  284. 31
  285. Something rattles inside.
  286. <
  287.  
  288. >MESSG
  289. 32
  290. You must be joking.  That sucker is WAY too heavy!!!
  291. <
  292.  
  293. >MESSG
  294. 33
  295. The BLONDE???  You ARE a pervert!
  296. <
  297.  
  298. >MESSG
  299. 34
  300. You reach out for the blonde, examining her curvatious...
  301.     AAAAAAAARRRGGGHHHHHHH!!!!
  302. In your efforts to reach for her you forgot you were standing in an 
  303. observatory, and have fallen to a terrible and grisly death!!!
  304. <
  305.  
  306. >MESSG
  307. 35
  308. You manage to open the boxes.  There's something inside!
  309. <
  310.  
  311. >MESSG
  312. 36
  313. it will reveal things you didn't see in the first place.
  314.    Hope this helps, 'cause that's all you're getting.
  315. HA HA HA HA HA HA HA HA   -- evil laugh
  316. <
  317.  
  318. >MESSG
  319. 37
  320. It looks like any standard computer you might find.  This part is 
  321. really easy... honest.
  322. <
  323.  
  324. >REMAR
  325. SAMPLE ADVENTURE OBJECT/WORD SECTION.
  326. SEE SAMPLE.IN1 AND SAMPLE.IN3 AS WELL.
  327. <
  328.  
  329.  
  330. >OBJEC
  331. 1
  332. 301
  333. KEY
  334.  
  335. >OBJEC
  336. 2
  337. 301
  338. DISKETTE
  339.  
  340. >OBJEC
  341. 3
  342. 301
  343. FUSE
  344.  
  345. >WORDS
  346. N
  347. <
  348.  
  349. >WORDS
  350. E
  351. <
  352.  
  353. >WORDS
  354. S
  355. <
  356.  
  357. >WORDS
  358. W
  359. <
  360.  
  361. >WORDS
  362. U
  363. <
  364.  
  365. >WORDS
  366. D
  367. <
  368.  
  369. >WORDS
  370. SEARCH
  371. EXAMINE
  372. EXAM
  373. <
  374.  
  375. >WORDS
  376. GET
  377. TAKE
  378. <
  379.  
  380. >WORDS
  381. DROP
  382. <
  383.  
  384. >WORDS
  385. REPLACE
  386. FIX
  387. <
  388.  
  389. >WORDS
  390. TELESCOPE
  391. SCOPE
  392. <
  393.  
  394. >WORDS
  395. HELP
  396. HELP!
  397. <
  398.  
  399. >WORDS
  400. KEY
  401. <
  402.  
  403. >WORDS
  404. FUSE
  405. FUSES
  406. <
  407.  
  408. >WORDS
  409. BOX
  410. BOXES
  411. <
  412.  
  413. >WORDS
  414. FUSEBOX
  415. <
  416.  
  417. >WORDS
  418. DISKETTE
  419. DISK
  420. <
  421.  
  422. >WORDS
  423. OPEN
  424. UNLOCK
  425. <
  426.  
  427. >WORDS
  428. CLOSE
  429. <
  430.  
  431. >WORDS
  432. SAFE
  433. <
  434.  
  435. >WORDS
  436. INSERT
  437. PUT
  438. <
  439.  
  440. >WORDS
  441. INVENTORY
  442. INVEN
  443. INV
  444. I
  445. <
  446.  
  447. >WORDS
  448. LOOK
  449. SEE
  450. <
  451.  
  452. >WORDS
  453. QUIT
  454. Q
  455. <
  456.  
  457. >WORDS
  458. END
  459. <
  460.  
  461. >WORDS
  462. COMPUTER
  463. IBM
  464. <
  465.  
  466. >WORDS
  467. DESK
  468. <
  469.  
  470. >WORDS
  471. KEYHOLE
  472. HOLE
  473. <
  474.  
  475. >WORDS
  476. BLONDE
  477. <
  478.  
  479. >WORDS
  480. SAVE
  481. <
  482.  
  483. >WORDS
  484. LOAD
  485. <
  486.  
  487. >REMAR
  488. SAMPLE ADVENTURE-- COMMAND SECTION.
  489. SEE ALSO SAMPLE.IN1 AND SAMPLE.IN2
  490. <
  491.  
  492. >COMND                       NOTE FOR USERS OF VERSION 3.0:  COMMAS,
  493. * *                          COLONS: AND "QUOTES" ARE NOW ALLOWED IN
  494. IF                           COMMENTS!  "AINT, THAT: GREAT?"
  495. FLAG>                        
  496. 101                          
  497. 50                           If more than 50 moves game is lost.
  498. DO
  499. PRINT                        IMPORTANT NOTE!  Always write down on a
  500. 20                           list somewhere (or comment in your code)
  501. END                          exactly what purpose you're assigning to
  502. <                            your flags.  You'll never remember without it!
  503.  
  504. >COMND
  505. S *
  506. IF
  507. AT
  508. 5
  509. FLAG=
  510. 2
  511. 0
  512. DO
  513. GOTO
  514. 1
  515. SHOW
  516. <
  517.  
  518. >COMND
  519. N *
  520. IF
  521. AT                           If told to go north from lit energy room 
  522. 6                            then go to central room!
  523. DO
  524. GOTO
  525. 1
  526. SHOW
  527. <
  528.  
  529. >COMND
  530. N *
  531. IF
  532. AT
  533. 1
  534. FLAG=                        If energy is not on (fuse fixed)
  535. 1                            tell them it is dark and leave them
  536. 0                            in room 1
  537. DO
  538. PRINT
  539. 17
  540. <
  541.  
  542. >COMND
  543. DROP * 
  544. DO                           Drop any item anywhere
  545. DROP
  546. <
  547.  
  548. >COMND
  549. N *
  550. IF
  551. AT
  552. 1                            If north from center room
  553. FLAG=
  554. 1                            and fuse is in and door closed
  555. 1
  556. FLAG=
  557. 3
  558. 0
  559. DO                           go to computer room
  560. GOTO
  561. 5
  562. SHOW
  563. <
  564.  
  565. >COMND
  566. E *
  567. IF
  568. AT
  569. 1                            If east from center room
  570. DO                           go to security room
  571. GOTO
  572. 4
  573. SHOW
  574. <
  575.  
  576. >COMND
  577. S *
  578. IF
  579. AT
  580. 1                                 If go south from central room
  581. FLAG=                             and energy is on go to room 6
  582. 3                                 instead of room 3!
  583. 0
  584. FLAG=
  585. 1
  586. 1
  587. DO
  588. GOTO
  589. 6
  590. SHOW
  591. <
  592.  
  593. >COMND
  594. S *
  595. IF
  596. AT                           If south from center room
  597. 1                            go to work room
  598. DO
  599. GOTO
  600. 3
  601. SHOW
  602. <
  603.  
  604. >COMND
  605. W *
  606. IF
  607. AT
  608. 1                            If west from center room
  609. DO                           go to observatory
  610. GOTO
  611. 2
  612. SHOW
  613. <
  614.  
  615. >COMND
  616. E *
  617. IF
  618. AT
  619. 2
  620. DO                           If east from observatory
  621. GOTO                         go to center room
  622. 1
  623. SHOW
  624. <
  625.  
  626. >COMND
  627. N *
  628. IF
  629. AT
  630. 3                            If north from work room
  631. DO                           go to center room
  632. GOTO
  633. 1
  634. SHOW
  635. <
  636.  
  637. >COMND
  638. W *
  639. IF
  640. AT
  641. 4
  642. DO                           If west from security room
  643. GOTO                         go to center room
  644. 1
  645. SHOW
  646. <
  647.  
  648. >COMND
  649. SEARCH TELESCOPE
  650. IF
  651. AT                           If key doesn't exist yet and
  652. 2                            telescope is searched tell them
  653. NOTEXIST                     they've found a key and move the
  654. 1                            key into the room
  655. DO
  656. PRINT
  657. 3
  658. PRINT
  659. 4
  660. OBJ
  661. 1
  662. 2
  663. <
  664.  
  665. >COMND
  666. SEARCH TELESCOPE
  667. IF
  668. AT                           If they search the telescope after they've
  669. 2                            found the key show them stars instead.
  670. PRESENT
  671. 1
  672. DO
  673. PRINT
  674. 6
  675. <
  676.  
  677. >COMND
  678. OPEN FUSEBOX
  679. IF
  680. AT                           If they open a closed fusebox
  681. 3                            tell them they did so!
  682. FLAG=
  683. 3
  684. 0
  685. DO
  686. FLAGSET
  687. 3
  688. 1
  689. PRINT
  690. 7
  691. <
  692.  
  693. >COMND
  694. OPEN FUSEBOX
  695. IF
  696. AT                           If they try to open an open fusebox
  697. 3                            tell them they're senile.
  698. FLAG=
  699. 3
  700. 1
  701. DO
  702. PRINT
  703. 8
  704. <
  705.  
  706. >COMND
  707. SEARCH FUSEBOX
  708. IF                                If the fusebox is searched
  709. AT                                and the fusebox is closed
  710. 3                                 and the fusebox hasn't been
  711. FLAG=                             replaced then tell them the
  712. 3                                 fusebox is closed.
  713. 0
  714. FLAG=
  715. 1
  716. 0
  717. DO
  718. PRINT
  719. 25
  720. <
  721.  
  722. >COMND
  723. SEARCH FUSEBOX
  724. IF
  725. AT                                If the fusebox is searched
  726. 3                                 after the fuse is replaced
  727. FLAG=                             and if the fusebox is still
  728. 1                                 open tell them the fusebox
  729. 1                                 is open and looking good.
  730. FLAG=
  731. 3
  732. 1
  733. DO
  734. PRINT
  735. 26
  736. <
  737.  
  738. >COMND
  739. SEARCH FUSEBOX
  740. IF
  741. AT
  742. 3
  743. FLAG=
  744. 3
  745. 1                            If they search an open fusebox
  746. FLAG=                        
  747. 4                            and they haven't seen the blown fuse yet
  748. 0                            
  749. DO
  750. PRINT                        tell them a fuse is blown and
  751. 9
  752. FLAGSET
  753. 4                            set flag for having seen blown fuse.
  754. 1
  755. <
  756.  
  757. >COMND
  758. SEARCH FUSEBOX
  759. IF
  760. AT
  761. 3
  762. FLAG=                        If they search the fusebox
  763. 3                            and it is open
  764. 1
  765. FLAG=
  766. 4                            and they've already seen a fuse is blown
  767. 1
  768. DO
  769. PRINT                        tell them so!
  770. 10
  771. <
  772.  
  773. >COMND
  774. SEARCH FUSEBOX
  775. IF                           If they search the fusebox
  776. AT
  777. 3
  778. FLAG=                        and the fusebox is open
  779. 3
  780. 1
  781. FLAG=
  782. 1                            and they've fixed the fuse
  783. 1
  784. DO
  785. PRINT                        tell them they see an open fusebox.
  786. 23
  787. <
  788.  
  789. >COMND
  790. OPEN BOXES
  791. IF
  792. AT
  793. 3
  794. FLAG=
  795. 1
  796. 0
  797. NOTEXIST
  798. 3
  799. DO
  800. PRINT
  801. 35
  802. <
  803.  
  804. >COMND
  805. SEARCH BOXES
  806. IF
  807. AT
  808. 3                            If they search boxes and a fuse
  809. NOTEXIST                     does not exist tell them they find
  810. 3                            a fuse and move the fuse into the room.
  811. DO
  812. PRINT
  813. 11
  814. OBJ
  815. 3
  816. 3
  817. <
  818.  
  819. >COMND
  820. SEARCH BOXES
  821. IF                           If they search the boxes but they've
  822. AT                           already picked up the fuse tell
  823. 3                            them they're looped.
  824. EXIST
  825. 3
  826. 302
  827. DO
  828. PRINT
  829. 12
  830. <
  831.  
  832. >COMND
  833. REPLACE FUSE
  834. IF                           If they replace the fuse
  835. AT
  836. 3
  837. EXIST                        and they have the fuse to use
  838. 3
  839. 302
  840. FLAG=
  841. 3                            and fusebox is open
  842. 1
  843. DO
  844. PRINT
  845. 5                            tell them they've fixed the fuse
  846. FLAGSET
  847. 1                            set the fuse as being replaced
  848. 1
  849. OBJ                         
  850. 3                            and move the fuse to limbo.
  851. 301
  852. <
  853.  
  854. >COMND
  855. REPLACE FUSE
  856. IF
  857. AT                           If they replace the fuse but the
  858. 3                            fusebox is closed then tell them
  859. FLAG=                        the fusebox is closed.
  860. 3
  861. 0
  862. EXIST
  863. 3
  864. 302
  865. DO
  866. PRINT
  867. 25
  868. <
  869.  
  870. >COMND
  871. REPLACE FUSE                 If they try to replace a fuse they
  872. IF                           don't own let them know.
  873. AT
  874. 3
  875. NOTEXIST
  876. 3
  877. DO
  878. PRINT
  879. 24
  880. <
  881.  
  882. >COMND
  883. CLOSE FUSEBOX
  884. IF
  885. AT
  886. 3                            If they close the fusebox
  887. FLAG=                        and it is open
  888. 3
  889. 1
  890. FLAG=                        and fuse hasn't been replaced
  891. 1
  892. 0
  893. DO
  894. FLAGSET
  895. 3                            shut the fusebox door
  896. 0
  897. PRINT                        and tell them OK you've shut it!
  898. 5
  899. <
  900.  
  901. >COMND
  902. CLOSE FUSEBOX
  903. IF
  904. AT
  905. 3                            If try to close the fusebox
  906. FLAG=                        and the fusebox is open
  907. 3
  908. 1
  909. FLAG=
  910. 1                            and the fuse is in place
  911. 1
  912. DO
  913. PRINT                        turn the power ON...
  914. 13
  915. FLAGSET
  916. 3                            and close the fusebox
  917. 0
  918. GOTO                         and send them to room 6.
  919. 6
  920. <
  921.  
  922. >COMND
  923. OPEN SAFE
  924. IF
  925. AT
  926. 4                            If they open the safe
  927. EXIST
  928. 1                            and have the key
  929. 302
  930. DO
  931. PRINT                        tell them they've done so and
  932. 14
  933. OBJ                          move the disk into the safe.
  934. 2
  935. 4
  936. <
  937.  
  938. >COMND
  939. OPEN SAFE
  940. IF
  941. AT                           If they open the safe and
  942. 4
  943. NOTEXIST                     the key doesn't exist
  944. 1
  945. DO                           tell them they need a key.
  946. PRINT
  947. 15
  948. <
  949.  
  950. >COMND
  951. GET DISKETTE
  952. IF
  953. NOTEXIST                     If they get the disk and it's not around
  954. 2
  955. DO                           tell them they're screwy.
  956. PRINT
  957. 16
  958. <
  959.  
  960. >COMND
  961. INSERT DISKETTE
  962. IF
  963. AT                           If they insert the disk
  964. 5
  965. FLAG=                        and the fuse is replaced
  966. 1
  967. 1
  968. FLAG=                        and the fusebox door closed
  969. 3
  970. 0
  971. EXIST
  972. 2                            and the disk exists
  973. 302
  974. DO
  975. PRINT                        Tell them the place is live with energy
  976. 18
  977. FLAGSET
  978. 2                            Set the teleport flag on.
  979. 1
  980. <
  981.  
  982. >COMND
  983. EXAM COMPUTER                If exam computer describe.
  984. IF
  985. AT
  986. 5
  987. DO
  988. PRINT
  989. 37
  990. <
  991.  
  992. >COMND
  993. INVENTORY *                  List their inventory.
  994. DO
  995. INVEN
  996. <
  997.  
  998. >COMND
  999. LOOK *
  1000. DO                           Show the current location.
  1001. SHOW
  1002. <
  1003.  
  1004. >COMND
  1005. END *
  1006. DO                           End the game.
  1007. END
  1008. <
  1009.  
  1010. >COMND
  1011. QUIT *                       Quit the game.
  1012. DO
  1013. QUIT
  1014. <
  1015.  
  1016. >COMND
  1017. S *
  1018. IF
  1019. AT
  1020. 5
  1021. FLAG=                        If they go south and
  1022. 2                            the teleporter is on
  1023. 1                            tell them they win the game.
  1024. DO
  1025. CLS
  1026. PRINT
  1027. 1
  1028. PRINT
  1029. 2
  1030. END
  1031. <
  1032.  
  1033. >COMND
  1034. HELP *                            Display the help screen.
  1035. DO
  1036. PRINT
  1037. 21
  1038. PRINT
  1039. 36
  1040. <
  1041.  
  1042. >COMND
  1043. GET TELESCOPE                    If they try to get the
  1044. IF                           telescope, tell them it's
  1045. DO                           too durn heavy!
  1046. PRINT
  1047. 32
  1048. <
  1049.  
  1050. >COMND
  1051. GET BOXES
  1052. IF
  1053. AT                           If they try to get the boxes
  1054. 3                            tell them they rattel.
  1055. NOTEXIST
  1056. 3
  1057. DO
  1058. PRINT
  1059. 31
  1060. <
  1061.  
  1062. >COMND
  1063. SEARCH DESK
  1064. IF                           If they search the desk tell them
  1065. AT                           they are wasting their time.
  1066. 4
  1067. DO
  1068. PRINT
  1069. 22
  1070. <
  1071.  
  1072. >COMND
  1073. OPEN DESK
  1074. IF
  1075. AT                           Does the same thing as SEARCH DESK
  1076. 4                            only it works with OPEN DESK instead.
  1077. DO                           It's not often this is needed but once
  1078. PRINT                        in a while it's the only way to cover
  1079. 22                           all bases!
  1080. <
  1081.  
  1082. >COMND
  1083. SEARCH SAFE
  1084. IF
  1085. AT                           If they search the safe and
  1086. 4                            the diskettes don't exist, tell them
  1087. NOTEXIST                     there's a big, heavy safe
  1088. 2
  1089. DO
  1090. PRINT
  1091. 27
  1092. PRINT
  1093. 28
  1094. PRINT
  1095. 29
  1096. <
  1097.  
  1098. >COMND
  1099. SEARCH SAFE
  1100. IF                           If they search the safe after
  1101. AT                           finding the disk show them the
  1102. 4                            room (which will also display that
  1103. PRESENT                      the disk is now present).
  1104. 2
  1105. DO
  1106. SHOW
  1107. <
  1108.  
  1109. >COMND
  1110. SEARCH BLONDE
  1111. IF                           If they search the blonde
  1112. AT                           tell them they're a pervert.
  1113. 2
  1114. EXIST
  1115. 1
  1116. 302
  1117. DO
  1118. PRINT
  1119. 33
  1120. <
  1121.  
  1122. >COMND
  1123. GET BLONDE
  1124. IF                           If they get the blonde, kill them.
  1125. AT
  1126. 2
  1127. DO
  1128. PRINT
  1129. 34
  1130. END
  1131. <
  1132.  
  1133. >COMND
  1134. SEARCH KEYHOLE
  1135. IF                           If they search the keyhole, tell them
  1136. AT                           it's dark.
  1137. 4
  1138. DO
  1139. PRINT
  1140. 30
  1141. <
  1142.  
  1143. >COMND
  1144. SAVE *
  1145. DO                           Save the game
  1146. SAVE
  1147. <
  1148.  
  1149. >COMND
  1150. LOAD *
  1151. DO
  1152. LOAD                         Load a previous game
  1153. <
  1154.  
  1155. >COMND
  1156. GET *
  1157. DO
  1158. OBJ                          STANDARD GET FUNCTION
  1159. 0
  1160. 302
  1161. INVEN
  1162. <
  1163.  
  1164.  
  1165. >COMND
  1166. * *
  1167. DO
  1168. PRINT                        If words OK but illogical
  1169. 19                           tell them about it.
  1170. <
  1171.  
  1172. >DONE!
  1173.  
  1174.