home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 24 DOS / 24-DOS.zip / dosrx10b.zip / MONDAY.R < prev    next >
Text File  |  1993-03-08  |  29KB  |  976 lines

  1. /*MONDAY GAME A4 optimized via ROPT by MIKEL@UWF on 22 Feb 1987 at 16:47:13*/;
  2. BEGIN:;
  3. "CP SET MSG OFF";
  4. HI='1B'x || '[1m';
  5. LO='1B'x || '[m';
  6. TOT_NOUNS = 22;
  7.  PAUSE=4;
  8. CALL TITLE;
  9. VMFCLEAR;
  10. START:;
  11. DO FOREVER;
  12. CALL TIMEM;
  13. SELECT;
  14. WHEN R = 1 THEN CALL ROOM1;
  15. WHEN R = 2 THEN CALL ROOM2;
  16. WHEN R = 3 THEN CALL ROOM3;
  17. WHEN R = 4 THEN CALL ROOM4;
  18. WHEN R = 5 THEN CALL ROOM5;
  19. WHEN R = 6 THEN CALL ROOM6;
  20. WHEN R = 7 THEN CALL ROOM7;
  21. WHEN R = 8 THEN CALL ROOM8;
  22. WHEN R = 9 THEN CALL ROOM9;
  23. WHEN R = 10 THEN CALL ROOM10;
  24. WHEN R = 11 THEN CALL ROOM11;
  25. WHEN R = 12 THEN CALL ROOM12;
  26. WHEN R = 13 THEN CALL ROOM13;
  27. WHEN R = 14 THEN CALL ROOM14;
  28. WHEN R = 15 THEN CALL ROOM15;
  29. WHEN R = 16 THEN CALL ROOM16;
  30. WHEN R = 17 THEN CALL ROOM17;
  31. WHEN R = 18 THEN CALL ROOM18;
  32. WHEN R = 19 THEN CALL ROOM19;
  33. WHEN R = 20 THEN CALL ROOM20;
  34. WHEN R = 21 THEN CALL ROOM21;
  35. WHEN R = 22 THEN CALL ROOM22;
  36. WHEN R = 23 THEN CALL ROOM23;
  37. OTHERWISE CALL END_ROOM;
  38. END;
  39. SAy;
  40. CALL CAN_SEE;
  41. CALL CAN_GO;
  42. CALL COMMAND;
  43. END;
  44. EXIT;
  45. TIMEM:;
  46. VMFCLEAR;
  47. TIMES = '0:00';
  48. TIMES = OVERLAY(HOUR,TIMES,1,1);
  49. IF MINUTES>9 THEN TIMES = OVERLAY(MINUTES,TIMES,3,2);
  50. ELSE;
  51. IF MINUTES<10 THEN TIMES = OVERLAY(MINUTES,TIMES,4,1);
  52. say left(LOC.R,30) copies(' ',24)'Time: 'TIMES' pm';
  53. say;
  54. return;
  55. CAN_SEE:;
  56. SEE = '';
  57. FLG=0;
  58. IF R>0 & R<7 then FLG=1;
  59. ELSE;
  60. IF R=11 THEN FLG=1;
  61. ELSE;
  62. IF R>15 & R<21 THEN FLG=1;
  63. IF FLG=1 THEN OBJECT.21.2=R;
  64. DO I = 1 to TOT_NOUNS;
  65. If OBJECT.I.2 = R THEN SEE = SEE||OBJECT.I.1||'   ';
  66. END I;
  67. IF SEE = '' THEN SEE = 'Nothing of Interest';
  68. Say 'You can see: 'SEE;
  69. Say;
  70. RETURN;
  71. CAN_GO:;
  72. GO='';
  73. PARSE UPPER VAR EXIT.R NOR SOU EAS WES;
  74. IF NOR = 'N' THEN GO = GO||'NORTH   ';
  75. IF SOU = 'S' THEN GO = GO||'SOUTH   ';
  76. IF EAS = 'E' THEN GO = GO||'EAST   ';
  77. IF WES = 'W' THEN GO = GO||'WEST';
  78. IF GO='' THEN GO='???';
  79. SAY 'Obvious exits: 'GO;
  80. Say copies('=',70);
  81.  Say;
  82. RETURN;
  83. COMMAND:;
  84. N = 0;
  85.  V = 0;
  86.  FLAG = 0;
  87. If MSG = 0 then;
  88. DO;
  89. MSG = 1;
  90. SAY 'WELCOME TO' HI'THE MONDAY ADVENTURE'LO' ( NOVICE LEVEL )';
  91. SAY '(C)OPYRIGHT 1986 / 1987 BY: MIKEL F. RICE (MIKEL @ UWF)';
  92. SAY 'Dedicated to: Tanya E. Bortels';
  93. END;
  94. rnd = random(1,6);
  95. if rnd = 1 then command = 'What next?';
  96. if rnd = 2 then command = 'What will you do?';
  97. if rnd = 3 then command = 'Now what?';
  98. if rnd = 4 then command = 'Your request?';
  99. if rnd = 5 then command = 'What do you want to do?';
  100. if rnd = 6 then command = 'What will you try now?';
  101. SAY;
  102. say command;
  103. pull instruct;
  104. UPPER instruct;
  105. say;
  106. If instruct = 'I' then instruct = 'INV';
  107. parse var instruct verbin nounin;
  108. verb = left(verbin,3);
  109. noun = left(nounin,3);
  110. If verb = 'LOO' & noun = '' then SIGNAL START;
  111. IF (VERB ='NOR' | VERB='SOU') | (VERB ='EAS' | VERB ='WES');
  112. THEN SIGNAL GO;
  113. ELSE;
  114. If (VERB= 'N' | VERB= 'S') | (VERB= 'E' | VERB= 'W') THEN SIGNAL GO;
  115. ELSE;
  116. IF VERB = 'U' | VERB = 'D' THEN SIGNAL GO;
  117. select;
  118. when VERB = 'QUI' then SIGNAL QUIT;
  119. when VERB = 'INV' then CALL INVENTORY;
  120. when VERB = 'HEL' then CALL HELP;
  121. when VERB = 'VER' THEN CALL VERBS;
  122. when VERB = 'DIG' then CALL DIG;
  123. WHEN VERB = 'PAU' THEN PAUSE = NOUN;
  124. otherwise flag = 1;
  125. END;
  126. If flag = 0 then signal delay;
  127. If length(instruct) < 4;
  128. then DO;
  129. Say "WHAT??? I don't understand that.";
  130. SIGNAL DELAY;
  131. END;
  132. If NOUN = '' THEN;
  133. DO;
  134. SAY 'That verb requires a NOUN.';
  135. Signal DELAY;
  136. END;
  137. If verb = 'ENT' THEN VERB = 'GO ';
  138. If verb = 'TAK' THEN VERB = 'GET';
  139. If verb = 'EXA' THEN VERB = 'LOO';
  140. If verb = 'SMA' THEN VERB = 'BRE';
  141. If verb = 'BUI' THEN VERB = 'MAK';
  142. If verb = 'CAR' THEN VERB = 'CUT';
  143. If verb = 'PUM' THEN VERB = 'INF';
  144. If verb = 'PUS' THEN VERB = 'MOV';
  145. If verb = 'ROW' THEN VERB = 'PAD';
  146. If verb = 'STA' THEN VERB = 'KIL';
  147. V=POS(VERB,VLIST);
  148. N=POS(NOUN,NLIST);
  149. IF V=0 THEN;
  150. DO;
  151. SAY "I don't understand that VERB!";
  152. SIGNAL DELAY;
  153. END;
  154. ELSE;
  155. V =(V%3)+1;
  156. IF N=0 THEN;
  157. DO;
  158. SAY "I don't understand that NOUN!";
  159. SIGNAL DELAY;
  160. END;
  161. ELSE;
  162. N =(n%3)+1;
  163. SELECT;
  164. WHEN V = 1 THEN SIGNAL GO;
  165. WHEN V = 2 then CALL GET;
  166. WHEN V = 3 THEN CALL LOOK;
  167. WHEN V = 4 THEN CALL DROP;
  168. WHEN V = 5 THEN CALL OPENV;
  169. WHEN V = 6 THEN CALL READV;
  170. WHEN V = 7 THEN CALL UNLOCK;
  171. WHEN V = 8 THEN CALL MOVE;
  172. WHEN V = 9 THEN CALL CLIMB;
  173. WHEN V = 10 THEN CALL BREAK;
  174. WHEN V = 11 THEN CALL MAKE;
  175. WHEN V = 12 THEN CALL DIG;
  176. WHEN V = 14 THEN CALL CUT;
  177. WHEN V = 15 THEN CALL PADDLE;
  178. WHEN V = 16 THEN CALL INFLATE;
  179. WHEN V = 17 THEN SAY "This is a non-violent adventure!!";
  180. OTHERWISE NOP;
  181. END;
  182. DELAY:;
  183. CALL TIMER;
  184. 'CP SLEEP' PAUSE 'SEC';
  185. RETURN;
  186. TIMER:;
  187. MINUTES = MINUTES + 1;
  188. If MINUTES = 60;
  189. THEN DO;
  190. MINUTES = 0;
  191. HOUR = HOUR + 1;
  192. END;
  193. IF HOUR = 4 & MINUTES >= 30 THEN SIGNAL END_ROOM;
  194. IF HOUR =4 & MINUTES =20 then Say'You feel very weak...Watch the time.';
  195. IF HOUR =4 & MINUTES =10 then Say'You feel very hungry!';
  196. IF HOUR =4 & MINUTES >26 then Say'Gasp...pant...cough!';
  197. RETURN;
  198. INVENTORY:;
  199. SAY;
  200. ITEM ='';
  201. DO I = 1 to TOT_NOUNS;
  202. IF OBJECT.I.2 = 50 THEN ITEM = ITEM||OBJECT.I.1'  ';
  203. END I;
  204. IF ITEM = '' THEN ITEM = 'NOTHING!';
  205. SAY 'You are carrying: 'ITEM;
  206. RETURN;
  207. HELP:;
  208. IF R=6 THEN SAY'Try examining things...';
  209. ELSE;
  210. IF R=9 THEN SAY"If at first you don't succeed...";
  211. ELSE;
  212. IF R=12 THEN SAY'I once carved my name in a tree stump!';
  213. ELSE;
  214. If R=14 THEN SAY'Look a tree!';
  215. ELSE;
  216. IF R=21 THEN SAY'LOOK at the rope!';
  217. ELSE;
  218. DO;
  219. RND=RANDOM(1,6);
  220. SELECT;
  221. WHEN RND=1 THEN SAY"CAN'T YOU DO ANYTHING ON YOUR OWN?";
  222. WHEN RND=2 THEN SAY"I'M AS CONFUSED AS YOU ARE!";
  223. WHEN RND=3 THEN SAY"TRY EXAMINING THINGS...";
  224. WHEN RND=4 THEN SAY"WHO IS PLAYING THIS GAME, ME OR YOU?";
  225. WHEN RND=5 THEN SAY"NOT NOW I'M BUSY!";
  226. OTHERWISE SAY"TYPE 'VERBS' FOR MORE HELP!";
  227. END;
  228. END;
  229. RETURN;
  230. GO:;
  231. FLG = 0;
  232. VB = LEFT(VERB,1);
  233. NN = LEFT(NOUN,1);
  234. SELECT;
  235. WHEN ((NOUN="SHE" | NOUN="DOO") & (OPENED=1 & R=19)) THEN R=22;
  236. WHEN ((NOUN="SHE" | NOUN="DOO") & (OPENED=0 & R=19)) THEN CALL DOOR;
  237. WHEN R=22 & (VB='E' | NN='E') THEN R=19;
  238. WHEN R=23 & (VB='W' | NN='W') THEN R=19;
  239. WHEN NOUN="RAF" THEN CALL INRAFT;
  240. WHEN NOR='N' & (VB ='N' | NN='N') THEN R = R + 1;
  241. WHEN SOU='S' & (VB ='S' | NN='S') THEN R = R - 1;
  242. WHEN EAS='E' & (VB ='E' | NN='E') THEN R = R + 5;
  243. WHEN WES='W' & (VB ='W' | NN='W') THEN R = R - 5;
  244. OTHERWISE FLG = 1;
  245. END;
  246. IF (VB='D' | VB='U') | (NN='D' | NN='U') THEN;
  247. DO;
  248. SAY 'TRY CLIMB instead...';
  249. FLG = 0;
  250. END;
  251. IF FLG=1 then;
  252. DO;
  253. SAY 'There is no way to go in that direction!';
  254. SIGNAL DELAY;
  255. END;
  256. ELSE;
  257. CALL TIMER;
  258. SIGNAL START;
  259. DOOR:;
  260. IF OPENED=0 & UNLOCKED=0 THEN;
  261. DO;
  262. SAY 'The door is locked!';
  263. END;
  264. ELSE;
  265. IF OPENED=0 & UNLOCKED=1 THEn;
  266. Do;
  267. SAY'The shed door is closed!';
  268. END;
  269. 'CP SLEEp' PAUSE 'SEC';
  270. RETURN;
  271. LOOK:;
  272. IF N=21 THEN OBJECT.N.2 = R;
  273. If N>16 & n<21 THEN SAY OBJECT.N.3;
  274. ELSE;
  275. IF OBJECT.N.2 ^= R & Object.n.2 ^= 50;
  276. THEN SAY "I don't see the "OBJECT.N.1" here now...";
  277. ELSE SAY OBJECT.N.3;
  278. RETURN;
  279. GET:;
  280. COUNT = 0;
  281. DO I = 1 to TOT_NOUNS;
  282. If OBJECT.I.2 = 50 then COUNT = COUNT + 1;
  283. END I;
  284. IF COUNT > 4 THEN;
  285. DO;
  286. RND = RANDOM(1,3);
  287. SELECT;
  288. WHEN RND=1 THEN SAY"You can't carry anymore. Try 'INVENTORY'";
  289. WHEN RND=2 THEN SAY'You are carrying too much stuff. Try "INVENTORY"';
  290. WHEN RND=3 THEN SAY'You have too much. Try "INVENTORY"';
  291. OTHERWISE NOP;
  292. END;
  293. RETURN;
  294. END;
  295. If OBJECT.N.2 =50 THEN SAY"You're already carrying that!";
  296. ELSE;
  297. If OBJECT.N.2 ^=R THEN SAY"I don't see "OBJECT.N.1" here.";
  298. If OBJECT.N.2 = R THEN;
  299. DO;
  300. SELECT;
  301. WHEN N=3 THEN Say'It is too heavy to lift, maybe you can move it.';
  302. WHEN N=4 THEN Say"Don't be stupid!";
  303. WHEN N=8 THEN Say'It is tied to the tree with a strong knot.';
  304. WHEN N=12 THEN Say'It is cemented to the ground.';
  305. WHEN N=13 THEN Say'It is hinged to the shed.';
  306. WHEN N=14 THEN Say"Don't be silly!";
  307. WHEN N=15 & RAFT=1 then say"You can't carry the raft if it's inflated";
  308. WHEN n=21 THEN SAY 'Leave the sand alone...';
  309. OTHERWISE;
  310. OBJECT.N.2 = 50;
  311. SAY 'Okay! You now have the 'OBJECT.N.1;
  312. END;
  313. END;
  314. RETURN;
  315. DROP:;
  316. If OBJECT.N.2 ^= 50 THEN SAY"You aren't holding that.";
  317. ELSE;
  318. DO;
  319. SAY 'Okay! 'OBJECT.n.1' has been dropped!.';
  320. OBJECT.N.2 = R;
  321. END;
  322. RETURN;
  323. OPENV:;
  324. FLG=0;
  325. IF N=1 & OBJECT.N.2=50 & OBJECT.2.2=0 then;
  326. DO;
  327. SAY'Hey! You found something!';
  328. OBJECT.1.3= "It's just an empty bottle";
  329. OBJECT.2.2=R;
  330.  FLG=1;
  331. END;
  332. Else;
  333. If N=1 & OBJECT.N.2^=50 then;
  334. DO;
  335. Say "You don't have that item!";
  336. FLG=1;
  337. END;
  338. ELSE;
  339. IF N=1 & OBJECT.2.2>0 THEN;
  340. Do;
  341. SAY 'It is already open!';
  342. FLG=1;
  343. END;
  344. If N=10 & OBJECT.N.2=50 THEN;
  345. DO;
  346. SAY'Hey! You found something!';
  347. OBJECT.11.2=R;
  348.  FLG=1;
  349. END;
  350. Else;
  351. If N=10 then;
  352. DO;
  353. Say "You don't have that item!";
  354. FLG=1;
  355. END;
  356. IF R^=19 THEN FLG=FLG;
  357. ELSE;
  358. If (N=12 | N=13) & (UNLOCKED=1 & OPENED=0) THEN;
  359. DO;
  360. Say'The door to the shed is now open!';
  361. OPENED=1;
  362.  FLG=1;
  363. END;
  364. ELSE;
  365. IF (N=12 | N=13) & UNLOCKED=0 THEN;
  366. DO;
  367. SAY'The door to the shed is locked!';
  368. FLG=1;
  369. END;
  370. If FLG=0 THEN SAY "I must be stupid, but I can't open that!";
  371. RETURN;
  372. READV:;
  373. FLG=0;
  374. IF N=2 & OBJECT.N.2=50 then;
  375. Do;
  376. Say 'Hello there. I just want to take this time (1 turn) to wish you';
  377. Say 'good luck! For some extra help type "VERBS"...  Mikel Rice!';
  378. FLG=1;
  379. 'CP SLEEP 3 SEC';
  380. End;
  381. Else;
  382. If N=2 & OBJECT.2.2^=50 THEN;
  383. DO;
  384. SAY "You don't have that!";
  385. FLG=1;
  386. END;
  387. If N=1 THEN;
  388. DO;
  389. SAY 'The label has washed off...';
  390. FLG=1;
  391. END;
  392. If N=4 & OBJECT.N.2=R THEN;
  393. Do;
  394. SAY 'Carved on the stump:  The key lies under the field of flowers!';
  395. FLG=1;
  396. END;
  397. Else;
  398. If N=4 & FLG=0 THEN SAY "I don't see a stump here...";
  399. If N=10 & (OBJECT.N.2=50 | OBJECT.N.2=R) THEN;
  400. DO;
  401. SAY 'It top reads: ACME Hardware Co.';
  402. FLG=1;
  403. END;
  404. ELSE;
  405. IF N^=22 & FLG=0 THEN SAY'How can you read that?';
  406. ELSE;
  407. IF FLG=0 THEN CALL MAP;
  408. RETURN;
  409. UNLOCK:;
  410. IF R^=19 THEN SAY"I don't see a shed here!";
  411. ELSE;
  412. If (N=12 | N=13) & UNLOCKED=1 THEN SAY'The shed is already unlocked!';
  413. ELSE;
  414. If (N=12 | N=13) & OBJECT.6.2^=50 THEN SAY"You don't have the key!";
  415. ELSE;
  416. If (N=12 | N=13) & (UNLOCKED=0 & OBJECT.6.2=50) THEN;
  417. DO;
  418. Say "The key fits. You turn it and unlock the door to the shed.";
  419. UNLOCKED=1;
  420. END;
  421. ELSE SAY "I must be stupid, but I Can't unlock that!";
  422. RETURN;
  423. MOVE:;
  424. FLG=0;
  425. If (N=4 | N=12) | (N=13 | N=14) THEN;
  426. DO;
  427. SAY 'Only in your dreams...';
  428. FLG=1;
  429. END;
  430. IF (N=3 & R=7) & KNIFE=0 THEN;
  431. DO;
  432. SAY 'Hey! You found something!';
  433. KNIFE=1;
  434. OBJECT.5.2=R;
  435. FLG=1;
  436. END;
  437. IF OBJECT.N.2^=R THEN;
  438. Do;
  439. Say "I don't see that here.";
  440. FLG=1;
  441. END;
  442. If FLG=0 then say "Okay but nothing happened!";
  443. RETURN;
  444. CLIMB:;
  445. IF R=14 & N=14 THEN;
  446. Do;
  447. Say 'Ugh...That was hard work....';
  448. R=21;
  449. END;
  450. ElSE;
  451. IF R=21 & (N=8 | N=14) THEN;
  452. DO;
  453. SAY 'PANT...That was tough....';
  454. R=14;
  455. END;
  456. ELSE SAY 'Why do you want to climb that?';
  457. RETURN;
  458. BREAK:;
  459. IF N=1 & OBJECT.N.2=50 & OBJECT.2.2=0 then;
  460. DO;
  461. SAY 'Hey! You found something!';
  462. OBJECT.2.2=R;
  463. OBJECT.N.2=0;
  464. END;
  465. ELSE;
  466. IF N=1 & OBJECT.N.2^=50 tHEN SAY "I don't have that.";
  467. ELSE SAY "Don't be so destructive!!";
  468. RETURN;
  469. MAKE:;
  470. If N^=16 THEN SAY "I must be stupid, but I just don't understand you!";
  471. ELSE;
  472. If OAR=0 & (OBJECT.5.2=50 & OBJECT.9.2=50) THEN;
  473. DO;
  474. SAY 'Using the knife you make a primitive paddle from the driftwood';
  475. OBJECT.9.2=0;
  476. OBJECT.16.2=50;
  477. OAR=1;
  478. END;
  479. ELSE;
  480. If OAR=0 & (OBJECT.5.2^=50 | OBJECT.9.2^=50);
  481. THEN Say "You don't have enough material to make a paddle.";
  482. ELSE;
  483. If OAR=1 then Say 'you already made a paddle.';
  484. ELSE;
  485. IF OAR=2 THEN SAY"You can't make a paddle with a broken knife!!";
  486. RETURN;
  487. DIG:;
  488. IF R^=9 & OBJECT.7.2=50 THEN SAY "All all you found is dirt...";
  489. ELSE;
  490. IF OBJECT.7.2^=50 THEN SAY "You don't have a shovel!";
  491. ELSE;
  492. IF KEY=0 THEN;
  493. DO;
  494. SAY'You dug a small hole but found nothing...';
  495. SAY'Wait! Look there is something...';
  496. KEY=1;
  497. MAP=1;
  498. OBJECT.22.2=R;
  499. END;
  500. ELSE;
  501. IF KEY=1 then;
  502. Do;
  503. SAY "Hey! You found something!";
  504. OBJECT.6.2=R;
  505. KEY=2;
  506. END;
  507. RETURN;
  508. CUT:;
  509. IF N=8 & OBJECT.5.2=50 & R=21 then Say'If you cut the rope how will you get down?';
  510. ELSE;
  511. IF (N=14 | N=4) & (OBJECT.5.2=50 & R=14) THEN;
  512. DO;
  513. Say 'The knife can cut most types of wood just not oak!';
  514. SAY 'The hard oak wood busted the knife!';
  515. OAR=2;
  516. END;
  517. ELSE;
  518. IF N=9 THEN;
  519. DO;
  520. N=16;
  521. SIGNAL MAKE;
  522. END;
  523. ELSE;
  524. IF n=16 then SIGNAL MAKE;
  525. ELSE;
  526. If n=4 THEN SAY"Aw...leave the poor tree stump alone!";
  527. ELSE SAY"Don't be so destructive!!";
  528. RETURN;
  529. PADDLE:;
  530. IF R^=23 then say "You aren't in the raft!";
  531. ELSE;
  532. If OBJECT.16.2^=50 THEN SAY"You don't have a paddle! Maybe you could MAKE one!";
  533. ELSE SIGNAL WIN_ROOM;
  534. RETURN;
  535. INFLATE:;
  536. If N^=15 then say"I don't know how to inflate that!";
  537. ELSE;
  538. IF OBJECT.11.2^=50 THEN SAY"You don't have a pump!";
  539. ELSE;
  540. If OBJECT.15.2=50 then SAY"You can't inflate it while holding it!";
  541. ELSE;
  542. IF (R>6 & R<10) | (R>11 & R<15) | (r>20);
  543. THEN SAY "You must be at the beach to inflate the raft!";
  544. ELSE;
  545. IF RAFT=1 then SAY"It's already inflated!";
  546. ELSE;
  547. DO;
  548. SAY'Phfsss...phfsss...phfsss...Okay you inflated it!';
  549. OBJECT.15.1='inflated RAFT';
  550. RAFT=1;
  551. MINUTES=MINUTES+1;
  552. END;
  553. RETURN;
  554. INRAFT:;
  555. IF RAFT=0 THEN SAY"It isn't inflated!";
  556. ELSE;
  557. IF OBJECT.15.2^=r THEN SAY"The raft isn't here!!!";
  558. ELSE;
  559. IF OBJECT.5.2^=50 THEN;
  560. Do;
  561. R=23;
  562. SIGNAL START;
  563. end;
  564. ELSE;
  565. DO;
  566. SAY "Oh no! The knife punctured the raft and you can't swim!!";
  567. 'CP SLEEP 3 SEC';
  568. SIGNAL END_ROOM;
  569. END;
  570. RETURN;
  571. ROOM1:;
  572. Say 'The beach is long, strecthing out of sight to the east and north. The';
  573. Say 'sand is cool and wet and feels good between your toes. The blue waters';
  574. Say 'of the ocean are to the south and west.';
  575. RETURN;
  576. ROOM2:;
  577. SAY 'The white sand strecthes onward to the north and to the south. The sun';
  578. Say 'makes the sand seem to glow. The blue ocean water is to the west and';
  579. Say 'there is a clearing to the east.';
  580. RETURN;
  581. ROOM3:;
  582. SAY 'More white sandy beaches that seem to go on and on. This island would';
  583. Say 'be a great place to build a fancy summer resort. The ocean is to the';
  584. Say 'west and to the east you see a group of trees.';
  585. RETURN;
  586. ROOM4:;
  587. SAY 'The white sand is hot to your bare feet. A quick wave washes up around';
  588. SAY 'your ankles then ebbs back into the sea. The sun sparkles upon the water';
  589. Say 'in ever changing patterns. You can see a field to the east.';
  590. RETURN;
  591. ROOM5:;
  592. Say 'The beach runs out of sight to the south and to the east. Water is to the';
  593. SAY 'north and west of you. Far out on the horizon you can barely make out a';
  594. Say 'ship sailing slowly through the choppy seas.';
  595. RETURN;
  596. ROOM6:;
  597. Say 'On a beautiful white beach of a small deserted island. Just a few yards';
  598. Say 'off shore, smashed upon some outcroping rocks, is the remains of your boat.';
  599. SAY 'You notice that the sun feels really hot today.';
  600. RETURN;
  601. ROOM7:;
  602. Say 'A small clearing just beyond the white beaches. The grass is growing in';
  603. Say 'patches of green and brown. Overhead some sea gulls float on the tropical';
  604. Say 'breezes. To the north and east you see trees and the beach is to the';
  605. Say 'south and west.';
  606. RETURN;
  607. ROOM8:;
  608. Say 'Standing in the woods under several tall trees. The trees filter the hot';
  609. Say 'sun creating a cool shade. The ground is blanketed with a varity of colored';
  610. Say 'leaves. It is very peaceful here.';
  611. RETURN;
  612. ROOM9:;
  613. Say 'The grass is a lush green and the meadow is dotted with white and yellow';
  614. Say 'daisies and violet snap-dragons. The air is fresh and smells sweet with';
  615. Say 'the fragrance of the flowers. A gentle breeze ruffles the grasses.';
  616. RETURN;
  617. ROOM10:;
  618. Say 'The beach is covered with small pebbles washed smooth by the ocean tides.';
  619. Say 'The wet pebbles sparkle in the shinning sunlight. A cool breeze blows off';
  620. Say 'the dark blue water. A fiddler crab darts back and forth across the sand.';
  621. RETURN;
  622. ROOM11:;
  623. Say 'Sand, sand, and more sand. The beach runs on to the east and to the west.';
  624. Say 'The sun is blocked out by a cloud for a short moment but it soon drifts';
  625. Say 'past and once again the sun beats down upon you. You can see some trees';
  626. say 'up to the north and the ocean is to the south.';
  627. RETURN;
  628. ROOM12:;
  629. Say 'A small grove of trees on a slight enbankment. The beach is down to the';
  630. Say 'south and to the East. The leaves on the trees are a mixture of reds and';
  631. Say 'greens. A soft breeze shakes several leaves from the branches and they';
  632. Say 'flutter to the ground.';
  633. RETURN;
  634. ROOM13:;
  635. Say 'You are surrounded by tall trees. The trees cast long eerie shadows upon';
  636. Say 'the ground and the limbs seem to be reaching out to grab you. You begin';
  637. Say 'to whistle and look nervously around. You jump as a twig snaps beneath';
  638. Say 'your feet. A quick chill runs down your spine.';
  639. RETURN;
  640. ROOM14:;
  641. say 'The trees have thinned out and more sunlight filters through. a tall oak';
  642. Say 'stands amidst the smaller trees like a proud parent. There is a wall of';
  643. Say 'thick bushes and underbrush to the east. A bird sings a happy tune from';
  644. Say "it's unseen perch high above you.";
  645. RETURN;
  646. ROOM15:;
  647. Say 'The wet sand feels cool to your feet. Lying on the sand is a small orange';
  648. Say 'starfish. A wave rolls up and pulls it back into the sea. Small pebbles';
  649. Say 'a beautiful sea shells are scattered along the shore. You look out over';
  650. Say 'the waves and see a school of dolphins swimming around.';
  651. RETURN;
  652. Room16:;
  653. Say 'A tidal pool has formed in the scattered rock formations. You wade out';
  654. SAY 'into the shallow water and feel refreshed. For some reason you start';
  655. Say 'thinking how good a fish sandwhich would taste now. You notice some';
  656. Say 'small minnows darting around in the pool. You try to catch them but';
  657. SAy 'they are too fast for you.';
  658. RETURN;
  659. ROOM17:;
  660. Say 'The beach is long, strecthing out of sight to the North and South. The';
  661. Say 'sand is cool and wet and feels good between your toes. The blue waters';
  662. Say 'of the ocean are to the east and you see some trees to the west.';
  663. RETURN;
  664. ROOM18:;
  665. Say 'So much white sand all around you. You begin to wish you had never seen';
  666. Say 'a beach. Suddenly you notice a person lying on a towel soaking up the';
  667. Say 'warm rays of the sun. You rub your eyes and realize your mind is playing';
  668. Say 'tricks on you because there is no one there only sand...';
  669. RETURN;
  670. ROOM19:;
  671. Say 'The ground here is more sturdy and the walking is easier here. You see';
  672. Say 'a rusted metal shed that was once a boathouse. Time and weather have';
  673. Say 'peeled most of the paint off but it seems to be holding together. To';
  674. Say 'the west is a length of thick underbrush which makes traveling in that';
  675. Say 'direction impossible. The ocean is present to the east.';
  676. RETURN;
  677. ROOM20:;
  678. Say 'This is the northeast corner of the island. The tide appears to be going';
  679. Say 'out now. The sun is getting ever lower in the sky and the temperature is';
  680. Say 'beginning to drop. Your stomach growls loudly and that fish sandwhich';
  681. Say 'comes to mind again.';
  682. RETURn;
  683. ROOM21:;
  684. Say 'You step cautiously around the treehouse until you decide that it is well';
  685. Say 'built and then you relax. From your vantage point you can see the entire';
  686. Say 'island. To the north you see the beach, to the west you see a meadow,';
  687. Say 'to the South you see more trees, and to the east you see the beach and';
  688. Say 'there appears to be a small building there. You feel like a kid again';
  689. Say 'and give your best tarzan yell...';
  690. RETURN;
  691. ROOM22:;
  692. Say 'The shed is small and appears to have been unused for a long time. As you';
  693. Say 'enter a large rat scurries off into a dark corner. Cobwebs hang from each';
  694. Say 'of the four corners. The shed is mostly empty save a few usless items that';
  695. Say 'are scattered about. The door squeaks as it sways in the wind.';
  696. RETURN;
  697. ROOM23:;
  698. Say 'You are in the inflatable two-man raft. The waves gently rock the bright';
  699. Say 'yellow raft on the swelling billows. The raft seems to holding the air';
  700. Say 'there are no apparent leaks. A couple of curious sea gulls swoop in for';
  701. Say 'a closer inspection. Funny how sea gulls remind you of fried Chicken!';
  702. RETURN;
  703. END_ROOM:;
  704. VMFCLEAR;
  705. SAY 'In a pine coffin six feet under!'copies(' ',28)'Time: Eternity';
  706. SAY;
  707. SAY 'The coffin is cold and damp. The air is foul and musty. Mildew and other';
  708. Say 'fungi have begun to cultivate on your clothing. The roses on your grave';
  709. Say 'have long since wilted and died. Already the small sprouts of new grass';
  710. Say 'have began to grow in the fresh top soil. All is cold and lifeless.';
  711. say;
  712. SAY CENTER(HI'Sorry you have lost his adventure...'LO,70);
  713. SIGNAL QUIT;
  714. WIN_ROOM:;
  715. VMFCLEAR;
  716. R=24;
  717.  MINUTES=MINUTES+3;
  718. LOC.24='On a Coast Guard Cutter';
  719. CALL TIMEM;
  720. SAY'After paddling around in the bright yellow raft for a while you were spotted';
  721. SAY'by a Coast Guard Vessel. You were brought on board, given clean clothes, fed';
  722. SAY'a big meal, and then taken home! You parents were so glad to see you alive';
  723. Say'That they forgot all about the new boat you wrecked!';
  724. SAY;
  725. SAY CENTER(HI'CONGRATULATIONS!!! You have solved this adventure!'LO,72);
  726. SIGNAL QUIT;
  727. TITLE:;
  728. VMFCLEAR;
  729. SAY CENTER(HI'MIKEL RICE PROUDLY PRESENTS',71);
  730. SAY;
  731. SAY'                                 THE';
  732. SAY'  MM      MM                         DDDDDDD                        ';
  733. SAY'  M M    M M                         D      D                       ';
  734. SAY'  M  M  M  M             NN       N  D       D             Y       Y';
  735. SAY'  M   MM   M             N N      N  D       D              Y     Y ';
  736. SAY'  M        M             N  N     N  D       D    AAAAA      Y   Y  ';
  737. SAY'  M        M  OOOOOOOOO  N   N    N  D       D   A     A      Y Y   ';
  738. SAY'  M        M  O       O  N    N   N  D      D   A       A      Y    ';
  739. SAY'  M        M  O       O  N     N  N  DDDDDDD    A       A      Y    ';
  740. SAY'              O       O  N      N N             AAAAAAAAA      Y    ';
  741. SAY'              O       O  N       NN             A       A      Y    ';
  742. SAY'              O       O                         A       A           ';
  743. SAY'              OOOOOOOOO                         A       A           ';
  744. SAY'                              ADVENTURE!';
  745. SAY;
  746.  SAY;
  747. R = 6;
  748.  HOUR = 3;
  749.  MINUTES = 25;
  750.  MSG = 0;
  751.  RAFT=0;
  752. UNLOCKED=0;
  753.  OPENED=0;
  754.  KNIFE=0;
  755.  OAR=0;
  756.  KEY=0;
  757.  MAP=0;
  758. VLIST='GO GETLOODROOPEREAUNLMOVCLIBREMAKDIGHELCUTPADINFKILQUI';
  759. NLIST='BOTNOTROCSTUKNIKEYSHOROPDRIBOXPUMSHEDOOTRERAFPADNORSOUEASWES';
  760. NLIST=NLIST||'SANMAP';
  761. LOC.1 = 'A sandy white beach';
  762.  EXIT.1 = 'N * E *';
  763. LOC.2 = 'A sandy white beach';
  764.  EXIT.2 = 'N S E *';
  765. LOC.3 = 'A sandy white beach';
  766.  EXIT.3 = 'N S E *';
  767. LOC.4 = 'A sandy white beach';
  768.  EXIT.4 = 'N S E *';
  769. LOC.5 = 'A sandy white beach';
  770.  EXIT.5 = '* S E *';
  771. LOC.6 = 'A sandy white beach';
  772.  EXIT.6 = 'N * E W';
  773. LOC.7 = 'A small clearing';
  774.  EXIT.7 = 'N S E W';
  775. LOC.8 = 'In the woods';
  776.  EXIT.8 = 'N S E W';
  777. LOC.9 = 'A grassy field';
  778.  exit.9 = 'n s e w';
  779. LOC.10 = 'A pebble covered beach';
  780.  exit.10 = '* s e w';
  781. LOC.11 = 'A sandy white beach';
  782.  exit.11 = 'N * E W';
  783. LOC.12 = 'In the woods';
  784.  EXIT.12 = 'n s e w';
  785. LOC.13 = 'In the woods';
  786.  EXIT.13 = 'n s e w';
  787. LOC.14 = 'A peacful orchard';
  788.  exit.14 = 'n s * w';
  789. LOC.15 = 'A pebble covered beach';
  790.  exit.15 = '* s e w';
  791. LOC.16 = 'A rocky tidal pool';
  792.  exit.16 = 'n * * w';
  793. LOC.17 = 'A sandy white beach';
  794.  EXIT.17 = 'N S * W';
  795. LOC.18 = 'A sandy white beach';
  796.  EXIT.18 = 'N S * W';
  797. LOC.19 = 'A sandy white beach';
  798.  exit.19 = 'N S * *';
  799. LOC.20 = 'A sandy white beach';
  800.  exit.20 = '* S * W';
  801. LOC.21 = 'A little homemade treehouse';
  802.  exit.21 = '';
  803. LOC.22 = 'In a rusted metal shed';
  804.  EXIT.22 = '* * E *';
  805. LOC.23 = 'In the two-man raft';
  806.  exit.23 = '* * * w';
  807. OBJECT.1.1 = 'BOTTLE';
  808.  object.1.2 = 6;
  809. OBJECT.1.3 = 'There appears to be something in it!';
  810. OBJECT.2.1 = 'NOTE';
  811.  object.2.2 = 0;
  812. OBJECT.2.3 = 'There is some writing on it.';
  813. OBJECT.3.1 = 'ROCK';
  814.  object.3.2 = 7;
  815. object.3.3 = 'It is big and seems heavy.';
  816. object.4.1 = 'tree STUMP';
  817.  OBJECT.4.2 = 12;
  818. object.4.3 = 'Something is carved on it.';
  819. object.5.1 = 'KNIFE';
  820.  OBJECT.5.2 = 0;
  821. object.5.3 = 'It is sharp enough to cut wood!';
  822. OBJECT.6.1 = 'KEY';
  823.  OBJECT.6.2 = 0;
  824. OBJECT.6.3 = 'It must unlock something...';
  825. object.7.1 = 'SHOVEL';
  826.  OBJECT.7.2 = 21;
  827. object.7.3 = "It's an ordinary shovel used for digging.";
  828. OBJECT.8.1 = 'ROPE';
  829.  OBJECT.8.2 = 21;
  830. OBJECT.8.3 = "It's tied to the tree and is hanging to the ground.";
  831. object.9.1 = 'DRIFTWOOD';
  832.  OBJECT.9.2 = 5;
  833. object.9.3 = "It's a piece from your wrecked boat...";
  834. OBJECT.10.1 = 'BOX';
  835.  OBJECT.10.2 = 21;
  836. OBJECT.10.3 = 'It is an ordinary box.';
  837. OBJECT.11.1 = 'PUMP';
  838.  OBJECT.11.2 = 0;
  839. OBJECT.11.3 = 'It is rusted but it still works.';
  840. object.12.1 = 'metal SHED';
  841.  OBJECT.12.2 = 19;
  842. object.12.3 = "It's is an old abandoned boathouse.";
  843. object.13.1 = 'shed DOOR';
  844.  OBJECT.13.2 = 19;
  845. object.13.3 = "You see a keyhole.";
  846. object.14.1 = 'Big TREE';
  847.  OBJECT.14.2 = 14;
  848. object.14.3 = "It looks easy to climb.";
  849. object.15.1 = 'deflated RAFT';
  850.  OBJECT.15.2 = 22;
  851. object.15.3 = "It's a two-man raft.";
  852. object.16.1 = 'PADDLE';
  853.  OBJECT.16.2 = 0;
  854. object.16.3 = "It's looks like a chopped up piece of driftwood...";
  855. object.17.1 = 'NORTH';
  856.  OBJECT.17.2 = 0;
  857. object.17.3 = "I see something, maybe I should go there!";
  858. object.18.1 = 'SOUTH';
  859.  OBJECT.18.2 = 0;
  860. object.18.3 = "I see something, maybe I should go there!";
  861. object.19.1 = 'EAST';
  862.  OBJECT.19.2 = 0;
  863. object.19.3 = "I see something, maybe I should go there!";
  864. object.20.1 = 'WEST';
  865.  OBJECT.20.2 = 0;
  866. object.20.3 = "I sEE SOMETHING, Maybe I should go there!";
  867. OBJECT.21.1 = 'SAND';
  868.  OBJECT.21.2 = 6;
  869. OBJECT.21.3 = 'It is as white as snow.';
  870. OBJECT.22.1 = 'MAP';
  871.  OBJECT.22.2 = 0;
  872. OBJECT.22.3 = 'Something is drawn on it!';
  873. SAY CENTER('DO YOU NEED INSTRUCTIONS? (Y/N)?'LO,72);
  874. PULL ANSWER;
  875. IF ANSWER ^= 'Y' THEN RETURN;
  876. VMFCLEAR;
  877. say CENTER(HI'The Monday Adventure'LO,68);
  878. SAY;
  879. SAY 'Oh boy, what a weekend you had... You went cruising around the bay';
  880. say 'Saturday in your NEW boat consuming a case of beer all by yourself.';
  881. say 'Last thing you remember you were doing 80 miles per hour splashing';
  882. say 'the people in canoes with your wake....';
  883. say;
  884. say "You wake up on a sandy white beach, but now it is Monday! You don't";
  885. say 'remember much about Sunday, but you wrecked your boat and washed';
  886. say 'ashore on this little island. Your headache is gone but now you';
  887. say 'are really hungry. There is nothing to eat on this island so you';
  888. say 'will have to figure a way to get back home. There is one slight';
  889. say 'catch. Since you have not eaten in so long you are weak and may';
  890. say 'not survive too much longer... Hint: (You die at 4:30 pm)!';
  891. say;
  892. say center('Press' HI'<ENTER>'LO' to continue',68);
  893. PULL DUMMY;
  894. VMFCLEAR;
  895. SAY CENTER(HI'The Monday Adventure'LO,68);
  896. SAY;
  897. Say '    In this adventure you are able to manipulate objects by using a';
  898. Say 'VERB NOUN pair. For example if you want to pick up a book you could';
  899. Say "type 'GET BOOK'. Then if you wanted to see what the book was about you";
  900. Say "could 'READ BOOK'. In some situations you may want to 'OPEN BOOK' to";
  901. Say "see if something was hidden in the book. Some VERBS do not need a NOUN";
  902. SAY "such as 'INVENTORY' (I), 'DIG', or 'HELP'...just type the verb.";
  903. Say;
  904. Say '    In this adventure you are limited to the compass directions of:';
  905. Say 'NORTH, SOUTH, EAST, and WEST. However, you have other less obvious';
  906. Say "exits such as 'GO' (as in GO CAVE), or 'CLIMB' (as in CLIMB WALL).";
  907. Say "To move in a direction you could type 'GO NORTH' or 'N' for short.";
  908. SAY 'I hope you enjoy playing the MONDAY adventure...Watch the time!!';
  909. Say;
  910. SAY center('Press' HI'<ENTER>'LO' to continue',68);
  911. PULL DUMMY;
  912. RETURN;
  913. VERBS:;
  914. VMFCLEAR;
  915. SAY;
  916. SAY CENTER(HI'VERB LIST'LO,60);
  917. SAY;
  918. SAY '     GO             ENTER            GET             TAKE';
  919. SAY '     LOOK           EXAMINE          DROP            OPEN';
  920. SAY '     READ           UNLOCK           MOVE            PUSH';
  921. SAY '     CLIMB          KILL             BREAK           SMASH';
  922. SAY '     MAKE           BUILD            CUT             CARVE';
  923. SAY '     INFLATE        PUMP             PADDLE          ROW ';
  924. SAY '     INVENTORY *    HELP *           DIG *           QUIT *';
  925. SAY;
  926. say '              * - These verbs require no noun!';
  927. SAY;
  928.  SAY;
  929. SAY '               Press <enter> to continue game';
  930. PULL DUMMY;
  931. MINUTES=MINUTES-1;
  932. RETURN;
  933. MAP:;
  934. IF MAP=0 THEN SAY"WHAT MAP??";
  935. ELSE;
  936. IF OBJECT.22.2^=50 THEN SAY"YOU DON'T HAVE THE MAP!";
  937. ELSE;
  938. DO;
  939. VMFCLEAR;
  940. LINE1='   =====================================';
  941. LINE3='   | BEACH  | BEACH  | BEACH  | BEACH  |';
  942. LINE4='   | BEACH  | FIELD  | WOODS  | BEACH  |';
  943. LINE5='   | BEACH  | WOODS  | WOODS  | BEACH  |';
  944. LINE6='   | BEACH  | ROCK   | WOODS  | BEACH  |';
  945. SAY;
  946. DO OLOOP =1 TO 5;
  947. SAY LINE1;
  948. IF OLOOP=1 | OLOOP=5 THEN SAY LINE3;
  949. IF OLOOP=2 THEN SAY LINE4;
  950. IF OLOOP=3 THEN SAY LINE5;
  951. IF OLOOP=4 THEN SAY LINE6;
  952. END;
  953. SAY LINE1;
  954. END;
  955. IF MAP^=0 THEN;
  956. DO;
  957. SAY;
  958.  SAY;
  959. SAY 'The map is old and crudely drawn...in blood!!';
  960. SAy;
  961.  SAY;
  962. SAY CENTER('Press' HI'<enter>'LO' to continue game',48);
  963. PULL DUMMY;
  964. SAY;
  965.  SAY 'One moment';
  966. END;
  967. RETURN;
  968. QUIT:;
  969. SAY;
  970. SAY CENTER(HI'Do you wish to play again? (Y/N)?'LO,70);
  971. PULL DUMMY;
  972. IF DUMMY = 'Y' THEN SIGNAL BEGIN;
  973. VMFCLEAR;
  974. "CP SET MSG ON";
  975. EXIT
  976.