home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / wps / games / adventur / stone / stone.cmd
OS/2 REXX Batch file  |  1990-09-14  |  69KB  |  2,224 lines

  1. /**********************************************************************
  2.  *
  3.  * This is Search for the Sacred Stone, by Mikel Rice.  It was CRUNCHed
  4.  * by him, so I don't have any of the original comments.  I uncrunched
  5.  * it and modified the source code (keeping the original style and 
  6.  * wording of the game in tact, of course) so that it would run under
  7.  * both OS/2 and CMS.  It was originally written for CMS.
  8.  *
  9.  * PORTABILITY STATMENT: This code is portable to both CMS and OS/2.
  10.  * This portability should be seemless.  However, there due to 
  11.  * differences in ASCII/EBCDIC converters, you may experience 
  12.  * difficulties.  The most common are the pipe character (|, if you
  13.  * have the right machine), and the NOT symbol.  OS/2 accepts the
  14.  * backslash '\' as NOT, while CMS accepts '^' SHIFT-6 on most
  15.  * terminals.
  16.  * 
  17.  * Feel free to port STONE to other environments, compile it, or
  18.  * CRUNCH it, but please always give it out with the source code 
  19.  * and these comments.  STONE is freeware, and should NOT be sold.
  20.  *
  21.  * MikeA - 713221.1742@CompuServe.com
  22.  *********************************************************************/
  23. /* STONE2 optimized via ROPT by MIKEL@UWF on 13 Sep 1987 at 18:21:22 */
  24. BEGIN:
  25. PARSE UPPER ARG LOAD
  26. PARSE UPPER SOURCE env .
  27.  
  28. IF env = 'CMS' THEN
  29.    DO
  30.    ECHO_OFF = "*CP SET MSG OFF"
  31.    ECHO_ON = "CP SET MSG ON"
  32.    ECHO_OFF
  33.    HI='1DE8'x
  34.    LO='1D60'x
  35.    CLEAR_SCR = "VMFCLEAR"
  36.    END
  37. ELSE IF env = 'OS/2' THEN
  38.    DO
  39.    ECHO_OFF = "@ECHO OFF"
  40.    ECHO_ON = "ECHO ON"
  41.    ECHO_OFF
  42.    HI='1B'x || "[1m"
  43.    LO='1B'x || "[0m"
  44.    "ANSI ON"
  45.    SAY LO
  46.    CLEAR_SCR = "CLS"
  47.    END
  48. ELSE
  49.    DO
  50.    SAY "STONE has not been ported to" env"."
  51.    EXIT
  52.    END
  53.  
  54. TOT_NOUNS=62
  55. PAUSE=3
  56. CLEAR_SCR
  57. CALL TITLE
  58. IF LOAD='LOAD' THEN CALL LOAD
  59. CLEAR_SCR
  60. START:
  61. DO FOREVER
  62.    CALL QTIME
  63.    SELECT
  64.       WHEN R = 1 THEN CALL ROOM1
  65.       WHEN R = 2 THEN CALL ROOM2
  66.       WHEN R = 3 THEN CALL ROOM3
  67.       WHEN R = 4 THEN CALL ROOM4
  68.       WHEN R = 5 THEN CALL ROOM5
  69.       WHEN R = 6 THEN CALL ROOM6
  70.       WHEN R = 7 THEN CALL ROOM7
  71.       WHEN R = 9 THEN CALL ROOM9
  72.       WHEN R = 10 THEN CALL ROOM10
  73.       WHEN R = 11 THEN CALL ROOM11
  74.       WHEN R = 12 THEN CALL ROOM12
  75.       WHEN R = 13 THEN CALL ROOM13
  76.       WHEN R = 14 THEN CALL ROOM14
  77.       WHEN R = 15 THEN CALL ROOM15
  78.       WHEN R = 16 THEN CALL ROOM16
  79.       WHEN R = 17 THEN CALL ROOM17
  80.       WHEN R = 18 THEN CALL ROOM18
  81.       WHEN R = 20 THEN CALL ROOM20
  82.       WHEN R = 21 THEN CALL ROOM21
  83.       WHEN R = 22 THEN CALL ROOM22
  84.       WHEN R = 23 THEN CALL ROOM23
  85.       WHEN R = 24 THEN CALL ROOM24
  86.       WHEN R = 26 THEN CALL ROOM26
  87.       WHEN R = 27 THEN CALL ROOM27
  88.       WHEN R = 28 THEN CALL ROOM28
  89.       WHEN R = 29 THEN CALL ROOM29
  90.       WHEN R = 30 THEN CALL ROOM30
  91.       WHEN R = 31 THEN CALL ROOM31
  92.       WHEN R = 32 THEN CALL ROOM32
  93.       WHEN R = 33 THEN CALL ROOM33
  94.       WHEN R = 34 THEN CALL ROOM34
  95.       WHEN R = 35 THEN CALL ROOM35
  96.       WHEN R = 36 THEN CALL ROOM36
  97.       WHEN R = 37 THEN CALL ROOM37
  98.       WHEN R = 39 THEN CALL ROOM39
  99.       WHEN R = 40 THEN CALL ROOM40
  100.       WHEN R = 41 THEN CALL ROOM41
  101.       OTHERWISE SIGNAL END_ROOM
  102.    END
  103.    SAY
  104.    CALL CAN_SEE
  105.    CALL CAN_GO
  106.    CALL COMMAND
  107. END
  108. EXIT
  109. QTIME:
  110. CLEAR_SCR
  111. TIMES='00:00'
  112. IF HOUR>9 THEN TIMES=OVERLAY(HOUR,TIMES,1,2)
  113. ELSE TIMES=OVERLAY(HOUR,TIMES,2,1)
  114. IF MINUTES>9 THEN TIMES=OVERLAY(MINUTES,TIMES,4,2)
  115. ELSE
  116. IF MINUTES<10 THEN TIMES=OVERLAY(MINUTES,TIMES,5,1)
  117. SAY LEFT(LOC.R,34) COPIES(' ',21)'Time: 'TIMES AM_PM
  118. SAY
  119. RETURN
  120. CAN_SEE:
  121. SEE=''
  122. FLG=0
  123. DO I = 1 to TOT_NOUNS
  124.    IF OBJECT.I.2=R THEN SEE = SEE||OBJECT.I.1||'   '
  125. END I
  126. IF SEE='' THEN SEE='Nothing of Interest'
  127. SAY 'You can see: 'SEE
  128. SAY
  129. RETURN
  130. CAN_GO:
  131. GO=''
  132. PARSE UPPER VAR EXIT.R NOR SOU EAS WES UP DOW
  133. IF NOR >0 THEN GO = GO||'NORTH   '
  134. IF SOU >0 THEN GO = GO||'SOUTH   '
  135. IF EAS >0 THEN GO = GO||'EAST   '
  136. IF WES >0 THEN GO = GO||'WEST'
  137. IF UP  >0 THEN GO = GO||'UP   '
  138. IF DOW >0 THEN GO = GO||'DOWN'
  139. IF GO='' THEN GO='???'
  140. SAY 'Obvious exits: 'GO
  141. SAY COPIES('=',70)
  142. Say
  143. RETURN
  144. COMMAND:
  145. N=0
  146. V=0
  147. FLAG=0
  148. IF MSG=0 THEN
  149. DO
  150.    MSG=1
  151.    SAY 'Welcome to 'HI'Search for the Sacred Stone'LO' (Standard Level)'
  152.    SAY '(C)opyright 1986 / 1987 by:  Mikel F. Rice  (CMS0292 @ UWF)'
  153.    SAY 'Ported to OS/2 by Michael J. Antonio (713221.1742@CompuServe.COM)'
  154.    SAY 'Dedicated to: Robert P. Wharran'
  155.    SAY
  156. END
  157. RND=RANDOM(1,6)
  158. IF RND = 1 THEN COMMAND = 'What next?'
  159. IF RND = 2 THEN COMMAND = 'What will you do?'
  160. IF RND = 3 THEN COMMAND = 'Now what?'
  161. IF RND = 4 THEN COMMAND = 'Your request?'
  162. IF RND = 5 THEN COMMAND = 'What do you want to do?'
  163. IF RND = 6 THEN COMMAND = 'What will you try now?'
  164. SAY COMMAND
  165. PARSE UPPER PULL INSTRUCT
  166. SAY
  167. IF INSTRUCT = 'I' THEN INSTRUCT = 'INV'
  168. PARSE VAR INSTRUCT VERBIN NOUNIN
  169. VERB = LEFT(VERBIN,3)
  170. NOUN = LEFT(NOUNIN,3)
  171. IF VERB = 'LOO' & NOUN = '' THEN SIGNAL START
  172. IF (VERB ='NOR' | VERB='SOU') | (VERB ='EAS' | VERB ='WES')
  173. THEN SIGNAL GO
  174. ELSE
  175. IF (VERB= 'N' | VERB= 'S') | (VERB= 'E' | VERB= 'W') THEN SIGNAL GO
  176. ELSE
  177. IF  (VERB='U' | VERB='UP') | (VERB='DOW' | VERB='D') THEN SIGNAL GO
  178. SELECT
  179.    WHEN VERB = 'QUI' THEN SIGNAL QUIT
  180.    WHEN VERB = 'SAV' THEN CALL SAVE
  181.    WHEN VERB = 'LOA' THEN CALL LOAD
  182.    WHEN VERB = 'INV' THEN CALL INVENTORY
  183.    WHEN VERB = 'HEL' THEN CALL HELP
  184.    WHEN VERB = 'SWI' THEN CALL SWING_SWIM
  185.    WHEN VERB = 'SAY' THEN CALL ASK
  186.    WHEN VERB = 'JUM' THEN CALL JUMP
  187.    WHEN VERB = 'VER' THEN CALL VERBS
  188.    WHEN VERB = 'DIG' THEN CALL DIG
  189.    WHEN VERB = 'PAU' THEN PAUSE = NOUN
  190.    OTHERWISE FLAG = 1
  191. END
  192. IF FLAG = 0 THEN SIGNAL DELAY
  193. IF LENGTH(INSTRUCT) < 4 THEN
  194. DO
  195.    SAY "WHAT??? I don't understand that."
  196.    SIGNAL DELAY
  197. END
  198. IF NOUN = '' THEN
  199. DO
  200.    SAY 'That verb requires a NOUN.'
  201.    SIGNAL DELAY
  202. END
  203. IF verb = 'ENT' THEN VERB = 'GO '
  204. IF verb = 'TAK' THEN VERB = 'GET'
  205. IF verb = 'EXA' THEN VERB = 'LOO'
  206. IF verb = 'SMA' THEN VERB = 'BRE'
  207. IF verb = 'BUI' THEN VERB = 'MAK'
  208. IF verb = 'CAR' THEN VERB = 'CUT'
  209. IF verb = 'CHO' THEN VERB = 'CUT'
  210. IF verb = 'ROW' THEN VERB = 'PAD'
  211. IF verb = 'PUS' THEN VERB = 'PRE'
  212. IF verb = 'FIR' THEN VERB = 'SHO'
  213. IF verb = 'LIF' THEN VERB = 'MOV'
  214. IF verb = 'FLI' THEN VERB = 'USE'
  215. IF verb = 'STA' THEN VERB = 'LIG'
  216. IF verb = 'PLA' THEN VERB = 'PUT'
  217. IF verb = 'HIT' THEN VERB = 'KIL'
  218. IF verb = 'ATT' THEN VERB = 'KIL'
  219. V=POS(VERB,VLIST)
  220. N=POS(NOUN,NLIST)
  221. IF V=0 THEN
  222. DO
  223.    SAY "I don't understand that VERB!"
  224.    SIGNAL DELAY
  225. END
  226. ELSE
  227. V =(V%3)+1
  228. IF N=0 THEN
  229. DO
  230.    SAY "I don't understand that NOUN!"
  231.    SIGNAL DELAY
  232. END
  233. ELSE
  234. N =(N%3)+1
  235. SELECT
  236.    WHEN V = 1 THEN SIGNAL GO
  237.    WHEN V = 2 THEN CALL GET
  238.    WHEN V = 3 THEN CALL LOOK
  239.    WHEN V = 4 THEN CALL DROP
  240.    WHEN V = 5 THEN CALL OPEN
  241.    WHEN V = 6 THEN CALL READ
  242.    WHEN V = 7 THEN CALL UNLOCK
  243.    WHEN V = 8 THEN CALL MOVE
  244.    WHEN V = 9 THEN CALL CLIMB
  245.    WHEN V = 10 THEN CALL BREAK
  246.    WHEN V = 11 THEN CALL MAKE
  247.    WHEN V = 12 THEN CALL DIG
  248.    WHEN V = 14 THEN CALL CUT
  249.    WHEN V = 15 THEN CALL PADDLE
  250.    WHEN V = 16 THEN CALL KILL
  251.    WHEN V = 18 THEN CALL RING
  252.    WHEN V = 19 THEN CALL PRESS
  253.    WHEN V = 20 THEN CALL ASK
  254.    WHEN V = 21 THEN CALL GIVE
  255.    WHEN V = 22 THEN CALL PAY
  256.    WHEN V = 23 THEN CALL WEAR
  257.    WHEN V = 25 THEN CALL LIGHT
  258.    WHEN V = 26 THEN CALL USE
  259.    WHEN V = 27 THEN CALL BURN
  260.    WHEN V = 28 THEN CALL THROW
  261.    WHEN V = 30 THEN CALL FEED
  262.    WHEN V = 31 THEN CALL PUT
  263.    WHEN V = 32 THEN CALL SHOOT
  264.    OTHERWISE NOP
  265. END
  266. DELAY:
  267. CALL TIMER
  268. CALL WAIT PAUSE
  269. RETURN
  270. TIMER:
  271. MINUTES=MINUTES+1
  272. IF MINUTES = 60
  273. THEN DO
  274.    MINUTES = 0
  275.    HOUR = HOUR + 1
  276. END
  277. ELSE
  278. IF MINUTES >60 Then
  279. DO
  280.    OVER=MINUTES-60
  281.    HOUR=HOUR+1
  282.    MINUTES=OVER
  283. END
  284. IF HOUR >11 THEN AM_PM='PM'
  285. ELSE AM_PM='AM'
  286. IF MINUTES=0 THEN SAY 'BEEP...BEEP...Your wrist watch chimed!'
  287. RETURN
  288. INVENTORY:
  289. ITEM =''
  290. DO I = 1 TO TOT_NOUNS
  291.    IF  OBJECT.I.2 = 50 THEN ITEM = ITEM||OBJECT.I.1'  '
  292. END I
  293. IF ITEM = '' THEN ITEM = 'NOTHING!'
  294. SAY 'You are carrying: 'ITEM
  295. RETURN
  296. HELP:
  297. IF R=1 THEN SAY 'Try things like examine, Inventory, GO, etc...'
  298. ELSE
  299. IF R=2 THEN SAY "I don't work here?"
  300. ELSE
  301. IF R=3 THEN SAY 'The comics inside are funnier!'
  302. ELSE
  303. IF R=5 THEN SAY 'Does anything here ring a bell?'
  304. ELSE
  305. IF (R=15 | R=16) | R=17 THEN SAY "What's your ticket out of here?"
  306. ELSE
  307. IF R=18 THEN SAY 'Geronimoooo.....'
  308. ELSE
  309. IF R=26 THEN SAY 'That log would MAKE a great dugout CANOE!'
  310. ELSE
  311. IF R=32 THEN SAY 'Technology can be frightening!'
  312. ELSE
  313. DO
  314.    RND=RANDOM(1,11)
  315.    SELECT
  316.       WHEN RND=1 THEN SAY "Can't you do anything on your own?"
  317.       WHEN RND=2 THEN SAY "I'm as confused as you are!"
  318.       WHEN RND=3 THEN SAY "Try examining things..."
  319.       WHEN RND=4 THEN SAY "SAVE OFTEN IN DANGEROUS PLACES!"
  320.       WHEN RND=5 THEN SAY "WHO IS PLAYING THIS GAME, ME OR YOU?"
  321.       WHEN RND=6 THEN SAY "NOT NOW I'M BUSY!"
  322.       WHEN RND=7 THEN SAY "YOU NEED HELP HERE?!"
  323.       WHEN RND=8 THEN SAY "USE YOUR COMMON SENSE!"
  324.       WHEN RND=9 THEN SAY "SAVE OFTEN IN DANGEROUS PLACES!"
  325.       OTHERWISE SAY "Type 'VERBS' for more help!"
  326.    END
  327. END
  328. RETURN
  329. GO:
  330. FLG=0
  331. VB = LEFT(VERB,1)
  332. NN = LEFT(NOUN,1)
  333. IF R>27 & R<31 THEN SAY 'You have to paddle the canoe around!'
  334. ELSE
  335. IF R=17 & (VB='S' | NN='S') & OBJECT.53.2=50 THEN R=44
  336. ELSE
  337. IF R=17 & (VB='S' | NN='S') & OBJECT.24.2\=50 THEN
  338. DO
  339.    SAY "You can't board the plane without a ticket!"
  340. END
  341. ELSE
  342. IF R=17 & (VB='S' | NN='S') THEN
  343. DO
  344.    TRIP=RANDOM(1,10)
  345.    HOUR=HOUR+1
  346.    MINUTES=MINUTES+TRIP
  347.    R=18
  348. END
  349. ELSE
  350. IF R=1 & OBJECT.22.2=0 & NOUN="TAX" THEN 
  351.    SAY "You don't have any money to pay for that."
  352. ELSE
  353. IF N=51 & R=34 & BEAR=0 THEN 
  354.    SAY "The bear won't let you go by!"
  355. ELSE
  356. IF NOUN="CAN" THEN CALL IN_CANOE
  357. ELSE
  358. IF NOUN\="TAX" & (R=1 & TAXI=1) THEN
  359. DO
  360.    SAY 'THE TAXI DRIVER WAS TIRED OF WAITING AND LEFT!'
  361.    TAXI=2
  362.    OBJECT.14.2=0
  363. END
  364. ELSE
  365. DO
  366.    FLG=2
  367.    SELECT
  368.       WHEN NOUN="HOT" & R=1 THEN R=2
  369.       WHEN NOUN="ELE" & R=2 THEN R=6
  370.       WHEN NOUN="SHO" & R=4 THEN R=7
  371.       WHEN NOUN="HUT" & R=22 THEN R=24
  372.       WHEN NOUN="TAX" & R=1 & TAXI=1 THEN R=9
  373.       WHEN NOUN="CAV" & R=32 THEN SAY 'THE NATIVES BLOCK YOUR WAY!'
  374.       WHEN NOUN="CAV" & R=34 THEN R=31
  375.       WHEN NOUN="CAN" THEN CALL IN_CANOE
  376.       WHEN (R=31 & STONE=3) & (VB ='N' | NN='N') THEN R = 32
  377.       WHEN NOR>0 & (VB ='N' | NN='N') THEN R = NOR
  378.       WHEN SOU>0 & (VB ='S' | NN='S') THEN R = SOU
  379.       WHEN EAS>0 & (VB ='E' | NN='E') THEN R = EAS
  380.       WHEN WES>0 & (VB ='W' | NN='W') THEN R = WES
  381.       WHEN (R=40 | R=41) & (VB ='U' | NN='U') THEN R = UP
  382.       WHEN (R=40 | R=41) & (VB ='D' | NN='D') THEN R = DOW
  383.       OTHERWISE FLG = 1
  384.    END
  385. END
  386. IF R=36 & OBJECT.39.2=50 THEN SIGNAL WIN_ROOM
  387. IF FLG=1 THEN
  388. DO
  389.    SAY "You can't go in that direction!"
  390.    SIGNAL DELAY
  391. END
  392. ELSE
  393. CALL TIMER
  394. IF FLG=0 THEN CALL WAIT PAUSE 
  395. SIGNAL START
  396. LOOK:
  397. IF R=13 & N=28 THEN N=60
  398. IF R=12 & N=31 THEN N=61
  399. IF R=13 & N=31 THEN N=62
  400. IF R=31 & N=43 & STONE=0 THEN
  401. DO
  402.    SAY "Wow you see a blue stone of exquiste beauty!!"
  403.    OBJECT.39.2=R
  404.    STONE=1
  405. END
  406. ELSE
  407. IF N=5 & R>20 THEN
  408. DO
  409.    SAY 'A monkey threw a coconut and it hit you hard on the head!'
  410.    COCONUT=COCONUT+1
  411.    IF COCONUT=3 THEN SIGNAL END_ROOM
  412. END
  413. ELSE
  414. IF N>0 & N<7 THEN SAY OBJECT.N.3
  415. ELSE
  416. IF OBJECT.N.2 \= R & OBJECT.N.2 \= 50
  417. THEN SAY "I don't see the "OBJECT.N.1" here now..."
  418. ELSE SAY OBJECT.N.3
  419. RETURN
  420. GET:
  421. COUNT=0
  422. DO I = 1 TO TOT_NOUNS
  423.    IF OBJECT.I.2 = 50 THEN COUNT = COUNT + 1
  424. END I
  425. IF COUNT > 5 THEN
  426. DO
  427.    RND = RANDOM(1,4)
  428.    SELECT
  429.       WHEN RND=1 THEN SAY "You can't carry anymore. Try 'INVENTORY'"
  430.       WHEN RND=2 THEN SAY 'You are carrying too much stuff. Try "INVENTORY"'
  431.       WHEN RND=3 THEN SAY 'You have too much. Try "INVENTORY"'
  432.       WHEN RND=4 THEN SAY 'Your hands are already full! Try "INVENTORY"'
  433.       OTHERWISE NOP
  434.    END
  435.    RETURN
  436. END
  437. IF R=13 & N=28 THEN N=60
  438. IF R=12 & N=31 THEN N=61
  439. IF R=13 & N=31 THEN N=62
  440. IF OBJECT.N.2=50 THEN 
  441.    SAY "You're already carrying that!"
  442. ELSE
  443. IF OBJECT.N.2\=R THEN 
  444.    SAY "I don't see "OBJECT.N.1" here."
  445. ELSE
  446. IF N=19 THEN 
  447.    SAY "Elmo says that isn't for sale."
  448. ELSE
  449. IF N=12 THEN 
  450.    SAY 'The hotel security guard is watching you! Stick to stealing towels.'
  451. ELSE
  452. IF N=40 & SMOKE=0 & OBJECT.40.2=R THEN R=46
  453. ELSE
  454. IF N=39 & (OBJECT.39.2=R & STONE=1) THEN
  455. DO
  456.    SAY 'A stone wall slides closed behind you as you pick up the SACRED'
  457.    SAY 'STONE from the pedestal! It closes off your only escape!'
  458.    OBJECT.39.2=50
  459.    OBJECT.41.2=31
  460.    EXIT.31='0 0 0 0 0 0'
  461.    STONE=2
  462.    CALL WAIT 1
  463. END
  464. ELSE
  465. IF N=34 & (OBJECT.34.2=R & STONE=3) THEN
  466. DO
  467.    SAY 'A stone wall slides closed behind you as you pick up the round'
  468.    SAY 'rock from the pedestal! It closes off your only escape!'
  469.    OBJECT.34.2=50
  470.    OBJECT.41.2=31
  471.    EXIT.31='0 0 0 0 0 0'
  472.    STONE=2
  473.    CALL WAIT 1
  474. END
  475. ELSE
  476. IF CAN.N ='*' THEN
  477. DO
  478.    RND = RANDOM(1,8)
  479.    SELECT
  480.       WHEN RND=1 THEN SAY "Don't be a wiseguy!"
  481.       WHEN RND=2 THEN SAY "Don't be stupid!"
  482.       WHEN RND=3 THEN SAY "You just pulled every muscle in your back!"
  483.       WHEN RND=4 THEN SAY "Ugh! You just can't lift it!"
  484.       WHEN RND=5 THEN SAY "Don't be silly!"
  485.       WHEN RND=6 THEN SAY "You can't carry that around."
  486.       WHEN RND=7 THEN SAY "Only in your dreams..."
  487.       OTHERWISE SAY "Why carry that?"
  488.    END
  489. END
  490. ELSE
  491. IF CAN.N='1' THEN
  492. DO
  493.    OBJECT.N.2=50
  494.    SAY 'Okay! You now have the' OBJECT.N.1
  495. END
  496. RETURN
  497. DROP:
  498. IF OBJECT.N.2\=50 THEN SAY "You aren't holding that."
  499. ELSE
  500. IF N=22 THEN
  501. DO
  502.    SAY 'Some guy grabbed the money and ran off with it!!'
  503.    OBJECT.22.2=0
  504. END
  505. ELSE
  506. IF R=32 & (N=25 | N=39) THEN R=45
  507. ELSE
  508. IF R=31 & (N=39 | N=34) THEN SAY 'Try PUT' OBJECT.N.2
  509. ELSE
  510. DO
  511.    SAY 'Okay! You have dropped the' OBJECT.N.1'.'
  512.    OBJECT.N.2=R
  513. END
  514. RETURN
  515. OPEN:
  516. FLG=0
  517. IF N=10 & OBJECT.N.2=50 & OBJECT.23.2=0 then
  518. DO
  519.    SAY 'Hey! Something fell out of the paper!'
  520.    OBJECT.23.2=R
  521.    FLG=1
  522. END
  523. ELSE
  524. IF N=10 & OBJECT.N.2\=50 then
  525. DO
  526.    SAY "You don't have that item!"
  527.    FLG=1
  528. END
  529. ELSE
  530. IF N=10 & OBJECT.23.2>0 THEN
  531. Do
  532.    SAY 'It is already open!'
  533.    FLG=1
  534. END
  535. IF N=28 & UNLOCKED=0 & (R=12 | R=13) THEN
  536. DO
  537.    SAY 'The lockers are locked!'
  538.    FLG=1
  539. END
  540. ELSE
  541. IF (R=12 & N=28) & (UNLOCKED=1 & OPENED=0) then
  542. DO
  543.    SAY "Something dropped out of the locker!"
  544.    OBJECT.29.2=R
  545.    OPENED=1
  546.    FLG=1
  547. END
  548. ELSE
  549. IF R=12 & N=28 & OPENED=1 then
  550. DO
  551.    SAY "The locker is already open!"
  552.    FLG=1
  553. END
  554. IF N=29 & OBJECT.N.2=50 THEN
  555. DO
  556.    SAY "Oops! The parachute unravels onto the floor! You don't know how to"
  557.    SAY 'repack it so you throw it away! That is some real bad news!!'
  558.    OBJECT.29.2=0
  559.    FLG=1
  560. END
  561. IF N=33 THEN SAY 'If only it was that easy!!'
  562. ELSE
  563. IF FLG=0 THEN SAY "I must be stupid, but I can't open that!"
  564. RETURN
  565. READ:
  566. IF N=30 & (OBJECT.N.2=50 | OBJECT.N.2=R) THEN
  567. DO
  568.    SAY "It reads: Try playing 'The MONDAY Adventure' by Mikel Rice!"
  569. END
  570. ELSE
  571. IF N=27 & (OBJECT.N.2=50 | OBJECT.N.2=R) THEN
  572. DO
  573.    SAY "It reads: To gates 1 through 5"
  574. END
  575. ELSE
  576. IF N=43 & R=31 THEN SAY "You can't translate the markings..."
  577. ELSE
  578. IF OBJECT.N.2\=50 THEN SAY "You can't read it this far away!"
  579. ELSE
  580. IF N=7 then
  581. DO
  582.    SAY 'Hello there. I just want to take this time (1 min.) to wish you'
  583.    SAY 'good luck!  For some extra help type "VERBS"....  Mikel Rice!'
  584.    SAY "PS. By the way...Don't throw rocks!"
  585.    CALL WAIT 3
  586. END
  587. ELSE
  588. IF N=10 THEN SAY 'Headline: Second Man Killed by Muggers this Week!'
  589. ELSE
  590. IF N=23 THEN
  591. DO
  592.    SAY "Coupon reads: Elmo's Pawn shop redeemable for item #112665!"
  593. END
  594. ELSE
  595. IF N=24 THEN SAY "It reads: Chad's Charter Service. Boarding at gate #4"
  596. ELSE SAY 'How can you read that?'
  597. RETURN
  598. UNLOCK:
  599. IF R=12 & UNLOCKED=1 THEN SAY 'The locker is already unlocked!'
  600. ELSE
  601. IF (R=12 | R=13) & OBJECT.11.2\=50 THEN SAY "You don't have the key!"
  602. ELSE
  603. IF R=12 & (UNLOCKED=0 & OBJECT.11.2=50) THEN
  604. DO
  605.    SAY 'What locker number?'
  606.    PULL NUMBER
  607.    IF NUMBER=26 THEN
  608.    DO
  609.       SAY "The key fits. You turn it and unlock the locker."
  610.       UNLOCKED=1
  611.    END
  612.    ELSE
  613.    DO
  614.       SAY 'Oops! You put the key in the wrong locker and it broke!'
  615.       OBJECT.11.2=0
  616.    END
  617. END
  618. ELSE
  619. IF R=13 THEN
  620. Do
  621.    SAY 'Oops! You put the key in the wrong locker and it broke!'
  622.    OBJECT.11.2=0
  623. END
  624. ELSE SAY "I must be stupid, but I can't unlock that!"
  625. RETURN
  626. MOVE:
  627. IF OBJECT.N.2\=R THEN SAY "I don't see that here."
  628. ELSE
  629. IF N=19 THEN SAY 'Hey look...the floor!'
  630. ELSE
  631. IF CAN.N='*' THEN
  632. DO
  633.    RND=RANDOM(1,4)
  634.    SELECT
  635.       WHEN RND=1 THEN SAY "You try but it just won't move"
  636.       WHEN RND=2 THEN SAY "You struggle but it won't budge."
  637.       WHEN RND=3 THEN SAY "Fat chance!"
  638.       OTHERWISE SAY "Superman you're not...it didn't move!"
  639.    END
  640. END
  641. ELSE SAY "OKAY...you moved it but nothing happened."
  642. RETURN
  643. CLIMB:
  644. IF R=37 & N=42 THEN
  645. DO
  646.    SAY 'Ugh...That was hard work....'
  647.    R=41
  648. END
  649. ElSE
  650. IF R=39 & N=42 THEN
  651. DO
  652.    SAY 'PANT...That was a tough climb....'
  653.    R=40
  654. END
  655. ELSE
  656. IF N=45 | N=59 THEN SAY 'Why not just swing on it instead?!'
  657. ELSE
  658. IF (R=40 | R=41) & (VB ='U' | NN='U') THEN R = UP
  659. ELSE
  660. IF (R=40 | R=41) & (VB ='D' | NN='D') THEN R = DOW
  661. ELSE SAY 'Why do you want to climb that?'
  662. RETURN
  663. BREAK:
  664. IF N=25 & OBJECT.N.2=50 THEN
  665. DO
  666.    SAY 'You cracked it and all the fliud ran out! You throw it away!'
  667.    OBJECT.N.2=0
  668. END
  669. ELSE
  670. IF N=25 & OBJECT.N.2\=50 THEN SAY "I don't have that."
  671. ELSE
  672. IF N=28 THEN SAY "Oww..You hurt your hand."
  673. ELSE
  674. IF N=33 THEN SAY "The bamboo is stronger than you!"
  675. ELSE SAY "Don't be so destructive!!"
  676. RETURN
  677. MAKE:
  678. IF CANOE=0 & (OBJECT.35.2=50 & OBJECT.37.2=R) THEN
  679. DO
  680.    SAY 'Chop...Hack...carve... Whew! After working nearly 30 minutes'
  681.    SAY 'you finally complete the dugout canoe, but the axe broke!'
  682.    OBJECT.35.2=0
  683.    OBJECT.38.2=R
  684.    OBJECT.37.2=0
  685.    TRIP=RANDOM(1,8)+21
  686.    MINUTES=MINUTES+TRIP
  687.    CANOE=1
  688. END
  689. ELSE
  690. IF CANOE=0 & (OBJECT.35.2\=50 | OBJECT.37.2\=R)
  691. THEN SAY "You don't have enough material to make a canoe."
  692. ELSE
  693. IF CANOE=1 THEN SAY 'You have already made a canoe.'
  694. ELSE
  695. SAY "I must be stupid, but I just don't understand you!"
  696. RETURN
  697. DIG:
  698. IF R\=36 & OBJECT.36.2=50 THEN SAY "You dig a deep hole but find only dirt!"
  699. ELSE
  700. IF OBJECT.36.2\=50 THEN SAY "You don't have a shovel!"
  701. ELSE
  702. IF ROCK=0 THEN
  703. DO
  704.    SAY 'You dug a small hole but found nothing...'
  705.    SAY 'Wait! Look there is something...'
  706.    ROCK=1
  707.    OBJECT.34.2=R
  708. END
  709. ELSE
  710. IF ROCK=1 THEN
  711. DO
  712.    SAY "Look! More dirt!"
  713.    ROCK=2
  714. END
  715. ELSE
  716. IF ROCK=2 THEN SAY 'Trying to dig through to China??'
  717. RETURN
  718. CUT:
  719. IF N=37 & OBJECT.35.2=50 & R=26 THEN 
  720.    SAY 'THERE ARE LOTS OF WAYS TO CUT THE LOG!'
  721. ELSE
  722. IF OBJECT.35.2=50 THEN
  723. DO
  724.    SAY 'Ouch! The only thing you cut was your finger!'
  725.    SAY "Don't be so destructive!!"
  726. END
  727. ELSE SAY "You don't have anything to cut with!"
  728. RETURN
  729. PADDLE:
  730. IF R<28 | R>30 THEN SAY "You aren't in the canoe!"
  731. ELSE
  732. IF OBJECT.36.2\=50 THEN SAY "You don't have anything to paddle with!"
  733. ELSE
  734. IF N=38 THEN SAY 'Use a direction like PADDLE WEST!'
  735. ELSE
  736. DO
  737.    SAY 'You use the shovel to paddle the canoe...'
  738.    NN=LEFT(NOUN,1)
  739.    SELECT
  740.       WHEN R=30 & NN='S' THEN
  741.       DO
  742.          R=SOU
  743.          OBJECT.38.2=R
  744.       END
  745.       WHEN R=29 & NN='N' THEN
  746.       DO
  747.          R=NOR
  748.          OBJECT.38.2=R
  749.       END
  750.       WHEN NOR>0 & NN='N' THEN R = NOR
  751.       WHEN SOU>0 & NN='S' THEN R = SOU
  752.       WHEN EAS>0 & NN='E' THEN R = EAS
  753.       WHEN WES>0 & NN='W' THEN R = WES
  754.       OTHERWISE SAY "You can't paddle in that direction!"
  755.    END
  756. END
  757. RETURN
  758. IN_CANOE:
  759. IF CANOE=0 THEN SAY "I haven't seen a canoe anywhere!"
  760. ELSE
  761. IF OBJECT.38.2\=R THEN SAY "The canoe isn't here!!!"
  762. ELSE
  763. IF OBJECT.36.2\=50 THEN
  764. DO
  765.    SAY "You have nothing to use as a paddle. If you went out into the river"
  766.    SAY "now you would be 'Up the creek' so to speak!"
  767. END
  768. ELSE
  769. IF R=26 THEN R=29
  770. ELSE
  771. IF R=33 THEN R=30
  772. RETURN
  773. KILL:
  774. IF (N=20 | N=21) THEN SAY "Try SHOOT instead..."
  775. ELSE
  776. IF N=44 & OBJECT.N.2=R THEN SAY "The bear would rip you to shreds!"
  777. ELSE
  778. IF N=47 & R=32 THEN SAY "31 to 1! I think the odds are even! (HA HA)"
  779. ELSE SAY 'This proves mankind is basically evil!'
  780. RETURN
  781. RING:
  782. IF N\=12 THEN SAY 'I have no idea how to ring that!?'
  783. ElSE
  784. IF R\=5 THEN SAY "You can't do that...yet!"
  785. ELSE
  786. IF TAXI=0 THEN
  787. DO
  788.    SAY "Ding! Momentarily Mr. Brooks appears. He recognizes you and says,"
  789.    SAY "'The taxi you called to take you to the airport is waiting outside!'"
  790.    SAY "He wishes you a safe trip then returns to his work."
  791.    OBJECT.14.2=1
  792.    TAXI=1
  793.    CALL WAIT 4
  794. END
  795. ELSE SAY "The taxi won't wait all day!"
  796. RETURN
  797. PRESS:
  798. IF N=12 THEN SAY 'Try RINGing the bell instead!'
  799. ELSE
  800. IF N=15 THEN 
  801.    SAY 'Use the numbers ONE, TWO, or THREE (in word form) to use the bell.'
  802. ELSE
  803. IF N=16 THEN SAY 'You are already on the first floor!'
  804. ELSE
  805. IF (N=17 | N=18) THEN R=43
  806. ELSE
  807. IF N=25 THEN SAY 'Try USE or FLICK lighter.'
  808. ELSE SAY 'Lot of good that did!!'
  809. RETURN
  810. ASK:
  811. IF R=7 THEN
  812. DO
  813.    RND=RANDOM(1,3)
  814.    IF RND=1 THEN SAY "Elmo says, 'Do you have a coupon for me?'"
  815.    ELSE
  816.    IF RND=2 THEN SAY "Elmo says, 'I need your coupon.'"
  817.    ELSE SAY "Elmo says, 'Give me your coupon!'"
  818. END
  819. ELSE
  820. IF R=9 THEN
  821. DO
  822.    RND=RANDOM(1,3)
  823.    IF RND=1 THEN 
  824.       SAY "Fred says, 'Here you are mac. That'll be $19.38 please.'"
  825.    ELSE
  826.    IF RND=2 THEN 
  827.       SAY "Fred says, 'This is the place bud. $19.62 for the ride.'"
  828.    Else Say "Fred says, 'Yer here...there is $19.48 on the meter.'"
  829. END
  830. ELSE
  831. IF R=5 & TAXI=0 THEN SAY "JUST RING THE BELL FOR SERVICE."
  832. ElSE
  833. IF R=5 & TAXI=1 THEN SAY 'MR. BROOKS IS BUSY AT THE MOMENT.'
  834. ELSE
  835. IF R=32 THEN SAY 'The natives look at each other and laugh. They mock you.'
  836. ELSE SAY 'I see no one to talk to!'
  837. RETURN
  838. GIVE:
  839. IF (N=22 | N=21) THEN SAY 'Use PAY for monetary transactions.'
  840. ELSE
  841. IF OBJECT.N.2\=50 THEN SAY "You don't have that to give!"
  842. ELSE
  843. IF R=7 & (N=23 | N=20) & LIGHTER=0 THEN
  844. DO
  845.    SAY 'Elmo takes the coupon and places something on the counter.'
  846.    OBJECT.23.2=0
  847.    OBJECT.25.2=R
  848.    LIGHTER=1
  849. END
  850. ELSE
  851. IF R=7 & LIGHTER=1 THEN SAY 'He is busy now.'
  852. ELSE
  853. IF (R\=32 & R\=34) & (R\=7 & R\=9) THEN 
  854.    SAY "There is no one here to give anything."
  855. ELSE
  856. IF R=34 & (N=44 | N=40) THEN 
  857.    SAY "You can't get close enough to the bear to do that"
  858. ELSE
  859. IF R=32 & (N\=25 | N\=39) THEN
  860. DO
  861.    SAY "The natives examine it then toss it on the ground!"
  862.    SAY "I guess they didn't want it after all!"
  863.    OBJECT.N.2=34
  864. END
  865. ELSE
  866. IF R=32 THEN R=45
  867. ELSE SAY 'Nobody wants that!'
  868. RETURN
  869. PAY:
  870. IF (N=21 | N=22) & OBJECT.22.2=50 THEN
  871. DO
  872.    SAY "Fred says, 'Thanks. I will keep the change!' and he drives off."
  873.    OBJECT.22.2=0
  874.    TRIP=RANDOM(1,5)+5
  875.    MINUTE=MINUTES+TRIP
  876.    R=10
  877. END
  878. ELSE
  879. IF N=20 THEN SAY "Elmo says, 'I want the coupon not the money!'"
  880. ELSE SAY 'Try using GIVE!'
  881. RETURN
  882. WEAR:
  883. IF N=29 & OBJECT.N.2=50 THEN
  884. DO
  885.    SAY 'Okay you are wearing the PARACHUTE!'
  886.    TAXI=3
  887. END
  888. ELSE SAY 'You would look silly wearing that!!'
  889. RETURN
  890. JUMP:
  891. IF R=40 | R=41 THEN SAY "You can't jump that far safely!!"
  892. ELSE
  893. IF R=18 & OBJECT.29.2=50 & TAXI=3 THEN
  894. DO
  895.    SAY 'You jump out of the plane and drift safely toward the ground. You'
  896.    SAY 'lost some things as you jumped and they hurtle downward. Bonk! You'
  897.    SAY 'hit your head on a tree branch and pass out! When you wake you are...'
  898.    R=20
  899.    IF OBJECT.25.2=50 THEN OBJECT.25.2=27
  900.    DO LOOP = 1 TO 30
  901.       IF OBJECT.LOOP.2=50 THEN OBJECT.LOOP.2=0
  902.    END LOOP
  903.    TRIP=RANDOM(1,5)+3
  904.    MINUTES=MINUTES+TRIP
  905.    CALL WAIT 6
  906. END
  907. ELSE
  908. IF R=18 & (OBJECT.29.2\=50 | TAXI\=3) THEN R=47
  909. ELSE
  910. IF R=20 & TAXI=3 THEN
  911. DO
  912.    SAY 'The bamboo cage shakes violently and the thin rope holding it'
  913.    SAY "stretches taunt but doesn't break!"
  914.    TAXI=4
  915. END
  916. ELSE
  917. IF R=20 & TAXI=4 THEN
  918. DO
  919.    SAY 'Snap! The thin rope breaks under your weight! The cage smashes'
  920.    SAY 'against the ground and breaks apart. You roll away unharmed!'
  921.    R=27
  922.    TAXI=5
  923. END
  924. ELSE
  925. DO
  926.    RND=RANDOM(1,3)
  927.    IF RND=1 THEN SAY 'Your advancing in leaps and bounds!'
  928.    ELSE
  929.    IF RND=2 THEN SAY "This isn't a Toyota commercial!"
  930.    ELSE SAY 'Boy...what a great jump!'
  931. END
  932. RETURN
  933. LIGHT:
  934. IF N=25 THEN SAY 'Try USE or FLICK for lighting only the lighter!'
  935. ELSE
  936. IF (N\=48 & N\=49) THEN SAY 'You might be able to BURN it!'
  937. ELSE
  938. IF OBJECT.25.2\=50 THEN SAY "You don't have the lighter!"
  939. ELSE
  940. IF LIGHTER>5 THEN SAY "Oh darn! The lighter is empty!"
  941. ELSE
  942. IF OBJECT.49.2\=50 THEN SAY "You don't have the piece of wood!"
  943. ELSE
  944. IF R\=35 THEN
  945. DO
  946.    SAY "Using the lighter you get the damp piece of wood to catch fire."
  947.    SAY "The damp wood creates a billowing cloud of smoke and burns up!"
  948.    OBJECT.49.2=3
  949.    LIGHTER=LIGHTER+1
  950.    CALL WAIT 1
  951. END
  952. ELSE
  953. DO
  954.    SAY 'Using the lighter you manage to get the damp piece of wood to',
  955.        'catch fire'
  956.    SAY 'The damp wood creats a billowing cloud of thick white smoke.'
  957.        'The smoke'
  958.    SAY 'drives all the honeybees away from the hive! Good Job!!'
  959.    LIGHTER=LIGHTER+1
  960.    SMOKE=1
  961.    OBJECT.49.2=0
  962.    CALL WAIT 2
  963. END
  964. RETURN
  965. USE:
  966. IF N\=25 THEN SAY 'Use it how? Please be more specific!'
  967. ELSE
  968. IF OBJECT.25.2\=50 THEN SAY "You don't have the lighter!!"
  969. ELSE
  970. IF LIGHTER>5 THEN SAY 'Oh no! The lighter is empty!!'
  971. ELSE
  972. IF R=32 THEN
  973. DO
  974.    SAY 'The natives see you make fire and they run off in fear of such a'
  975.    SAY 'powerful fire god! You may want to come back later to be king!'
  976.    STONE=4
  977.    LIGHTER=LIGHTER+1
  978.    R=34
  979. END
  980. ELSE
  981. DO
  982.    SAY 'Flick...an orange flame burns briefly then goes out.'
  983.    LIGHTER=LIGHTER+1
  984. END
  985. RETURN
  986. BURN:
  987. IF OBJECT.25.2\=50 THEN SAY "You don't have the lighter."
  988. ELSE
  989. IF (OBJECT.N.2\=50 & OBJECT.N.2\=R) THEN SAY "That isn't around here!"
  990. ELSE
  991. IF LIGHTER>5 THEN SAY 'Oh no! The lighter is empty!'
  992. ELSE
  993. IF N=49 THEN SIGNAL LIGHT
  994. ELSE
  995. IF (N=10 | N=22) | ( N=23 | N=24) | (N=30 | N=7) THEN
  996. DO
  997.    IF OBJECT.N.2=50 THEN
  998.    DO
  999.       SAY 'Ow..ow..ouch! You burned the' OBJECT.N.1 'while you were holding'
  1000.       SAY 'it! You burnt you hand slightly!'
  1001.       OBJECT.N.2=0
  1002.       LIGHTER=LIGHTER+1
  1003.    END
  1004.    ELSE
  1005.    DO
  1006.       SAY 'It burned up in seconds!'
  1007.       OBJECT.N.2=0
  1008.       LIGHTER=LIGHTER+1
  1009.    END
  1010. END
  1011. ELSE
  1012. IF (N=26 | N=50) | N=52 THEN SAY 'That would be arson!!'
  1013. ELSE SAY 'Are you a pyromaniac??'
  1014. RETURN
  1015. THROW:
  1016. IF OBJECT.N.2\=50 THEN SAY "You can't throw what you don't have!"
  1017. ELSE
  1018. IF N=34 & R\=31 THEN
  1019. DO
  1020.    SAY 'Wow what a great throw. The rock sails out of sight!'
  1021.    OBJECT.34.2=0
  1022.    ROCK=2
  1023. END
  1024. ELSE
  1025. IF (N=35 | N=36) | N=53 THEN SAY "No someone could get hurt!!"
  1026. ELSE
  1027. IF N=40 & R=34 & BEAR=0 THEN
  1028. DO
  1029.    SAY 'You throw the hive toward the bear. The hive hits the ground in front'
  1030.    SAY 'of the bear and it breaks open! The bear grabs the hive full of honey'
  1031.    SAY 'with his teeth and wanders off to eat it.'
  1032.    OBJECT.44.2=0
  1033.    OBJECT.40.2=0
  1034.    BEAR=1
  1035.    CALL WAIT 1
  1036. END
  1037. ELSE
  1038. IF R=32 & N=25 THEN R=45
  1039. ELSE
  1040. DO
  1041.    SAY "It didn't go very far."
  1042.    OBJECT.N.2=R
  1043. END
  1044. RETURN
  1045. SWING_SWIM:
  1046. IF (R>25 & R<30) | R=33 THEN SAY 'THE GATORS WOULD TEAR YOU TO BITS.'
  1047. ELSE
  1048. IF R=40 THEN
  1049. DO
  1050.    SAY 'UUUUUUGGGHHHHOOOOO! Tarzan eat your heart out!'
  1051.    R=41
  1052. END
  1053. ELSE
  1054. DO
  1055.    IF R=41 THEN
  1056.    DO
  1057.       SAY 'Wheeee... You swing across on the vine!'
  1058.       R=40
  1059.    END
  1060.    ELSE SAY 'Try rephrasing that or use another verb!'
  1061. END
  1062. RETURN
  1063. FEED:
  1064. IF N=44 THEN SAY "You can't get too close...Throw him something!"
  1065. ELSE
  1066. IF N=20 | N=21 THEN SAY 'You have nothing' OBJECT.N.1 'wants to eat!'
  1067. ELSE SAY "You are grasping at straws! Be reasonable."
  1068. RETURN
  1069. PUT:
  1070. IF R\=31 THEN SAY "Just DROP it...."
  1071. ELSE
  1072. IF STONE=2 & N=39 THEN
  1073. DO
  1074.    SAY 'As you put the SACRED STONE back on the pedestal the stone',
  1075.        'wall slides'
  1076.    SAY 'open leaving you a way out!'
  1077.    STONE=1
  1078.    OBJECT.39.2=R
  1079.    OBJECT.41.2=0
  1080.    EXIT.31='0 34 0 0 0 0'
  1081.    CALL WAIT 2
  1082. END
  1083. ELSE
  1084. IF R=31 & N=34 & STONE=2 THEN
  1085. DO
  1086.    SAY 'After you placed the rock on the pedestal the stone wall slide open'
  1087.    SAY 'leaving you an exit from the cave!'
  1088.    STONE=3
  1089.    OBJECT.34.2=R
  1090.    OBJECT.41.2=0
  1091.    EXIT.31='0 32 0 0 0 0'
  1092.    CALL WAIT 2
  1093. END
  1094. ELSE
  1095. DO
  1096.    SAY 'OK! Nothing seems to happen!'
  1097.    OBJECT.N.2=R
  1098. END
  1099. RETURN
  1100. SHOOT:
  1101. IF N=53 THEN SAY 'Shoot gun at who? Try SHOOT name.'
  1102. ELSE
  1103. IF OBJECT.53.2\=50 THEN SAY "You don't have the gun!"
  1104. ELSE
  1105. IF OBJECT.N.2\=R THEN SAY "I don't see" OBJECT.N.1 "around here!"
  1106. ELSE
  1107. IF (N=20 | N=21) & (OBJECT.53.2=50 & OBJECT.N.2=R) THEN R=48
  1108. ELSE R=44
  1109. RETURN
  1110. ROOM1:
  1111. SAY 'You are standing in front of the three story Royal Ritz hotel. There is'
  1112. SAY 'a red carpet rolled out from the door. Overhead is a red and',
  1113.     'white awning'
  1114. SAY 'that reaches out to the street. Several taxi cabs come and go picking up'
  1115. SAY 'and dropping off passengers. A well dressed doorman waits to let you in.'
  1116. RETURN
  1117. ROOM2:
  1118. SAY 'The lobby of the Royal Ritz hotel is elegantly furnished. Luxurious Oil'
  1119. SAY 'paintings line the walls and bronze statues flank the doors.',
  1120.     'Potted palms'
  1121. SAY 'add to the beauty of the lobby. The floor is made of white and',
  1122.     'black marble'
  1123. SAY 'arrange in a checkerboard pattern. To the north is the front desk.'
  1124. RETURN
  1125. ROOM3:
  1126. SAY 'You walk slowly away from the hotel toward the east. The quality of the'
  1127. SAY 'neighborhood has rapidly decreased. Here the sidewalk is old and cracked'
  1128. SAY 'with thick grass growing out through the cement cracks. There is garbage'
  1129. SAY 'strewn along the streets and there is graffitti sprayed on every',
  1130.     'building.'
  1131. RETURN
  1132. ROOM4:
  1133. SAY 'The sidewalk in front of the store has been swept clean and there is no'
  1134. SAY 'trash around save for that in the nearby wire garbage can. A blue neon'
  1135. SAY 'sign sits in the window flashing OPEN. You peer in the window at all the'
  1136. SAY 'various junk. (You know what they say about the eye of the beholder!)'
  1137. RETURN
  1138. ROOM5:
  1139. SAY 'You lean on the front desk as you wait for service. You notice that the'
  1140. SAY 'desk is neat and everything is organized. On the wall is a row of boxes'
  1141. SAY 'for messages and some keys hanging on a peg board. You notice that your'
  1142. SAY 'bill is laying out and stamped paid.'
  1143. RETURN
  1144. ROOM6:
  1145. SAY 'The elevator is decorated in the same fashion as the lobby. A plaque on'
  1146. SAY 'the wall warns of No Smoking allowed in the elevator. A speaker in the'
  1147. SAY 'ceiling plays the soft sounds of contemporary music and you begin',
  1148.     'to hum.'
  1149. RETURN
  1150. ROOM7:
  1151. SAY 'You stand amidst the row of shelves and bins that are cluttered',
  1152.     'with every'
  1153. SAY 'item you could think of. You rumage around vowing to come back later'
  1154. SAY 'when you have more time. You notice a man standing behind a protective'
  1155. SAY 'barred window. He asks you if you need anything specific.'
  1156. RETURN
  1157. ROOM8:
  1158. SAY 'You walked in to the really rough section of town! Some members of the'
  1159. SAY 'Red Blood gang saw you walking on their turf and they wasted you! The'
  1160. SAY 'morning edition of the newspaper read, "Third man killed by Muggers!"'
  1161. RETURN
  1162. ROOM9:
  1163. SAY 'You sit back and watch as the taxi manuvers through the busy city',
  1164.     'streets.'
  1165. SAY 'Several times you close your eyes in fear as the taxi skids to a',
  1166.     'halt just'
  1167. SAY 'scant inches from a daring pedestrian. You look out the door at',
  1168.     'all dents'
  1169. SAY 'in the taxi and begin to pray silently. You open your eyes to find that'
  1170. SAY 'you have pulled up to the airport. The driver turns and looks at you.'
  1171. RETURN
  1172. ROOM10:
  1173. SAY 'You are standing at the main entrances of the international airport. A'
  1174. SAY 'soft female voice crackles through a speaker warning that the white zone'
  1175. SAY 'is for unloading only. This is followed by a deep male voice noting that'
  1176. SAY 'the red zone is a fire lane and no parking is allowed there. A stream of'
  1177. SAY 'people flow hurriedly in and out of the airport.'
  1178. RETURN
  1179. ROOM11:
  1180. SAY 'You at the main junction in the airport. Announcement of arriving and'
  1181. SAY 'departing flights can barely be heard over the hustle and bustle.',
  1182.     'Workers'
  1183. SAY 'shuffle back and forth carrying luggage for tips. You notice the baggage'
  1184. SAY 'carousels to the east and west as well as some rent-a-lockers.'
  1185. RETURN
  1186. ROOM12:
  1187. SAY 'You are at the east end of the passenger area. A tired mom is asleep in'
  1188. SAY 'her chair and her young daughter sits playing in the makeup case. Two'
  1189. SAY 'older children are sitting quietly playing cards. Several people rush by'
  1190. SAY 'not bothering to apologize for bumping into you.'
  1191. RETURN
  1192. ROOM13:
  1193. SAY 'You are at the west end of the passenger area. A custodial worker sweeps'
  1194. SAY 'up cigarette butts of the floor. You notice the throng of businessmen'
  1195. SAY 'talking excitedly on the payphones. A speaker blares a page for some'
  1196. SAY 'Mr. Orthulon to come to the information desk. You notice there are no'
  1197. SAY 'empty chairs for you to sit in.'
  1198. RETURN
  1199. ROOM14:
  1200. SAY 'The passenger lounge is crowded with tired travelers. A long-haired',
  1201.     'hippy'
  1202. SAY 'softly plays a song on his guitar and some little children sit',
  1203.     'around him'
  1204. SAY 'smiling and laughing. You glance out the large windows toward the runway'
  1205. SAY "where a large 747 is taxiing for takeoff."
  1206. RETURN
  1207. ROOM15:
  1208. SAY 'The departure area is less crowded as most people have already',
  1209.     'boarded the'
  1210. SAY 'planes. You hear the loud whin of a turbine engine as a 747 lifts',
  1211.     'off the'
  1212. SAY 'runway. You see several departure gates. Signs show gate 1 as straight'
  1213. SAY 'ahead while gate 2 and 3 are to the east and gate 4 and 5 are to',
  1214.     'the west.'
  1215. SAY 'A late passenger goes through the metal detector and boards the plane.'
  1216. RETURN
  1217. ROOM16:
  1218. SAY 'The departure gate 2 is to the south and departure gate 3 is to',
  1219.     'the east.'
  1220. SAY 'A good-looking flight attendant walks by and disappears down the gate 3'
  1221. SAY 'corridor. A grandmother kisses a visiting grandson goodbye.'
  1222. RETURN
  1223. ROOM17:
  1224. SAY 'The departure area is quiet save for your echoing footsteps. You look'
  1225. SAY 'out the window at the baggage cart driving by. You notice the departure'
  1226. SAY 'gate 4 to the south and gate 5 to the west. You glance at your watch'
  1227. SAY 'and realize you need to hurry.'
  1228. RETURN
  1229. ROOM18:
  1230. SAY "You board Chad's small two-engine plane and then taking a seat you fall"
  1231. SAY 'asleep. When you awaken you notice you are flying over a thick green'
  1232. SAY 'jungle. You notice a river snaking through the dense jungle. Chad tells'
  1233. SAY 'you this is the place. A feeling of excitment wells up inside you.'
  1234. RETURN
  1235. ROOM19:
  1236. RND=RANDOM(1,2)
  1237. IF RND=1 THEN
  1238. DO
  1239.    SAY "You realized that you boarded the wrong plane but it's too late the"
  1240.    SAY "plane has already taken off. If that wasn't bad enough the plane was"
  1241.    SAY 'hi-jacked. They killed you to show the police they were serious!'
  1242. END
  1243. ELSE
  1244. DO
  1245.    SAY 'You boarded the wrong airplane. Before you could get off the',
  1246.        'plane, It was'
  1247.    SAY 'off the ground. You enjoyed the in-flight movie but the food made you'
  1248.    SAY 'deadly sick...and I mean deadly!!'
  1249. END
  1250. RETURN
  1251. ROOM20:
  1252. SAY 'You are in a bamboo cage suspended a few feet off the ground by a woven'
  1253. SAY 'rope. You yank and tug at the bamboo poles and they only bend sligthly'
  1254. SAY "but don't break. You look around and can see a hut, a garden, and even"
  1255. SAY 'a river but the cage is twirling in the gentle breeze and your sense'
  1256. SAY 'of direction is confused.'
  1257. RETURN
  1258. ROOM21:
  1259. SAY 'You walk cautiously around the area until you decide that no one is here'
  1260. SAY 'but you and then you relax. You notice that there is no fire in the pit'
  1261. SAY 'only black ashes and charcoaled remains of wood. There are footprints'
  1262. SAY 'all around the pit. You summize this is a nigthly meeting place and then'
  1263. SAY 'glance at the sun. You decide it might not be safe to stay here to long.'
  1264. RETURN
  1265. ROOM22:
  1266. SAY 'A small thatch hut stands among the blades of tall grass. It is',
  1267.     'made from'
  1268. SAY 'dried mud and long blades of thatch and grass. The opening is covered by'
  1269. SAY 'a tanned animal skin. The dark green jungle provides the perfect',
  1270.     'backdrop.'
  1271. SAY "There doesn't appear to be anyone home but you prepare to run just",
  1272.     "in case!"
  1273. RETURN
  1274. ROOM23:
  1275. SAY 'The garden is full of tall green plants a winding vines. The natives',
  1276.     'must'
  1277. SAY 'must spend many hours tending to it. Most of the plants have not yet',
  1278.     'began'
  1279. SAY 'to produce crops but the plants have many blooms. Honeybees buzz around'
  1280. SAY "the flowering plants gathering pollen."
  1281. RETURN
  1282. ROOM24:
  1283. SAY 'You are in the thatch hut. It is cool in here, almost comfortable. You'
  1284. SAY 'notice that the hut is mostly empty save for the woven bedmats.',
  1285.     'There are'
  1286. SAY 'some crude pottery formed containers for which you have no use.'
  1287. RETURN
  1288. ROOM25:
  1289. RND=RANDOM(1,4)
  1290. IF RND=1 THEN
  1291. DO
  1292.    SAY 'While trying to find your way around in the dense jungle you stumble'
  1293.    SAY 'on to a hidden village. Unfortunately the villagers want it to stay'
  1294.    SAY 'hidden! They insist that you stay for dinner...as the main course!'
  1295. END
  1296. ELSE
  1297. IF RND=2 THEN
  1298. DO
  1299.    SAY 'While walking around in the dense jungle you come face to face with a'
  1300.    SAY 'a group of headhunters. Your body falls to the ground minus a',
  1301.        'head, but'
  1302.    SAY 'look on the bright side! You will be the only american head in their'
  1303.    SAY 'collection!'
  1304. END
  1305. ELSE
  1306. IF RND=3 THEN
  1307. DO
  1308.    SAY 'You wander in to the dense jungle and suddenly realize that you',
  1309.        'are lost'
  1310.    SAY 'While walking around you discover that the jungle is crawling',
  1311.        'with large'
  1312.    SAY 'pythons and boa constrictors. Unfortunately they are now crawling all'
  1313.    SAY 'over you.... (squeeze)!'
  1314. END
  1315. ELSE
  1316. DO
  1317.    SAY 'Aarrggghhh!! You fell in to a deep pit used by hunters to catch',
  1318.        'dangerous'
  1319.    SAY 'animals. Just your luck! The pit is already occupied by a huge hungry'
  1320.    SAY 'Lion....well he is no longer hungry!'
  1321. END
  1322. RETURN
  1323. ROOM26:
  1324. SAY 'You are in a grassy clearing to the south of the village center. Nearby'
  1325. SAY 'a muddy brown river flows slowly along on a course for nowhere. You know'
  1326. SAY 'that it just recently rained since the water is muddy. You notice there'
  1327. SAY 'are wood chips littering the area. It must be a workarea for the',
  1328.     'natives.'
  1329. SAY 'A loud roar comes from the dense jungle that is just west of here.'
  1330. RETURN
  1331. ROOM27:
  1332. SAY 'This is the center of a small native village. Several thatch huts are'
  1333. SAY 'scattered about and most of them are farther than you care to walk at'
  1334. SAY 'the moment. There is one hut close by to the east. With a swift kick'
  1335. SAY 'you send a broken piece of the bamboo cage skidding throught the dirt.'
  1336. RETURN
  1337. ROOM28:
  1338. SAY 'The muddy water flows slowly past the dugout canoe. You look down in the'
  1339. SAY 'water beside the canoe and see a large alligator lurking just below the'
  1340. SAY 'the murky surface. You duck down to avoid a large overhanging tree',
  1341.     'branch.'
  1342. SAY 'You notice a huge python resting on the branch as you drift past the'
  1343. SAY "water seems to be quickening it's pace to the west."
  1344. RETURN
  1345. ROOM29:
  1346. SAY 'You are drifting lazily on the river. A gentle breeze ripples over the'
  1347. SAY 'sleepy waters. Overhead the hot yellow sun sends rays of light beating'
  1348. SAY 'down on to the earth. To the north you see a landing on the bank. To'
  1349. SAY 'the south you see a partial path leading up the bank into the dark rain'
  1350. SAY 'forest. You paddle a few strokes to stop from drifting into a rock.'
  1351. RETURN
  1352. ROOM30:
  1353. SAY 'You ease the canoe through the murky waters. You hear thrashing in',
  1354.     'the tall'
  1355. SAY 'grasses on the far bank and see two alligators fighting. The whole',
  1356.     'scene is'
  1357. SAY 'out of a National Geographic Magazine. You sit back soaking up the',
  1358.     'natural'
  1359. SAY 'beauty and wonder how long it will be til civilazation comes to',
  1360.     'destroy it!'
  1361. SAY 'You notice a fairly worn path leading up the south enbankment.'
  1362. RETURN
  1363. ROOM31:
  1364. SAY 'You are in a round cavern of the cave. The air is cold and damp.',
  1365.     'The cave'
  1366. SAY 'ends here and the only exit is the way you came in. A sparse amount of'
  1367. SAY 'light filters in from several little hole in the cave ceiling. The light'
  1368. SAY 'focuses upon a stone pedestal in the center of the cavern. There is some'
  1369. SAY 'some writing carved on it but you have no idea of what it says.'
  1370. RETURN
  1371. ROOM32:
  1372. SAY 'You emerge from the cave with the Sacred Stone in hand! You pause for a'
  1373. SAY 'short moment to dust off you clothes. Suddenly a big group of unfriendly'
  1374. SAY 'natives spring from the thick shrubs that grow around the cave.',
  1375.     'They weild'
  1376. SAY 'spears which they hold pointed at you. You swallow hard...'
  1377. RETURN
  1378. ROOM33:
  1379. SAY 'You stand on a dirt path on the bank of a muddy river. A dugout',
  1380.     'canoe sits'
  1381. SAY 'between the tall grasses of the shoreline. You hear loud squaking',
  1382.     'bird crys'
  1383. SAY 'coming from the rain forests to the east and west. Spots of shade cross'
  1384. SAY 'the path where large green leafy trees grow near the path. There are'
  1385. SAY 'patches of mud left from the recent heavy rains.'
  1386. RETURN
  1387. ROOM34:
  1388. SAY 'You are just outside of a partial hidden cave. Thick underbrush and',
  1389.     'shrubry'
  1390. SAY 'grow around the entrance. There are animal tracks leading in and out',
  1391.     'of the'
  1392. SAY "cave. The tracks belong to a bear. Hmm...you didn't realize that bears"
  1393. SAY "lived in the jungle! (I guess they don't but in this game they do!)"
  1394. RETURN
  1395. ROOM35:
  1396. SAY 'The field is growing with a variety of flowers, grass, and weeds.',
  1397.     'You walk'
  1398. SAY 'over a small thicket bush and are thankful for your hiking boots. A lone'
  1399. SAY 'knarled tree supports a few bee hives. One hive is fairly large and'
  1400. SAY 'is highest up on this relatively short, but unclimbable tree. There is'
  1401. SAY 'a smaller hive within reach. Bees fly in and out of the hive seemingly'
  1402. SAY 'not bothered by your presence.'
  1403. RETURN
  1404. ROOM36:
  1405. IF STONE=2 THEN SIGNAL WIN_ROOM
  1406. ELSE
  1407. DO
  1408.    SAY 'You stand in a beautiful field of fresh colored green grasses. A',
  1409.        'welcome'
  1410.    SAY 'breeze flows over the field making the grasses move like the',
  1411.        'ocean waves'
  1412.    SAY 'High overhead billowy white clouds float gracefully by playing',
  1413.        'cat and'
  1414.    SAY 'mouse with the fiery sun. The ground is soft here. you feel a',
  1415.        'deep peace'
  1416.    SAY 'build up inside you. You take in a big gulp of fresh clean air.'
  1417. END
  1418. RETURN
  1419. ROOM37:
  1420. SAY "You find yourself in a slightly wooded area just at the jungle's edge."
  1421. SAY 'The jungle get dense very quickly as it continues to the west. To the'
  1422. SAY 'north grows some thick shrubs. some of the shrubs are taller than you!'
  1423. SAY 'A bird sings from his lofty perch high above.'
  1424. RETURN
  1425. ROOM38:
  1426. SAY 'You stumbled into a pit of quicksand. All of the heavy rain has turned'
  1427. SAY 'the ground here to mush. Before you could understand what had happened'
  1428. SAY 'you were leg deep in the mire. You struggle in vain reaching out for a'
  1429. SAY 'low branch causing yourself to sink deeper. You should have been more'
  1430. SAY 'careful! The muck closes over you and all is still...'
  1431. RETURN
  1432. ROOM39:
  1433. Say "You are in a natural clearing. It isn't actually a clearing but",
  1434.     "more like"
  1435. SAY 'the plains. Trees and shrubs are scattered here and there. A lizard',
  1436.     'darts'
  1437. SAY 'off in search of a cool place to rest. The dirt grinds under your heavy'
  1438. SAY 'boots. You wipe the sweat from your forehead with your hand.'
  1439. RETURN
  1440. ROOM40:
  1441. SAY 'Like a monkey you scampered up the tree. Memories of climbing',
  1442.     'Pecan trees'
  1443. SAY 'as a boy come flooding back to your mind. You smile thinking back,',
  1444.     'but all'
  1445. SAY 'too quickly snap to as you slip and almost fall from the tree. A cluster'
  1446. SAY 'of vines climb up the tree. You see monkeys playing in some trees off'
  1447. SAY 'closer to the jungle. You hold the tree close and catch your breath.'
  1448. RETURN
  1449. ROOM41:
  1450. SAY 'You balance yourself on a sturdy branch. A bird takes flight alarmed by'
  1451. SAY 'your intrusion. You grip the nearest branch tigthly as a sligth breeze'
  1452. SAY 'cause the tree to sway. A number of vines snake off in many different'
  1453. SAY 'directions. You peer through the green foilage at a tree across the way.'
  1454. RETURN
  1455. ROOM42:
  1456. RND=RANDOM(1,3)
  1457. IF RND=1 THEN
  1458. DO
  1459.    SAY 'While you were watching a jaguar stalk along the shore of the river'
  1460.    SAY 'you let the dugout canoe drift over a 100 foot waterfall with you',
  1461.        'still'
  1462.    SAY 'in it! You were smashed against the rocks below! Tsk...Tsk!'
  1463. END
  1464. ELSE
  1465. IF RND=2 THEN
  1466. DO
  1467.    SAY 'You leaned back in the canoe and let it drift along as you',
  1468.        'watched the'
  1469.    SAY 'clouds form into weird shapes. The canoe soon drifted down into some'
  1470.    SAY 'white water rapids. Striking some rocks the canoe rolled over',
  1471.        'throwing'
  1472.    SAY 'you out. The river dragged you along underwater and you drown!'
  1473. END
  1474. ELSE
  1475. DO
  1476.    SAY 'You paddled the canoe into a overhanging branch. You stood up to',
  1477.        'push off'
  1478.    SAY 'of the limb, but unfortunately you fell out of the canoe and it',
  1479.        'floated'
  1480.    SAY 'out of reach before you could get to it. Too bad the alligators',
  1481.        'got you'
  1482.    SAY 'before you could get out of the river! (Burp)'
  1483. END
  1484. RETURN
  1485. ROOM43:
  1486. SAY 'After you pushed the button the elevator engine began to whine and you'
  1487. SAY 'were thrown to the floor as the elevator tilted to one side. The cable'
  1488. SAY 'snapped and the elevator crashed down into the basement. You were killed'
  1489. SAY 'in the impact. You should have LOOKed at the elevator and you would have'
  1490. SAY 'seen that the elevator was out of order!'
  1491. RETURN
  1492. ROOM44:
  1493. IF V=32 THEN
  1494. DO
  1495.    SAY "Bang! You fire of a shot from your gun! Luckily you didn't injure",
  1496.        "or kill"
  1497.    SAY "anyone! The police came and arrested you for using a firearm in",
  1498.        "a public"
  1499.    SAY 'place. You spend the night in a dirty jail cell.'
  1500. END
  1501. ELSE
  1502. DO
  1503.    SAY 'The metal detector went off and the guards had to frisk you. They',
  1504.        'found'
  1505.    SAY 'the hand gun and placed you under arrest. You spent the night in jail!'
  1506. END
  1507. LOST=3
  1508. RETURN
  1509. ROOM45:
  1510. SAY "The natives got tired of watching you squirm around. You violated the"
  1511. Say "sacred religious shrine. You are quickly riddled with several spears."
  1512. SAY "needless to say, you didn't get your degree!!"
  1513. RETURN
  1514. ROOM46:
  1515. SAY 'A large swarm of angry honeybees emerge from the hive. Dropping the hive'
  1516. SAY 'you run like crazy all the way to the river where you jumped in.',
  1517.     'You leap'
  1518. SAY 'right in fron of an alligator...(burp)! Next time look before you leap!'
  1519. RETURN
  1520. ROOM47:
  1521. SAY 'SPPLLAATTT! You wind up a bloody smear on the ground! Next time wear the'
  1522. SAY 'parachute! I guess you will know better in your next life!'
  1523. RETURN
  1524. ROOM48:
  1525. SAY 'Bang! Bang! Bang! You put three holes into' OBJECT.N.1 'before you',
  1526.     'drop the'
  1527. SAY 'smoking gun.' OBJECT.N.1 'staggers back hitting the wall. His body',
  1528.     'falls'
  1529. SAY 'to the floor leaving a red smear down the wall. Blood drips out of his'
  1530. SAY 'mouth and puddles on the floor. A pair of police officers rush in and'
  1531. SAY 'place you under arrest!!! You spend many years in the slammer!!'
  1532. SAY
  1533. LOST=3
  1534. RETURN
  1535. END_ROOM:
  1536. CLEAR_SCR
  1537. SAY LEFT(LOC.R,34) COPIES(' ',18)'Time: Too late!'
  1538. SAY
  1539. SELECT
  1540.    WHEN R=8 THEN CALL ROOM8
  1541.    WHEN R=19 THEN CALL ROOM19
  1542.    WHEN R=25 THEN CALL ROOM25
  1543.    WHEN R=38 THEN CALL ROOM38
  1544.    WHEN R=42 THEN CALL ROOM42
  1545.    WHEN R=43 THEN CALL ROOM43
  1546.    WHEN R=44 THEN CALL ROOM44
  1547.    WHEN R=45 THEN CALL ROOM45
  1548.    WHEN R=46 THEN CALL ROOM46
  1549.    WHEN R=47 THEN CALL ROOM47
  1550.    WHEN R=48 THEN CALL ROOM48
  1551.    OTHERWISE
  1552.    IF COCNUT=3 THEN
  1553.    DO
  1554.       SAY 'Bonk!!  The last coconut thrown by that good-for-nothing',
  1555.           'monkey hit'
  1556.       SAY 'you so hard that it split open your skull. You were knocked',
  1557.           'unconscious'
  1558.       SAY 'Before you could come to you bleed to death! What a',
  1559.           'terrible shame!'
  1560.    END
  1561. END
  1562. IF LOST\=3 then
  1563. DO
  1564.    SAY
  1565.    SAY CENTER(HI'Sorry you have lost his adventure...'LO,70)
  1566.    SAY
  1567.    SAY '                                                         |       '
  1568.    SAY '                            +----------+              ---+---    '
  1569.    SAY '         +---+              |          |                 |       '
  1570.    SAY '         |   |              | R. I. P. |              (.;|)./    '
  1571.    SAY '        )|.;.|/   ;.)|(.    |          |                         '
  1572.    SAY '                            |          |                         '
  1573.    SAY '                            |          |         ..))/(.;        '
  1574.    SAY '                           )|..,.((/..))/                        '
  1575.    SAY
  1576. END
  1577. ELSE
  1578. DO
  1579.    SAY 'While you were wasting time messing around, your across',
  1580.        'town rival was'
  1581.    SAY 'able to recover the Sacred Stone! By now you are the laughing stock'
  1582.    SAY 'of your town. You have brought shame to your family and school name!!'
  1583.    SAY 'You will be lucky if you ever get your degree now!'
  1584. END
  1585. SIGNAL QUIT
  1586. WIN_ROOM:
  1587. CLEAR_SCR
  1588. R=49
  1589. CALL QTIME
  1590. SAY 'As you get to the field you see a helicopter and wave madly!',
  1591.    'The helicopter'
  1592. SAY 'lands in the field and you run over to it! Your friend the professor',
  1593.     'is in'
  1594. SAY 'the chopper. You get in and are taken back to the university! You',
  1595.     'get your'
  1596. Say 'degree and the SACRED STONE is put in a museum! You become very famous!!'
  1597. SAY
  1598. SAY CENTER(HI'CONGRATULATIONS!!! You have solved this adventure!'LO,72)
  1599. SAY
  1600. SIGNAL QUIT
  1601. TITLE:
  1602. CLEAR_SCR
  1603. SAY CENTER(HI'MIKEL RICE PROUDLY PRESENTS',71)
  1604. SAY
  1605. SAY '   SSSSSSS  EEEEE   AAAA   RRRR   CCCCC  H   H     FFFFF OOOOO  RRRR  '
  1606. SAY '  S         E      A    A  R   R  C      H   H     F     O   O  R   R '
  1607. SAY '   SSSSSS   EEE    AAAAAA  RRRR   C      HHHHH     FFF   O   O  RRRR  '
  1608. SAY '         S  E      A    A  R R    C      H   H     F     O   O  R R   '
  1609. SAY '  SSSSSSS   EEEEE  A    A  R  R   CCCCC  H   H     F     OOOOO  R  R  '
  1610. SAY '                                                                      '
  1611. SAY '  TTTTTTT H   H EEEEE     SSSSSSS   AAAA   CCCCC  RRRR   EEEEE  DDDD  '
  1612. SAY '     T    H   H E        S         A    A  C      R   R  E   E  D   D '
  1613. SAY '     T    HHHHH EEE       SSSSSS   AAAAAA  C      RRRR   EEEEE  D   D '
  1614. SAY '     T    H   H E               S  A    A  C      R R    E      D   D '
  1615. SAY '     T    H   H EEEEE    SSSSSSS   A    A  CCCCC  R  R   EEEEE  DDDD  '
  1616. SAY
  1617. SAY '     *   *      SSSSSSS  TTTTTTT  OOOOOO  NN    N  EEEEEE    *   *  '
  1618. SAY '      * *      S            T     O    O  N N   N  E          * *   '
  1619. SAY '    ** * **     SSSSSS      T     O    O  N  N  N  EEEE     ** * ** '
  1620. SAY '      * *             S     T     O    O  N   N N  E          * *   '
  1621. SAY '     *   *     SSSSSSS      T     OOOOOO  N    NN  EEEEEE    *   *  '
  1622. SAY
  1623. R=1
  1624. HOUR=8
  1625. MINUTES=30
  1626. LOST=0
  1627. MSG=0
  1628. AM_PM='AM'
  1629. UNLOCKED=0
  1630. OPENED=0
  1631. TAXI=0
  1632. CANOE=0
  1633. SMOKE=0
  1634. COCONUT=0
  1635. STONE=0
  1636. LIGHTER=0
  1637. ROCK=0
  1638. BEAR=0
  1639. VLIST='GO GETLOODROOPEREAUNLMOVCLIBREMAKDIGHELCUTPADKILQUIRINPREASK'
  1640. VLIST=VLIST||'GIVPAYWEAJUMLIGUSEBURTHRSWIFEEPUTSHO'
  1641. NLIST='NORSOUEASWESUP DOWNOTELEDESNEWKEYBELREGTAXBUTONETWOTHRRUGELM'
  1642. NLIST=NLIST||'FREMONCOUTICLIGHOTSIGLOCPARFLYCHAGATCAGROCAXESHOLOGCAN'
  1643. NLIST=NLIST||'STOHIVWALTREPEDBEAVINRIVNATFIRWOOHUTCAVSHOGUN'
  1644. LOC.1 = 'Outside a fancy hotel'
  1645. EXIT.1 = '0 0 3 4 0 0'
  1646. LOC.2 = 'Hotel Lobby'
  1647. EXIT.2 = '5 1 0 0 0 0'
  1648. LOC.3 = 'Bad part of town'
  1649. EXIT.3 = '0 0 8 1 0 0'
  1650. LOC.4 = 'Outside a small shop'
  1651. EXIT.4 = '0 0 1 0 0 0'
  1652. LOC.5 = 'Front desk of the Royal Ritz'
  1653. EXIT.5 = '0 2 0 0 0 0'
  1654. LOC.6 = 'In an elevator'
  1655. EXIT.6 = '0 0 0 2 0 0'
  1656. LOC.7 = "In Elmo's pawn shop"
  1657. EXIT.7 = '0 4 0 0 0 0'
  1658. LOC.8 = 'In deep trouble'
  1659. LOC.9 = "In a Fred's taxi"
  1660. EXIT.9 = '0 0 0 0 0 0'
  1661. LOC.10= 'Outside an International Airport'
  1662. EXIT.10='0 11 0 0 0 0'
  1663. LOC.11 = 'Airport hallway'
  1664. EXIT.11 = '10 14 12 13 0 0'
  1665. LOC.12 = 'Passenger area'
  1666. EXIT.12 = '0 0 0 11 0 0'
  1667. LOC.13 = 'Passenger area'
  1668. EXIT.13 = '0 0 11 0 0 0'
  1669. LOC.14 = 'Passenger lounge'
  1670. EXIT.14 = '11 15 0 0 0 0'
  1671. LOC.15 = 'Departure area'
  1672. EXIT.15 = '14 19 16 17 0 0'
  1673. LOC.16 = 'Departure area east'
  1674. EXIT.16 = '0 19 19 15 0 0'
  1675. LOC.17 = 'Departure area west'
  1676. EXIT.17 = '0 18 15 19 0 0'
  1677. LOC.18 = 'In a two-engine plane'
  1678. EXIT.18 = '0 0 0 0 0 0'
  1679. LOC.19 = 'Knocking at the pearly gates'
  1680. EXIT.19 = '0 0 0 0 0 0'
  1681. LOC.20 = 'Trapped in a bamboo cage'
  1682. EXIT.20='0 0 0 0 0 0'
  1683. LOC.21 = 'By the village fire pit'
  1684. EXIT.21 = '0 27 0 0 0 0'
  1685. LOC.22 = 'Near a thatch hut'
  1686. EXIT.22 = '0 0 0 27 0 0'
  1687. LOC.23 = 'In the small village garden'
  1688. EXIT.23 = '0 25 27 0 0 0'
  1689. LOC.24 = 'In a thatch hut'
  1690. EXIT.24 = '0 0 0 22 0 0'
  1691. LOC.25 = 'In the dense jungle'
  1692. EXIT.25 = '0 0 0 0 0 0'
  1693. LOC.26 = 'In a clearing'
  1694. EXIT.26 = '27 0 25 25 0 0'
  1695. LOC.27 = 'Center of a native village'
  1696. EXIT.27 = '21 26 22 23 0 0'
  1697. LOC.28 = 'In a dugout canoe'
  1698. EXIT.28='25 0 29 42 0 0'
  1699. LOC.29 = 'In a dugout canoe'
  1700. EXIT.29 = '26 25 30 28 0 0'
  1701. LOC.30 = 'In a dugout canoe'
  1702. EXIT.30 = '0 33 42 29 0 0'
  1703. LOC.31 = 'In a dimly lit cave'
  1704. EXIT.31 = '0 34 0 0 0 0'
  1705. LOC.32 = 'Outside of a small cave'
  1706. EXIT.32 = '0 0 0 0 0 0'
  1707. LOC.33 = 'On a worn dirt path'
  1708. EXIT.33 = '0 36 25 25 0 0'
  1709. LOC.34 = 'Outside of a small cave'
  1710. EXIT.34 = '0 37 0 25 0 0'
  1711. LOC.35 = 'West end of a big green field'
  1712. EXIT.35 = '25 0 36 0 0 0'
  1713. LOC.36 = 'East end of a big green field'
  1714. EXIT.36 = '33 39 0 35 0 0'
  1715. LOC.37 = 'In a slightly wooded area'
  1716. EXIT.37 = '34 0 38 25 0 0'
  1717. LOC.38 = 'In a deep pit of quicksand'
  1718. LOC.39 = 'In a slightly wooded area'
  1719. EXIT.39 = '36 0 38 0 0 0'
  1720. LOC.40 = 'Perched high in a tree'
  1721. EXIT.40 = '0 0 0 0 40 39'
  1722. LOC.41 = 'Perched high in a tree'
  1723. EXIT.41 = '0 0 0 0 41 37'
  1724. LOC.42 = 'Bellyup underwater'
  1725. LOC.43 = 'Crushed under a steel beam'
  1726. LOC.44 = 'In a musty jail cell'
  1727. LOC.45 = 'In the great beyond'
  1728. LOC.46 = 'In the belly of a gator'
  1729. LOC.47 = 'All over the ground!'
  1730. LOC.48 = 'In a musty jail cell'
  1731. LOC.49 = "Getting a hero's welcome"
  1732. OBJECT.1.1 = 'NORTH'
  1733. OBJECT.1.2 = 0
  1734. CAN.1='*'
  1735. OBJECT.1.3 = "You see something, maybe you should go there!"
  1736. OBJECT.2.1 = 'SOUTH'
  1737. OBJECT.2.2 = 0
  1738. CAN.2='*'
  1739. OBJECT.2.3 = "You see something, maybe you should go there!"
  1740. OBJECT.3.1 = 'EAST'
  1741. OBJECT.3.2 = 0
  1742. CAN.3='*'
  1743. OBJECT.3.3 = "You see something, maybe you should go there!"
  1744. OBJECT.4.1 = 'WEST'
  1745. OBJECT.4.2 = 0
  1746. CAN.4='*'
  1747. OBJECT.4.3 = "You see something, Maybe you should go there!"
  1748. OBJECT.5.1 = 'UP '
  1749. OBJECT.5.2 = 0
  1750. CAN.5='*'
  1751. OBJECT.5.3 = "My neck is starting to hurt!"
  1752. OBJECT.6.1 = 'DOWN'
  1753. OBJECT.6.2 = 0
  1754. CAN.6='*'
  1755. OBJECT.6.3 = "You see something...Your feet!"
  1756. OBJECT.7.1 = 'NOTE'
  1757. OBJECT.7.2 = 1
  1758. CAN.7='1'
  1759. OBJECT.7.3 = 'There is something written on it.'
  1760. OBJECT.8.1 = 'ELEVATOR'
  1761. OBJECT.8.2 = 2
  1762. CAN.8='*'
  1763. OBJECT.8.3 = "A sign on the door says 'Out of Order'"
  1764. OBJECT.9.1 = 'Front DESK'
  1765. OBJECT.9.2 = 5
  1766. CAN.9='*'
  1767. OBJECT.9.3 = 'It is kept very tidy.'
  1768. OBJECT.10.1 = 'NEWSPAPER'
  1769. OBJECT.10.2 = 3
  1770. CAN.10='1'
  1771. OBJECT.10.3 = "It is a crumpled copy of today's newspaper."
  1772. OBJECT.11.1 = 'small KEY'
  1773. OBJECT.11.2 = 6
  1774. CAN.11='1'
  1775. OBJECT.11.3 = 'It has the number 26 scratched on it!'
  1776. OBJECT.12.1 = 'shiny BELL'
  1777. OBJECT.12.2 = 5
  1778. CAN.12='*'
  1779. OBJECT.12.3 = "It's one of those bells you ring for service."
  1780. OBJECT.13.1 = 'cash REGISTER'
  1781. OBJECT.13.2 = 5
  1782. CAN.13='*'
  1783. OBJECT.13.3 = "It isn't locked."
  1784. OBJECT.14.1 = 'TAXI'
  1785. OBJECT.14.2 = 0
  1786. CAN.14='*'
  1787. OBJECT.14.3 = "It has Fast Fred's Cab Co painted on the side."
  1788. OBJECT.15.1 = 'BUTTON'
  1789. OBJECT.15.2 = 6
  1790. CAN.15='*'
  1791. OBJECT.15.3 = "The buttons are labeled one to three."
  1792. OBJECT.16.1 = 'ONE'
  1793. OBJECT.16.2 = 0
  1794. CAN.16='*'
  1795. OBJECT.16.3 = "Try pressing it!"
  1796. OBJECT.17.1 = 'TWO'
  1797. OBJECT.17.2 = 0
  1798. CAN.17='*'
  1799. OBJECT.17.3 = 'Try pressing it!'
  1800. OBJECT.18.1 = 'THREE'
  1801. OBJECT.18.2 = 0
  1802. CAN.18='*'
  1803. OBJECT.18.3 = "Try pressing it!"
  1804. OBJECT.19.1 = 'pretty throw RUG'
  1805. OBJECT.19.2 = 7
  1806. CAN.19='*'
  1807. OBJECT.19.3 = "It is a valuable persian rug."
  1808. OBJECT.20.1 = 'ELMO'
  1809. OBJECT.20.2 = 7
  1810. CAN.20='*'
  1811. OBJECT.20.3 = "He looks like a real nice guy!"
  1812. OBJECT.21.1 = 'FRED'
  1813. OBJECT.21.2 = 9
  1814. CAN.21='*'
  1815. OBJECT.21.3 = "He is wearing a dirty cap and he needs to shave."
  1816. OBJECT.22.1 = 'MONEY'
  1817. OBJECT.22.2 = 50
  1818. CAN.22='1'
  1819. OBJECT.22.3 = "It's looks like a 20 dollar bill to me."
  1820. OBJECT.23.1 = 'redeemable COUPON'
  1821. OBJECT.23.2 = 0
  1822. CAN.23='1'
  1823. OBJECT.23.3 = "Why don't you read the writting on it!"
  1824. OBJECT.24.1 = 'plane TICKET'
  1825. OBJECT.24.2 = 50
  1826. CAN.24='1'
  1827. OBJECT.24.3 = "If I were you I would try to read it!"
  1828. OBJECT.25.1 = 'LIGHTER'
  1829. OBJECT.25.2 = 0
  1830. CAN.25='1'
  1831. OBJECT.25.3 ="It's the plastic kind and it's almost out of fluid!"
  1832. OBJECT.26.1 = 'Royal Ritz HOTEL'
  1833. OBJECT.26.2 = 1
  1834. CAN.26='*'
  1835. OBJECT.26.3 = "It is a very high class hotel."
  1836. OBJECT.27.1 = 'SIGN'
  1837. OBJECT.27.2 = 11
  1838. CAN.27='*'
  1839. OBJECT.27.3 = 'It read: To gates 1 - 5'
  1840. OBJECT.28.1 = 'LOCKERS'
  1841. OBJECT.28.2 = 12
  1842. CAN.28='*'
  1843. OBJECT.28.3 = 'They are numbered from 21 to 40'
  1844. OBJECT.29.1 = 'PARACHUTE'
  1845. OBJECT.29.2 = 0
  1846. CAN.29='1'
  1847. OBJECT.29.3 = 'It is just a parachute.'
  1848. OBJECT.30.1 = 'FLYER'
  1849. OBJECT.30.2 = 14
  1850. CAN.30='1'
  1851. OBJECT.30.3 = 'It is taped up on the wall.'
  1852. OBJECT.31.1 = 'CHAIRS'
  1853. OBJECT.31.2 = 14
  1854. CAN.31='*'
  1855. OBJECT.31.3 = 'They are very colorful kind with the thin padding.'
  1856. OBJECT.32.1 = 'GATES'
  1857. OBJECT.32.2 = 0
  1858. CAN.32='*'
  1859. OBJECT.32.3 = 'They are boarding gates.'
  1860. OBJECT.33.1 = 'bamboo CAGE'
  1861. OBJECT.33.2 = 20
  1862. CAN.33='*'
  1863. OBJECT.33.3 = 'The cage is built fairly sturdy.'
  1864. OBJECT.34.1 = 'round ROCK'
  1865. OBJECT.34.2 = 0
  1866. CAN.34='1'
  1867. OBJECT.34.3 = 'It is a fist sized rock.'
  1868. OBJECT.35.1 = 'hand AXE'
  1869. OBJECT.35.2 = 24
  1870. CAN.35='1'
  1871. OBJECT.35.3 = 'It is old but still useable'
  1872. OBJECT.36.1 = 'SHOVEL'
  1873. OBJECT.36.2 = 23
  1874. CAN.36='1'
  1875. OBJECT.36.3 = "It's a shovel, but it reminds you of something else!"
  1876. OBJECT.37.1 = 'big LOG'
  1877. OBJECT.37.2 = 26
  1878. CAN.37='*'
  1879. OBJECT.37.3 = 'The bark has been striped and it has been cut at some'
  1880. OBJECT.38.1 = 'dugout CANOE'
  1881. OBJECT.38.2 = 0
  1882. CAN.38='*'
  1883. OBJECT.38.3 = 'You did a good job...it should float.'
  1884. OBJECT.39.1 = '* Sacred STONE *'
  1885. OBJECT.39.2 = 0
  1886. CAN.39='1'
  1887. OBJECT.39.3 = 'It is a beautiful sparkling blue QUARTZ-DIAMOND!!'
  1888. OBJECT.40.1 = 'bee HIVE'
  1889. OBJECT.40.2 = 35
  1890. CAN.40='1'
  1891. OBJECT.40.3 = 'It is the hive of some honeybees.'
  1892. OBJECT.41.1 = 'stone WALL'
  1893. OBJECT.41.2 = 0
  1894. CAN.41='*'
  1895. OBJECT.41.3 = 'It is blocking the only exit.'
  1896. OBJECT.42.1 = 'big TREE'
  1897. OBJECT.42.2 = 39
  1898. CAN.42='*'
  1899. OBJECT.42.3 = 'It has some low easy to reach branches.'
  1900. OBJECT.43.1 = 'PEDESTAL'
  1901. OBJECT.43.2 = 31
  1902. CAN.43='*'
  1903. OBJECT.43.3 = 'It it exquisitly carved and made to display something.'
  1904. OBJECT.44.1 = 'mean BEAR'
  1905. OBJECT.44.2 = 34
  1906. CAN.44='*'
  1907. OBJECT.44.3 = 'The bear is big and looks hungry.'
  1908. OBJECT.45.1 = 'thick VINE'
  1909. OBJECT.45.2 = 40
  1910. CAN.45='*'
  1911. OBJECT.45.3 = 'It looks very sturdy.'
  1912. OBJECT.46.1 = 'wide RIVER'
  1913. OBJECT.46.2 = 26
  1914. CAN.46='*'
  1915. OBJECT.46.3 = 'The river is wide but the muddy water flows slowly.'
  1916. OBJECT.47.1 = 'unfriendly NATIVES'
  1917. OBJECT.47.2 = 32
  1918. CAN.47='*'
  1919. OBJECT.47.3 = 'They surround you holding spears pointed at you!'
  1920. OBJECT.48.1 = 'FIRE'
  1921. OBJECT.48.2 = 0
  1922. CAN.48='*'
  1923. OBJECT.48.3 = 'It is burning with flickering orange flames!'
  1924. OBJECT.49.1 = 'piece of WOOD'
  1925. OBJECT.49.2 = 21
  1926. CAN.49='1'
  1927. OBJECT.49.3 = 'THE WOOD IS SLIGHTLY DAMP BUT SHOULD STILL BURN.'
  1928. OBJECT.50.1 = 'thatch HUT'
  1929. OBJECT.50.2 = 22
  1930. CAN.50='*'
  1931. OBJECT.50.3 = 'The hut is made of dried mud and long blades of thatch.'
  1932. OBJECT.51.1 ='big CAVE'
  1933. OBJECT.51.2 = 34
  1934. CAN.51='*'
  1935. OBJECT.51.3 ="It isn't very dark inside but I can't see in too far."
  1936. OBJECT.52.1 ='pawn SHOP'
  1937. OBJECT.52.2=4
  1938. CAN.52='*'
  1939. OBJECT.52.3 ='The pawn shop is opened and you see someone inside.'
  1940. OBJECT.53.1 ='hand GUN'
  1941. OBJECT.53.2=50
  1942. CAN.53='1'
  1943. OBJECT.53.3 ="It's a regular hand gun. You lost the registration though."
  1944. OBJECT.54.1 = 'tall TREE'
  1945. OBJECT.54.2 = 37
  1946. CAN.54='*'
  1947. OBJECT.54.3 = 'It looks easy to climb up.'
  1948. OBJECT.55.1 = 'wide RIVER'
  1949. OBJECT.55.2 = 28
  1950. CAN.55='*'
  1951. OBJECT.55.3 = 'The river is wide but the muddy water flows slowly.'
  1952. OBJECT.56.1 = 'wide RIVER'
  1953. OBJECT.56.2 = 29
  1954. CAN.56='*'
  1955. OBJECT.56.3 = 'The river is wide but the muddy water flows slowly.'
  1956. OBJECT.57.1 = 'wide RIVER'
  1957. OBJECT.57.2 = 30
  1958. CAN.57='*'
  1959. OBJECT.57.3 = 'The river is wide but the muddy water flows slowly.'
  1960. OBJECT.58.1 = 'wide RIVER'
  1961. OBJECT.58.2 = 33
  1962. CAN.58='*'
  1963. OBJECT.58.3 = 'The river is wide but the muddy water flows slowly.'
  1964. OBJECT.59.1 = 'thick VINE'
  1965. OBJECT.59.2 = 41
  1966. CAN.59='*'
  1967. OBJECT.59.3 = 'It winds upward into the tree foliage.'
  1968. OBJECT.60.1 = 'LOCKERS'
  1969. OBJECT.60.2 = 13
  1970. CAN.60='*'
  1971. OBJECT.60.3 = 'They are numbered from 1 to 20.'
  1972. OBJECT.61.1 = 'CHAIRS'
  1973. OBJECT.61.2 = 12
  1974. CAN.61='*'
  1975. OBJECT.61.3 = 'They are very colorful kind with the thin padding.'
  1976. OBJECT.62.1 = 'CHAIRS'
  1977. OBJECT.62.2 = 13
  1978. CAN.62='*'
  1979. OBJECT.62.3 = 'They are very colorful kind with the thin padding.'
  1980. SAY CENTER('DO YOU NEED INSTRUCTIONS? (Y/N)?'LO,74)
  1981. PULL ANSWER
  1982. IF  ANSWER \= 'Y' THEN RETURN
  1983. CLEAR_SCR
  1984. say CENTER(HI'Search for the Sacred Stone'LO,76)
  1985. SAY
  1986. SAY '     HAVING COMPLETED MOST OF YOUR GRADUATE STUDIES AT THE NEARBY',
  1987.     'UNIVERSITY'
  1988. SAY 'you need only a few more credit hours to obtain your doctorate degree in'
  1989. SAY 'Archaeology. Yesterday one of your favorite professors pulled you',
  1990.     'aside to'
  1991. SAY "make an offer you couldn't refuse...."
  1992. SAY
  1993. SAY "     It seems that just recently your professor learned that a long lost"
  1994. SAY 'archaeological treasure had been uncovered. He tells you of a valuable'
  1995. SAY 'blue quartz-diamond hidden deep in the jungles by a group of very',
  1996.     'hostile'
  1997. SAY "natives. The natives hold the stone as being sacred and don't take",
  1998.     "kindly"
  1999. SAY 'to people trying to take the stone. The professor offers to let you gain'
  2000. SAY 'some valuable experience and your degree if you can bring back',
  2001.     'the SACRED'
  2002. SAY 'STONE. A sparkle appears in your eyes as you accept the challenge! The'
  2003. SAY 'professor smiles as he tells you that the rival university across town'
  2004. SAY 'will also have someone looking for the stone so you must hurry!'
  2005. SAY
  2006. SAY CENTER('Press 'HI'<ENTER>'LO' to continue',76)
  2007. PULL DUMMY
  2008. CLEAR_SCR
  2009. SAY CENTER(HI'Search for the Sacred Stone'LO,76)
  2010. SAY
  2011. SAY 'OBJECTIVE : To get to the SACRED STONE before the across town rivals get'
  2012. SAY '            it and then get back safely.'
  2013. Say
  2014. Say "GAME RULES: You manipulate your character and the surroundings by",
  2015.     "using a"
  2016. Say "            VERB NOUN pair. For example to pick up an object that",
  2017.     "you can"
  2018. Say "            see, such as a book, just type 'GET BOOK'. To drop an",
  2019.     "item you"
  2020. SAY "            no longer need type 'DROP object'. 'LOOK object' is",
  2021.     "very useful"
  2022. SAY "            as it often supplies a clue as to the object use in",
  2023.     "the game."
  2024. SAY "            Some VERBS can be used without a NOUN. Some examples",
  2025.     "of these"
  2026. Say "            are: 'INVENTORY' (I), 'HELP', 'DIG', 'JUMP', 'SWING'",
  2027.     "or 'QUIT'."
  2028. Say
  2029. SAY "            To move about in your surroundings you can use the normal"
  2030. SAY "            compass directions: NORTH, SOUTH, EAST, WEST, UP and",
  2031.     "DOWN. To"
  2032. SAY "            move in a directions, say north, just type 'GO NORTH'",
  2033.     "or simply"
  2034. SAY "            type 'NORTH' or 'N' for short. In some place it may be",
  2035.     "neccessary"
  2036. SAY "            to 'GO', 'ENTER', or 'CLIMB' to get to where you want to go."
  2037. SAY
  2038. SAY CENTER('Press 'HI'<ENTER>'LO' to continue',77)
  2039. PULL DUMMY
  2040. CLEAR_SCR
  2041. SAY CENTER(HI'Search for the Sacred Stone'LO,76)
  2042. SAY
  2043. SAY "GAME RULES: SEARCH FOR THE SACRED STONE ALLOWS YOU TO SAVE YOUR CURRENT"
  2044. SAY "            POSITION. THIS IS USEFUL WHEN ENTERING UNKNOWN AREAS OF THE"
  2045. SAY "            GAME. YOU MAY WANT TO USE SAVE OFTEN AS YOU PLAY. TO RESTORE"
  2046. SAY "            YOUR POSTION AT ANYTIME TYPE LOAD OR WHEN YOU START THE GAME"
  2047. SAY "            TYPE STONE LOAD AND YOU WILL AUTOMATICALLY BE PLACED AT THE"
  2048. SAY "            POSTION WERE YOU SAVED FROM."
  2049. Say
  2050. SAY "            IF YOU ARE A SLOW READER OR YOU ARE PLAYING THIS",
  2051.     "ADVENTURE FOR"
  2052. SAY "            THE FIRST TIME YOU MAY WANT TO DECREASE THE SPEED AT",
  2053.     "WHICH THE"
  2054. SAY "            RESPONSE MESSAGES ARE DISPLAYED UPON THE SCREEN. TO",
  2055.     "ACCOMPLISH"
  2056. SAY "            THIS SIMPLY TYPE 'PAUSE #'. THE GREATER THE NUMBER THE",
  2057.     "LONGER"
  2058. SAY "            THE MESSAGE WILL BE DISPLAYED. THE PAUSE IS SET TO 4 AT THE"
  2059. SAY "            START OF THE GAME. LIKEWISE A LOWER NUMBER WILL SHORTEN THE"
  2060. SAY "            TIME THAT THE RESPONSE IS DISPLAYED UPON THE SCREEN."
  2061. SAY
  2062. SAY CENTER('Press 'HI'<ENTER>'LO' to continue',77)
  2063. PULL DUMMY
  2064. RETURN
  2065. VERBS:
  2066. CLEAR_SCR
  2067. SAY
  2068. SAY CENTER(HI'VERB LIST'LO,60)
  2069. SAY
  2070. SAY '     GO             ENTER            GET             TAKE'
  2071. SAY '     LOOK           EXAMINE          DROP            OPEN'
  2072. SAY '     READ           UNLOCK           MOVE            PUSH'
  2073. SAY '     PRESS          KILL             HIT             ATTACK'
  2074. SAY '     CLIMB          RING             BREAK           SMASH'
  2075. SAY '     MAKE           BUILD            CUT             PLACE'
  2076. SAY '     PUT            PAY              PADDLE          ROW '
  2077. SAY '     ASK            WEAR             LIGHT           GIVE'
  2078. SAY '     START          BURN             THROW           FEED'
  2079. SAY '     USE            FLICK            SHOOT           FIRE'
  2080. SAY '     SAY            LIFT             CHOP            SAVE *'
  2081. SAY '     LOAD *         SWING *          JUMP *          SWIM *'
  2082. SAY '     INVENTORY *    HELP *           DIG *           QUIT *'
  2083. SAY
  2084. say '               * - These verbs require no noun!'
  2085. SAY
  2086. SAY
  2087. SAY '                Press <enter> to continue game'
  2088. PULL DUMMY
  2089. MINUTES=MINUTES-1
  2090. RETURN
  2091. LOAD:
  2092. IF env = "CMS" THEN
  2093.    MAKEBUF
  2094.  
  2095. CALL PUSHLINE 1
  2096. IF result = 0 THEN
  2097.    DO
  2098.    SAY "No SAVE file"
  2099.    PULL .
  2100.    RETURN
  2101.    END
  2102. PULL OUTPUT
  2103. PARSE VAR OUTPUT R HOUR MINUTES UNLOCKED OPENED TAXI CANOE SMOKE,
  2104.     COCONUT ROCK BEAR
  2105. ITEM=7
  2106. DO TIMES=1 TO 4
  2107.    CALL PUSHLINE
  2108.    PULL OUTPUT
  2109.    DO NOUNS= 1 TO 11
  2110.       PARSE VAR OUTPUT NUM LEFTOVER
  2111.       OBJECT.ITEM.2=VALUE(NUM)
  2112.       ITEM=ITEM+1
  2113.       OUTPUT=LEFTOVER
  2114.    END
  2115. END
  2116. CALL PUSHLINE
  2117. PULL OUTPUT
  2118. PARSE VAR OUTPUT OBJECT.52.2 OBJECT.53.2 PAUSE
  2119. CALL PUSHLINE
  2120. PULL EXIT.31
  2121. IF env = "CMS" THEN
  2122.    DO
  2123.    DROPBUF
  2124.    "FINIS STONE SAVE A0"
  2125.    END
  2126. MINUTES=MINUTES-1
  2127. RETURN
  2128. SAVE:
  2129. IF env = "CMS" THEN
  2130.    DO
  2131.    'SET CMSTYPE HT'
  2132.    'LIST ERASE EXEC A'
  2133.    IF RC=0 THEN
  2134.       DO
  2135.       'RENAME ERASE EXEC A TEMP EXEC A'
  2136.       'ERASE STONE SAVE A0'
  2137.       'RENAME TEMP EXEC A ERASE EXEC A'
  2138.       END
  2139.    'ERASE STONE SAVE A0'
  2140.    'SET CMSTYPE RT'
  2141.    END
  2142. ELSE IF env = "OS/2" THEN
  2143.    DO
  2144.    /* There should be a better way! */
  2145.    fileIdent = STREAM('STONE.SAV', 'C', 'query exists')
  2146.    IF fileIdent <> "" THEN
  2147.       DO
  2148.       rt = STREAM('STONE.SAV', 'C', 'close')
  2149.       "ERASE STONE.SAV"
  2150.       END
  2151.    END
  2152. ELSE
  2153.    DO
  2154.    SAY "Saving in" env "not fully supported"
  2155.    END
  2156.  
  2157. OUTPUT=R||' '||HOUR||' '||MINUTES||' '||UNLOCKED||' '||OPENED||' '||TAXI
  2158. OUTPUT=OUTPUT||' '||CANOE||' '||SMOKE||' '||COCONUT||' '||ROCK||' '||BEAR
  2159. CALL WRITELN OUTPUT
  2160. ITEM=7
  2161. DO TIMES=1 TO 4
  2162.    OUTPUT=''
  2163.    DO NOUNS= 1 TO 11
  2164.       OUTPUT=OUTPUT||OBJECT.ITEM.2||' '
  2165.       ITEM=ITEM+1
  2166.    END
  2167.    CALL WRITELN OUTPUT
  2168. END
  2169. CALL WRITELN OBJECT.52.2 OBJECT.53.2 PAUSE
  2170. CALL WRITELN EXIT.31
  2171. IF env = "CMS" THEN
  2172.    'FINIS STONE SAVE A0'
  2173. SAY
  2174. SAY
  2175. SAY CENTER('GAME HAS BEEN SAVED. USE LOAD TO RESTORE THE GAME!',70)
  2176. QUIT:
  2177. SAY
  2178. SAY CENTER(HI'Do you wish to play again? (Y/N)?'LO,70)
  2179. PULL DUMMY
  2180. IF  DUMMY = 'Y' THEN SIGNAL BEGIN
  2181. CLEAR_SCR
  2182. ECHO_ON
  2183. EXIT
  2184.  
  2185. PUSHLINE:
  2186.    PARSE ARG first
  2187.    IF env = "CMS" THEN
  2188.       'EXECIO 1 DISKR STONE SAVE A0'
  2189.    ELSE IF env = "OS/2" THEN
  2190.       IF first = '1' THEN
  2191.          PUSH LINEIN("STONE.SAV",1)
  2192.       ELSE
  2193.          PUSH LINEIN("STONE.SAV")
  2194.          
  2195. RETURN queued()
  2196.  
  2197. WRITELN:
  2198.    PARSE ARG outstr
  2199.    
  2200.    IF env = "CMS" THEN
  2201.       "EXECIO 1 DISKW STONE SAVE A0 (STRING" outstr
  2202.    ELSE IF env = "OS/2" THEN
  2203.       rt=LINEOUT("STONE.SAV", outstr)
  2204.       
  2205. RETURN
  2206.  
  2207. /*************************************************************************
  2208.  *
  2209.  *  Wait:  Pauses for (delay) seconds.
  2210.  *
  2211.  ************************************************************************/
  2212. Wait: PROCEDURE
  2213.    PARSE ARG delay
  2214.    
  2215.    IF \datatype(delay, "N") THEN
  2216.       delay = 1
  2217.    CALL Time("R")
  2218.    DO WHILE Time("E") < delay
  2219.       NOP
  2220.    END
  2221. RETURN
  2222.  
  2223. /* END */
  2224.