-
Notifications
You must be signed in to change notification settings - Fork 18
/
mars.zil
4362 lines (4092 loc) · 131 KB
/
mars.zil
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"MARS for
LEATHER GODDESSES OF PHOBOS
(c) Copyright 1986 Infocom, Inc. All Rights Reserved."
<ROOM MARTIAN-DESERT
(LOC ROOMS)
(DESC "Martian Desert")
(LDESC
"As you wander amidst these towering dunes of red Martian sand, you notice
three distinct pathways: north, east, and west.")
(NORTH TO RUINED-CASTLE-1)
(EAST TO RUINED-CASTLE-2)
(WEST TO RUINED-CASTLE-3)
(FLAGS RLANDBIT ONBIT)
(GLOBAL DUNES)>
<GLOBAL CASTLES-SEEN 0>
<ROUTINE NAME-CASTLE ()
<COND (<FSET? ,HERE ,TOUCHBIT>
<RFALSE>)>
<COND (<EQUAL? ,CASTLES-SEEN 0>
<PUTP ,HERE ,P?SDESC "Ruin">)
(<EQUAL? ,CASTLES-SEEN 1>
<PUTP ,HERE ,P?SDESC "Another Ruin">)
(<EQUAL? ,CASTLES-SEEN 2>
<PUTP ,HERE ,P?SDESC "Yet Another Ruin">)>
<SETG CASTLES-SEEN <+ ,CASTLES-SEEN 1>>>
<ROUTINE CASTLE-NOTE ()
<COND (<EQUAL? ,CASTLES-SEEN 2>
<TELL
"(There do seem to be quite a few of them around here, eh?) ">)
(<EQUAL? ,CASTLES-SEEN 3>
<TELL
"(It's no wonder this section of Mars is considered the Ruined Castle
Capital of the Solar System.) ">)>>
<ROOM RUINED-CASTLE-1
(LOC ROOMS)
(DESC "Ruined Castle")
(SDESC "")
(SOUTH TO MARTIAN-DESERT)
(OUT TO MARTIAN-DESERT)
(NORTH TO THRONE-ROOM)
(IN TO THRONE-ROOM)
(FLAGS RLANDBIT ONBIT)
(ACTION RUINED-CASTLE-1-F)>
<ROUTINE RUINED-CASTLE-1-F (RARG)
<COND (<EQUAL? .RARG ,M-ENTER>
<NAME-CASTLE>)
(<EQUAL? .RARG ,M-LOOK>
<TELL "You stand amongst the ruins of a mighty castle. ">
<CASTLE-NOTE>
<TELL
"The only part of the castle that is more than a pile of rubble is to the
north. A path leads out of the ruin to the south.">)>>
<ROOM THRONE-ROOM
(LOC ROOMS)
(DESC "Throne Room")
(SOUTH TO RUINED-CASTLE-1)
(OUT TO RUINED-CASTLE-1)
(NORTH TO ROYAL-DOCKS)
(FLAGS RLANDBIT ONBIT INDOORSBIT)
(ACTION THRONE-ROOM-F)
;(THINGS <PSEUDO (ROYAL CROWN MITRE-CROWN-F)
(MITRE CROWN MITRE-CROWN-F)
(KING\'S CROWN MITRE-CROWN-F)
(GOLDEN HAIR GOWN-F)
(WHITE GOWN GOWN-F)
(FLOWING GOWN GOWN-F)>)>
<OBJECT MITRE-CROWN
(LOC THRONE-ROOM)
(DESC "Mitre's crown")
(SYNONYM CROWN)
(ADJECTIVE ROYAL MITRE\'S KING\'S)
(FLAGS NDESCBIT)
(ACTION MITRE-CROWN-F)>
<OBJECT GOWN
(LOC THRONE-ROOM)
(DESC "flowing white gown")
(SYNONYM HAIR GOWN)
(ADJECTIVE GOLDEN FLOWING WHITE)
(FLAGS NDESCBIT)
(ACTION GOWN-F)>
<ROUTINE THRONE-ROOM-F (RARG)
<COND (<EQUAL? .RARG ,M-LOOK>
<REMOVE ,MITRE> ;"this is supposed to make Mitre..."
<MOVE ,MITRE ,HERE> ;"...the first object described."
<TELL
"This is the " 'HERE " of the once-potent " 'MITRE ", of legendary fame.
Of course, the version you've probably heard is significantly warped from
What Really Happened.|
In the diseased version of the legend commonly transmitted on Earth, Mitre
is called Midas. The King was granted his wish that everything he touched
would turn to gold. His greed caught up with him when he transformed even his
own daughter into gold.|
" 'MITRE "'s wish was, in fact, that everything he touched would turn to"
,45-DEGREE-ANGLE "s. ">
<COND (<EQUAL? ,NAUGHTY-LEVEL 0>
<TELL "T">)
(T
<TELL
"No one has ever explained this strange wish; the most likely hypothesis
is a sexual fetish. In any case, t">)>
<TELL
"he tale has a similar climax, with Mitre turning his own
daughter into a" ,45-DEGREE-ANGLE ".">)>>
<ROUTINE MITRE-CROWN-F ()
<COND (<VERB? TAKE>
<TELL ,MORE-ROYAL-BLOOD>)
(<VERB? EXAMINE>
<TELL "It's not very round for a crown." CR>)>>
<ROUTINE GOWN-F ()
<COND (<VERB? TAKE>
<PERFORM-PRSA ,THETA>
<RTRUE>)>>
<OBJECT MITRE
(LOC THRONE-ROOM)
(DESC "King Mitre")
(DESCFCN MITRE-F)
(SYNONYM KING MITRE)
(ADJECTIVE KING)
(FLAGS ACTORBIT NARTICLEBIT)
(ACTION MITRE-F)>
<ROUTINE MITRE-F ("OPTIONAL" (OARG <>))
<COND (.OARG
<COND (<EQUAL? .OARG ,M-OBJDESC?>
<RTRUE>)>
<TELL " King Mitre sits upon the throne, looking ">
<COND (<FSET? ,THETA ,MUNGBIT>
<TELL
"dejected and lonely. Next to him is a pile of" ,45-DEGREE-ANGLE "s. One
stands out from the others, thanks to its golden hair and flowing white gown">)
(T
<TELL "delirious with joy">)>
<TELL
". The main entrance of the throne room is to the south, but a
tight opening leads north.">)
(<EQUAL? ,MITRE ,WINNER>
<COND (<OR <AND <VERB? WHAT>
<PRSO? ,LGOP>>
<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>
<PRSI? ,LGOP>>>
<TELL
"\"Leather fetishists, every one of them. Me, I'm not into fetishes.\"" CR>)
(<AND <VERB? CHEER>
<PRSO? ,ROOMS>>
<SETG WINNER ,PROTAGONIST>
<PERFORM-PRSA ,MITRE>
<SETG WINNER ,MITRE>
<RTRUE>)
(<AND <VERB? TOUCH>
<FSET? ,PRSO ,TAKEBIT>
<NOT <PRSO? ,GARMENT ,COMIC-BOOK>>>
<SETG WINNER ,PROTAGONIST>
<PERFORM ,V?GIVE ,PRSO ,MITRE>
<SETG WINNER ,MITRE>
<RTRUE>)
(T
<TELL "\"I don't feel like talking. I'm too ">
<COND (<FSET? ,THETA ,MUNGBIT>
<TELL "un">)>
<TELL "happy.\"" CR>
<STOP>)>)
(<VERB? EXAMINE>
<TELL "The old king looks very ">
<COND (<FSET? ,THETA ,MUNGBIT>
<TELL "down">)
(T
<TELL "up">)>
<TELL
". His appearance is rather odd, since his clothes, his jewelry, his
crown, even his very throne, all have a rather angular appearance." CR>)
(<OR <AND <VERB? ASK-ABOUT>
<PRSI? ,THETA>>
<AND <VERB? SHOW>
<PRSO? ,THETA>>>
<COND (<FSET? ,THETA ,MUNGBIT>
<TELL "The king weeps pitifully." CR>)
(T
<TELL "The king beams." CR>)>)
(<AND <VERB? GIVE>
<PRSI? ,MITRE>>
<REMOVE ,PRSO>
<TELL
"As Mitre touches" T ,PRSO "," T ,PILE-OF-ANGLES " becomes a bit larger." CR>)
(<VERB? TOUCH>
<TELL "It only works the other way." CR>)
(<AND <VERB? SHAKE-WITH>
<PRSO? ,HANDS>>
<TELL
"As you join the other angles in the pile, life becomes very boring. Two
centuries later, following Mitre's death, the " 'PILE-OF-ANGLES " is sold to
a geometry teacher on Baffin Island, who uses you to demonstrate bisections,
trigonometric proofs, and basic picture framing techniques." CR>
<FINISH>)>>
<OBJECT THETA
(LOC THRONE-ROOM)
(SDESC "different-looking angle")
(LDESC
"Princess Theta stands demurely by her father's throne, buried up
to her thighs in forty-five degree angles.")
(SYNONYM ANGLE PRINCE DAUGHTER THETA)
(ADJECTIVE HIS DIFFERENT FORTY DEGREE NUMBER KING\'S DAUGHTER PRINCE)
(GENERIC GENERIC-ANGLE-F)
(FLAGS NDESCBIT MUNGBIT)
(ACTION THETA-F)>
<ROUTINE THETA-F ()
<COND (<AND <ADJ-USED ,W?NUMBER>
<NOT <EQUAL? ,P-NUMBER 45>>>
<NO-X-DEGREE-ANGLE> ;"will this really work?")
(<EQUAL? ,THETA ,WINNER>
<COND (<OR <AND <VERB? WHAT>
<PRSO? ,LGOP>>
<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>
<PRSI? ,LGOP>>>
<TELL
"\"The travelling acrobatic troupe! I saw them while I was mooning on
Phobos. Their costumes are made of pure Chomperhide leather.\"" CR>)
(T
<TELL
"The princess, whose recent experience has made her more obtuse,
just looks at you dumbly." CR>)>)
(<AND <VERB? MEASURE>
<FSET? ,THETA ,MUNGBIT>>
<PERFORM-PRSA ,PILE-OF-ANGLES>
<RTRUE>)
(<VERB? EXAMINE>
<COND (<FSET? ,THETA ,MUNGBIT>
<TELL
"The angle has the sort of golden hair and satiny robes that one
normally associates with princesses." CR>)
(T
<TELL "The princess, once acute, is now cute." CR>)>)
(<VERB? TAKE KISS FUCK TOUCH BEND>
<TELL
"Mitre growls, \"Keep " 'HANDS "s off my daughter.\"" CR>)
(<VERB? MARRY>
<COND (<FSET? ,THETA ,MUNGBIT>
<WANT-CHILDREN "angular">)
(T
<TELL
"\"Only one of royal blood shall bisect ... er, wed ... my
Theta!\" bellows Mitre." CR>)>)>>
<ROUTINE WANT-CHILDREN (STRING)
<SETG AWAITING-REPLY 2>
<QUEUE I-REPLY 2>
<TELL "Would you really want " .STRING " children?" CR>>
<OBJECT EIGHTY-TWO-DEGREE-ANGLE
(DESC "eighty-two degree angle")
(NO-T-DESC "eighy-wo degree angle")
(SYNONYM ANGLE)
(ADJECTIVE EIGHTY EIGHY DEGREE NUMBER)
(FLAGS TAKEBIT VOWELBIT)
(GENERIC GENERIC-ANGLE-F)
(ACTION EIGHTY-TWO-DEGREE-ANGLE-F)>
<ROUTINE EIGHTY-TWO-DEGREE-ANGLE-F ()
<COND (<AND <ADJ-USED ,W?NUMBER>
<NOT <EQUAL? ,P-NUMBER 82>>>
<NO-X-DEGREE-ANGLE> ;"will this really work?")
(<AND <VERB? MEASURE>
<NOT <FSET? ,EIGHTY-TWO-DEGREE-ANGLE ,UNTEEDBIT>>>
<TELL "82 degrees." CR>)>>
<ROUTINE NO-X-DEGREE-ANGLE ()
<TELL ,YOU-CANT-SEE-ANY N ,P-NUMBER " degree angle here!" CR>>
<ROUTINE GENERIC-ANGLE-F ()
<COND (<FSET? ,THETA ,MUNGBIT>
<RFALSE>)
(T ;"the princess isn't an angle, at the moment"
,EIGHTY-TWO-DEGREE-ANGLE)>>
<OBJECT PILE-OF-ANGLES
(LOC THRONE-ROOM)
(DESC "pile of angles")
(SYNONYM PILE ANGLES)
(ADJECTIVE FORTY DEGREE NUMBER)
(FLAGS NDESCBIT)
(ACTION PILE-OF-ANGLES-F)>
<ROUTINE PILE-OF-ANGLES-F ()
<COND (<AND <ADJ-USED ,W?NUMBER>
<NOT <EQUAL? ,P-NUMBER 45>>>
<NO-X-DEGREE-ANGLE> ;"will this really work?")
(<VERB? COUNT>
<TELL "Lots." CR>)
(<VERB? TAKE>
<TELL "The " 'PILE-OF-ANGLES " is too big to carry.">
<COND (<FSET? ,THETA ,MUNGBIT>
<TELL
" Besides, other than" T ,THETA ", none of them are interesting.">)>
<CRLF>)
(<VERB? MEASURE>
<TELL "45 degrees." CR>)>>
<ROOM RUINED-CASTLE-2
(LOC ROOMS)
(DESC "Ruined Castle")
(SDESC "")
(WEST TO MARTIAN-DESERT)
(EAST TO MARTIAN-DESSERT)
(FLAGS RLANDBIT ONBIT)
(GLOBAL DULL-DUST)
(ACTION RUINED-CASTLE-2-F)
;(THINGS <PSEUDO (<> DUST UNIMPORTANT-THING-F)
(SMALL CROWN FROG-CROWN-F)
(GOLD CROWN FROG-CROWN-F)
(FROG\'S CROWN FROG-CROWN-F)>)>
<OBJECT DULL-DUST
(LOC LOCAL-GLOBALS)
(DESC "dust")
(SYNONYM DUST)
(FLAGS NDESCBIT)
(ACTION UNIMPORTANT-THING-F)>
<OBJECT FROG-CROWN
(LOC RUINED-CASTLE-2)
(DESC "small gold crown")
(SYNONYM CROWN)
(ADJECTIVE SMALL GOLD FROG\'S)
(FLAGS NDESCBIT)
(ACTION FROG-CROWN-F)>
<ROUTINE FROG-CROWN-F ()
<COND (<VERB? TAKE>
<TELL ,MORE-ROYAL-BLOOD>)
(<VERB? EXAMINE>
<TELL "It's tiny." CR>)>>
<ROUTINE RUINED-CASTLE-2-F (RARG)
<COND (<EQUAL? .RARG ,M-ENTER>
<FCLEAR ,RUINED-CASTLE-2 ,MUNGBIT>
<NAME-CASTLE>)
(<EQUAL? .RARG ,M-LOOK>
<TELL "This ancient castle now lies in ruins. ">
<CASTLE-NOTE>
<TELL
"All that remains of its once-proud ramparts are dust and rubble, and an
occasional stone block. A path leads away from the ruin to the west">
<UNCHARTABLE-DESERT "east">)>>
<ROUTINE UNCHARTABLE-DESERT (STRING)
<TELL ". To the " .STRING ": unchartable desert.">>
<OBJECT FROG
(LOC RUINED-CASTLE-2)
(DESC "frog")
(LDESC
"Sitting on one of the stone blocks is a large green frog. Something about
it catches your eye.")
(SYNONYM FROG PRINCE)
(ADJECTIVE ENCHANTED LARGE GREEN)
(ACTION FROG-F)>
<ROUTINE FROG-F ()
<COND (<OR <VERB? TELL LISTEN>
<AND <VERB? GIVE>
<PRSI? ,FROG>>>
<TELL "\"Ribit.\"" CR>
<COND (<VERB? TELL>
<STOP>)>
<RTRUE>)
(<VERB? EAT TASTE SUCK SMELL>
<TELL ,YECHH>)
(<VERB? EXAMINE>
<TELL
"You realize what aroused your attention: the tiny gold crown on the frog's
head. The frog is otherwise totally ordinary. Ordinary for a frog, that is.
By any other measure it is a repulsive creature, with swollen eyes, oozing
warts, slimy skin, and a grating croak." CR>)
(<VERB? TOUCH>
<TELL "Huge, ugly warts cover every inch of " 'YOUR-BODY>
<COND (<EQUAL? ,NAUGHTY-LEVEL 0>
<TELL ", but">)
(T
<TELL ". Fortunately for your sex life,">)>
<TELL " they quickly fade away." CR>)
(<VERB? MARRY>
<WANT-CHILDREN "green">)
(<VERB? KISS>
<TELL "You lean forward">
<COND (<FSET? ,EYES ,MUNGBIT>
<TELL " with " 'EYES " ">
<COND (<EQUAL? ,EYES ,HAND-COVER>
<TELL "covered">)
(T
<TELL "closed">)>
<COND (<FSET? ,NOSE ,MUNGBIT>
<COND (<FSET? ,EARS ,MUNGBIT>
<TELL ",">)
(T
<TELL " and">)>
<TELL " " 'NOSE " shut">
<COND (<FSET? ,EARS ,MUNGBIT>
<COND (<FSET? ,MOUTH ,MUNGBIT>
<TELL ",">)
(T
<TELL " and">)>
<TELL " " 'EARS " ">
<COND (<EQUAL? ,EARS ,HAND-COVER>
<TELL "covered">)
(T
<TELL "stuffed up">)>
<COND (<FSET? ,MOUTH ,MUNGBIT>
<FROG-SEX-SCENE>
<RTRUE>)
(T
<TELL
,ABOUT-TO-KISS "the thought of slimy frog lips pressing against
your own makes you shudder away." CR>)>)
(T
<TELL
,ABOUT-TO-KISS "the creature lets loose a loud, croaking \"ribit.\" You
admit that you are incapable of kissing under such circumstances." CR>)>)
(T
<TELL
,ABOUT-TO-KISS "the stench of old pond scum overwhelms you,
and you lurch back, retching." CR>)>)
(T
<TELL
,ABOUT-TO-KISS "the sight of its green warts and slimy skin make it
impossible to continue." CR>)>)>>
<ROUTINE FROG-SEX-SCENE ()
<MOVE ,FROG ,LOCAL-GLOBALS>
<MOVE ,BLENDER ,HERE>
<INCREMENT-SCORE 17 17 T>
<OPEN-EYES-AND-REMOVE-HANDS>
<TELL
" and your lips smeared with balm. Planting " 'MOUTH " solidly against
the frog's, you kiss deeply. ">
<COND (<EQUAL? ,NAUGHTY-LEVEL 0>
<TELL
"The kiss is surprisingly pleasant, until you notice that you're embracing a ">
<COND (,MALE
<TELL "beautiful princess. Sh">)
(T
<TELL "handsome prince. H">)>
<TELL
"e leaps back, blushing deeply. \"We're ... we're not married,\" ">
<SHE-HE>
<TELL " stammers. Then, still reddening, ">
<SHE-HE>
<TELL " vanishes into thin air! Y">)
(T
<FSET ,RUINED-CASTLE-2 ,MUNGBIT> ;"for V-DIAGNOSE"
<TELL
"When you feel a tongue sliding into " 'MOUTH ", revulsion gives way to
pleasure, as the no-longer-enchanted but quite enchanting prince">
<COND (,MALE
<TELL "ss">)>
<TELL " presses against you. ">
<COND (<EQUAL? ,NAUGHTY-LEVEL 1>
<TELL "Some time later, after the prince">
<COND (,MALE
<TELL "ss">)>
<TELL " has departed...">)
(T
<COND (,MALE
<TELL
"Rubbing her hot, naked body against yours, s">)
(T
<TELL
"As your arms grip his naked, muscular back, ">)>
<TELL
"he effortlessly slips off your " D ,GARMENT ". A warm and wild feeling springs
from your loins, spreading like a fiery potion through your veins. Within
moments you are joined in passionate love, and just as a quick and lustful
orgasm seems inevitable, a force crackles in the air, and you are alone, naked,
sweating, and unsatisfied.">)>
<TELL CR " As you gather up your garment and put it on, y">)>
<TELL "ou notice" A ,BLENDER " on the ground. " ,ITS-ENGRAVED>
<COND (<IN? ,SIDEKICK ,HERE>
<TELL
" " D ,SIDEKICK " is at the other end of the ruin, sifting through some
rubble, oblivious to your \"experience.\"">)>
<CRLF>>
<OBJECT BLENDER
(DESC "common household blender")
(SYNONYM BLENDER MIXER ENGRAVING)
(ADJECTIVE COMMON HOUSEHOLD)
(FLAGS TAKEBIT LIGHTBIT READBIT)
(SIZE 8)
(ACTION BLENDER-F)>
<ROUTINE BLENDER-F ()
<COND (<VERB? READ>
<COND (<NOT <EQUAL? ,NAUGHTY-LEVEL 0>>
<TELL "\"Dearest," CR>
<COND (<EQUAL? ,NAUGHTY-LEVEL 2>
<TELL " Sorry to leave so abruptly; p">)
(T
<TELL " P">)>
<TELL "erhaps some day we will meet again">
<COND (<EQUAL? ,NAUGHTY-LEVEL 2>
<TELL ", and finish what we began">)>
<TELL ". ">)
(T
<TELL "\"">)>
<TELL
"Please accept this token of my gratitude for delivering me from
enchantment.\"" CR>)
(<VERB? EXAMINE>
<COND (<NOUN-USED ,W?ENGRAVING ,BLENDER>
<PERFORM ,V?READ ,BLENDER>
<RTRUE>)
(T
<TELL ,ITS-ENGRAVED CR>)>)
(<VERB? ON>
<TELL "\"Whirr.\"" CR>)
(<VERB? LOOK-INSIDE>
<TELL "It's empty." CR>)
(<AND <VERB? PUT>
<PRSI? ,BLENDER>>
<TELL "But" T ,PRSO " doesn't need blending." CR>)>>
<ROOM RUINED-CASTLE-3
(LOC ROOMS)
(DESC "Ruined Castle")
(SDESC "")
(EAST TO MARTIAN-DESERT)
(NW TO HICKORY-AND-DICKORY-DOCK)
(FLAGS RLANDBIT ONBIT)
(GLOBAL HOLE)
(HOLE-DESTINATION BASEMENT)
(ACTION RUINED-CASTLE-3-F)>
<ROUTINE RUINED-CASTLE-3-F (RARG)
<COND (<EQUAL? .RARG ,M-ENTER>
<NAME-CASTLE>)
(<EQUAL? .RARG ,M-LOOK>
<TELL
"Wind whistles among the fallen archways, crumbled balustrades, and black
circle of this ruined castle. ">
<CASTLE-NOTE>
<TELL "Paths lead east and northwest through the rubble.">)>>
<ROOM HICKORY-AND-DICKORY-DOCK
(LOC ROOMS)
(DESC "Hickory & Dickory Dock")
(LDESC
"This dock, which extends north into a broad canal, is crafted of fine
woods from across the solar system: hickory wood from the forests of
Earth, and dickory wood from the jungles of Venus. A path leads south.")
(SOUTH TO RUINED-CASTLE-3)
(NORTH SORRY "If you want to jump in the canal, say so.")
(NE SORRY "If you want to jump in the canal, say so.")
(NW SORRY "If you want to jump in the canal, say so.")
(FLAGS RLANDBIT ONBIT)
(GLOBAL CANAL-OBJECT DOCK-OBJECT WATER)>
<OBJECT MOUSE
(LOC HICKORY-AND-DICKORY-DOCK)
(DESC "mouse")
(FDESC "You spot a little white marsmouse running along the dock.")
(SYNONYM MOUSE MARSMOUSE)
(ADJECTIVE SMALL WHITE)
(SIZE 3)
(FLAGS TAKEBIT TRYTAKEBIT)
(ACTION MOUSE-F)>
<ROUTINE MOUSE-F ()
<COND (<VERB? CLICK>
<SETG AWAITING-REPLY 2>
<QUEUE I-REPLY 2>
<TELL "You expect maybe a window to open?" CR>)
(<AND <VERB? SHOW>
<PRSO? ,PAINTING>
<NOT <FSET? ,PAINTING ,UNTEEDBIT>>>
<FCLEAR ,MOUSE ,TRYTAKEBIT>
<FSET ,MOUSE ,TOUCHBIT>
<QUEUE I-MOUSE 2>
<TELL "The mouse freezes with fear." CR>)
(<AND <VERB? GIVE>
<PRSI? ,MOUSE>>
<TELL "Marsmice, like earthmice, prefer cheese." CR>)
(<VERB? CATCH>
<PERFORM ,V?TAKE ,MOUSE>
<RTRUE>)
(<AND <TOUCHING? ,MOUSE>
<IN? ,MOUSE ,HERE>
<FSET? ,MOUSE ,TRYTAKEBIT>>
<TELL "The little fellow scurries easily away from you." CR>)
(<AND <VERB? FOLLOW>
<EQUAL? ,P-PRSA-WORD ,W?CHASE>
<IN? ,MOUSE ,HERE>
<FSET? ,MOUSE ,TRYTAKEBIT>>
<PERFORM ,V?TAKE ,MOUSE>
<RTRUE>)
(<AND <VERB? TAKE>
<NOT <FSET? ,MOUSE ,MUNGBIT>>
<L? <CCOUNT ,PROTAGONIST> 11>>
<FSET ,MOUSE ,MUNGBIT>
<INCREMENT-SCORE 14 9 T>
<RFALSE>)
(<VERB? MEASURE>
<TELL "Tiny." CR>)
(<VERB? TOUCH>
<TELL "The mouse squeaks happily." CR>)>>
<ROUTINE I-MOUSE ()
<FSET ,MOUSE ,TRYTAKEBIT>
<COND (<IN? ,MOUSE ,RUINED-CASTLE-1>
<FCLEAR ,MOUSE ,TOUCHBIT>)>
<COND (<IN? ,MOUSE ,HERE>
<TELL " The mouse relaxes and begins scampering about." CR>)
(T
<RFALSE>)>>
<ROOM ROYAL-DOCKS
(LOC ROOMS)
(DESC "Royal Docks")
(SOUTH TO THRONE-ROOM)
(NORTH SORRY "If you want to jump in the canal, say so.")
(NE SORRY "If you want to jump in the canal, say so.")
(NW SORRY "If you want to jump in the canal, say so.")
(IN TO THRONE-ROOM)
(FLAGS RLANDBIT ONBIT)
(GLOBAL CANAL-OBJECT DOCK-OBJECT WATER)
(ACTION ROYAL-DOCKS-F)>
<ROUTINE ROYAL-DOCKS-F (RARG)
<COND (<EQUAL? .RARG ,M-LOOK>
<COND (<EQUAL? ,NAUGHTY-LEVEL 0>
<TELL "This dock juts">)
(T
<TELL
"During the peak of King Mitre's reign, a cruel joke went around
the kingdom that Mitre's two greatest loves were his Royal Docks
and his Royal Ducks. The joke was never very good and has long
since been forgotten, and the ducks perished years ago from a
sexually transmitted disease, but the docks remain, jutting">)>
<TELL
" into a wide Martian Canal which flows from west to east. Behind you,
to the south, is a ruined castle.">)>>
<OBJECT BARGE
(LOC ROYAL-DOCKS)
(DESC "royal barge")
(DESCFCN BARGE-F)
(SYNONYM BARGE BOAT GONDOLA CONTROL CONTROLS BUTTONS)
(ADJECTIVE ROYAL WOODEN CEDAR CEDARWOOD SIMPLE)
(GENERIC GENERIC-BARGE-F)
(FLAGS INBIT VEHBIT CONTBIT SEARCHBIT OPENBIT)
(CAPACITY 200)
(ACTION BARGE-F)>
<ROUTINE BARGE-F ("OPTIONAL" (OARG <>))
<COND (.OARG
<COND (<EQUAL? .OARG ,M-OBJDESC?>
<RTRUE>)>
<TELL
" A barge, hand-crafted from fine Martian cedarwood, is ">
<COND (<EQUAL? ,HERE ,CANAL>
<TELL "floating nearby.">)
(T
<TELL "moored at the end of the dock.">)>)
(<AND <EQUAL? ,HERE ,CANAL>
<IN? ,PROTAGONIST ,RAFT>
<NOT <EQUAL? ,RAFT-LOC-NUM ,BARGE-LOC-NUM>>>
<CANT-SEE ,BARGE>)
(<VERB? SINK>
<TELL
"The barge is unsinkable. (Then again, so was the Titanic.)" CR>)
(<VERB? UNTIE LAUNCH>
<TELL "The barge isn't moored">
<COND (<NOT <IN? ,BARGE ,CANAL>>
<TELL " with ropes">)>
<TELL ,PERIOD-CR>)
(<VERB? EXAMINE>
<COND (<OR <NOUN-USED ,W?CONTROL ,BARGE>
<NOUN-USED ,W?CONTROLS ,BARGE>
<NOUN-USED ,W?BUTTONS ,BARGE>>
<TELL
"The controls consist of a " 'ORANGE-BUTTON ", and a " 'PURPLE-BUTTON
". Both buttons have writing on them." CR>)
(T
<TELL
"This large barge could host a host of royal guests.">
<COND (<NOT <EQUAL? ,HERE ,CANAL>>
<TELL
" The barge rests immobile at the dockside, despite a strong current
and no visible mooring lines.">)>
<TELL
" There are some simple controls on the side of the barge">
<COND (<NOT <EQUAL? ,HERE ,CANAL>>
<TELL " nearest the dock">)>
<TELL ,PERIOD-CR>)>)
(<VERB? READ>
<PERFORM-PRSA ,ORANGE-BUTTON>
<PERFORM-PRSA ,PURPLE-BUTTON>
<RTRUE>)
(<AND <VERB? PUSH>
<OR <NOUN-USED ,W?CONTROL ,BARGE>
<NOUN-USED ,W?CONTROLS ,BARGE>
<NOUN-USED ,W?BUTTONS ,BARGE>>>
<PERFORM-PRSA ,ORANGE-BUTTON>
<TELL " ">
<PERFORM-PRSA ,PURPLE-BUTTON>
<RTRUE>)
(<VERB? SET>
<TELL ,NO-STEERING>)
(<AND <VERB? BOARD TAKE>
<EQUAL? ,HERE ,CANAL>
<IN? ,PROTAGONIST ,RAFT>>
<MOVE ,PROTAGONIST ,BARGE>
<SETG OHERE <>>
<TELL "Grabbing onto the barge, you">
<AND-SIDEKICK ,BARGE>
<MOVE ,RAFT ,PROTAGONIST>
<SETG RAFT-HELD <>>
<TELL " climb in" ,KEEP-IT-FROM-FLOATING-AWAY>)
(<AND <VERB? PUT-ON>
<PRSI? ,BARGE>>
<PERFORM ,V?PUT ,PRSO ,BARGE>
<RTRUE>)
(<VERB? SMELL>
<NO-SCRATCH-N-SNIFF "aged cedarwood">)
(<AND <VERB? SHAKE>
<IN? ,PROTAGONIST ,BARGE>>
<SHAKE-BOAT>)
(<VERB? LAND>
<SETG AWAITING-REPLY 2>
<QUEUE I-REPLY 2>
<TELL "Read any " 'ORANGE-BUTTON "s lately?" CR>)>>
<ROUTINE GENERIC-BARGE-F ()
<RETURN ,BARGE>>
<ROUTINE SHAKE-BOAT ()
<TELL "You knock yourself overboard." CR CR>
<PERFORM ,V?BOARD ,CANAL-OBJECT>
<RTRUE>>
<OBJECT ORANGE-BUTTON
(LOC GLOBAL-OBJECTS)
(DESC "huge orange button")
(SYNONYM BUTTON)
(ADJECTIVE LARGE ORANGE)
(FLAGS NDESCBIT)
(ACTION ORANGE-BUTTON-F)>
<ROUTINE ORANGE-BUTTON-F ("AUX" ATBARGE)
<SET ATBARGE <CHECK-BARGE-LOC>>
<COND (<F? .ATBARGE>
<CANT-SEE ,ORANGE-BUTTON>)
(<AND <==? .ATBARGE ,RAFT>
<TOUCHING? ,ORANGE-BUTTON>>
<CANT-REACH ,PRSO>)>
<COND (<VERB? READ EXAMINE>
<TELL "The " 'ORANGE-BUTTON " reads: MagnetoMoor O">
<COND (,MOORING-ON
<TELL "n">)
(T
<TELL "ff">)>
<TELL ,PERIOD-CR>)
(<VERB? PUSH>
<COND (,MOORING-ON
<SETG MOORING-ON <>>)
(T
<SETG MOORING-ON T>)>
<TELL ,WRITING-CHANGES ".">
<COND (<AND <NOT <IN? ,BARGE ,CANAL>>
<NOT ,MOORING-ON>
<NOT <EQUAL? ,HERE ,ICY-DOCK>>>
<MOVE ,BARGE ,CANAL>
<COND (<AND ,RAFT-HELD
<IN? ,PROTAGONIST ,BARGE>>
<MOVE ,RAFT ,CANAL>
<SETG RAFT-LOC-NUM ,BARGE-LOC-NUM>)>
<FCLEAR ,BARGE ,NDESCBIT>
<QUEUE I-CANAL -1>
<TELL " The barge s">
<COND (,BARGE-UNDER-POWER
<TELL "hoot">)
(T
<TELL "lide">)>
<TELL
"s away from the dock, into the deeper waters of the canal." CR>
<COND (<IN? ,PROTAGONIST ,BARGE>
<CRLF>
<GOTO ,BARGE>)>
<RTRUE>)
(<NOT <BARGE-DOCKS>>
<CRLF>)>
<RTRUE>)>>
<ROUTINE CHECK-BARGE-LOC ()
<COND (<OR <IN? ,PROTAGONIST ,BARGE>
<AND <NOT <IN? ,BARGE ,CANAL>>
<==? <LOC ,BARGE> <LOC ,PROTAGONIST>>>
<AND <==? ,HERE ,CANAL> ;"in raft"
<IN? ,BARGE ,CANAL>
<==? ,BARGE-LOC-NUM ,RAFT-LOC-NUM>>>
<RETURN ,BARGE>)
(<==? ,HERE ,CANAL>
<COND (<BARGE-VISIBLE-AT-DOCK>
<RETURN ,RAFT>)
(T
<RETURN <>>)>)
(T
<RETURN <>>)>>
<OBJECT PURPLE-BUTTON
(LOC GLOBAL-OBJECTS)
(DESC "huge purple button")
(SYNONYM BUTTON)
(ADJECTIVE LARGE PURPLE)
(FLAGS NDESCBIT)
(ACTION PURPLE-BUTTON-F)>
<ROUTINE PURPLE-BUTTON-F ("AUX" ATBARGE)
<SET ATBARGE <CHECK-BARGE-LOC>>
<COND (<F? .ATBARGE>
<CANT-SEE ,PURPLE-BUTTON>)
(<AND <==? .ATBARGE ,RAFT>
<TOUCHING? ,PURPLE-BUTTON>>
<CANT-REACH ,PRSO>)>
<COND (<VERB? READ EXAMINE>
<TELL "The " 'PURPLE-BUTTON " reads: ">
<COND (,BARGE-UNDER-POWER
<TELL "Full Speed Ahead">)
(T
<TELL "Go With The Flow">)>
<TELL ,PERIOD-CR>)
(<VERB? PUSH>
<TELL ,WRITING-CHANGES>
<COND (,BARGE-UNDER-POWER
<SETG BARGE-UNDER-POWER <>>)
(T
<SETG BARGE-UNDER-POWER T>
<COND (<AND <IN? ,PROTAGONIST ,RAFT>
<EQUAL? ,HERE ,CANAL>>
<BARGE-FORGES-AHEAD>)>)>
<TELL ,PERIOD-CR>)>>
<ROUTINE BARGE-FORGES-AHEAD ()
<COND (<AND <L? ,BARGE-LOC-NUM 16>
,MOORING-ON>
<SETG BARGE-LOC-NUM 15>
<MOVE ,BARGE ,WATTZ-UPP-DOCK>)
(T
<SETG BARGE-LOC-NUM 36>
<MOVE ,BARGE ,ICY-DOCK>)>
<TELL
". The barge, under power, forges ahead and disappears from sight">>
<GLOBAL MOORING-ON T>
<GLOBAL BARGE-UNDER-POWER <>>
<GLOBAL BARGE-LOC-NUM 1>
<GLOBAL RAFT-LOC-NUM 10>
<GLOBAL BARGE-WAIT <>>
<GLOBAL RAFT-WAIT <>>
<GLOBAL NEARER-DOCK <>>
<ROUTINE CANAL-LOC ()
<COND (<NOT <EQUAL? ,HERE ,CANAL>>
<RFALSE>)
(<IN? ,PROTAGONIST ,BARGE>
<RETURN ,BARGE-LOC-NUM>)
(T
<RETURN ,RAFT-LOC-NUM>)>>
<ROUTINE SET-RAFT-LOC ()
<COND (<EQUAL? ,HERE ,CANAL> ;"you're in the barge"
<SETG RAFT-LOC-NUM ,BARGE-LOC-NUM>)
(<EQUAL? ,HERE ,HICKORY-AND-DICKORY-DOCK>
<SETG RAFT-LOC-NUM -1>)
(<EQUAL? ,HERE ,ROYAL-DOCKS>
<SETG RAFT-LOC-NUM 1>)
(<EQUAL? ,HERE ,BABY-DOCK>
<SETG RAFT-LOC-NUM 6>)
(<EQUAL? ,HERE ,DONALD-DOCK>
<SETG RAFT-LOC-NUM 7>)
(<EQUAL? ,HERE ,WATTZ-UPP-DOCK>
<SETG RAFT-LOC-NUM 15>)
(T
<SETG RAFT-LOC-NUM 10>)>>
<OBJECT CANAL-OBJECT
(LOC LOCAL-GLOBALS)
(DESC "canal")
(SYNONYM CANAL)
(ADJECTIVE MARTIAN SMALL WIDE)
(ACTION CANAL-OBJECT-F)>
<ROUTINE CANAL-OBJECT-F ()
<COND (<ADJ-USED ,W?SMALL>
<UNIMPORTANT-THING-F>)
(<AND <EQUAL? ,HERE ,DUNETOP ,MINARET>
<TOUCHING? ,CANAL-OBJECT>>
<CANT-REACH ,CANAL-OBJECT>)
(<VERB? BOARD ENTER SWIM CRAWL-UNDER>
<COND (<UNTOUCHABLE? ,CANAL-OBJECT>
<CANT-REACH ,CANAL-OBJECT>)
(<EQUAL? ,HERE ,ICY-DOCK>
<TELL "The current sucks you under">
<COND (<EQUAL? ,NAUGHTY-LEVEL 2>
<TELL ", which really sucks">)>
<JIGS-UP ".">)
(T
<TELL
"In The Canal|
As you swim in the cool waters of the canal, a slimy tentacle touches you,
convincing you that it's safer back ">)>
<COND (<EQUAL? <LOC ,PROTAGONIST> ,RAFT ,BARGE>
<TELL "in" TR <LOC ,PROTAGONIST>>)
(T
<TELL "on the dock." CR>)>
<CRLF>
<DESCRIBE-ROOM>)
(<VERB? CROSS>
<PERFORM ,V?ENTER ,CANAL-OBJECT>
<RTRUE>)
(<AND <VERB? PUT>
<EQUAL? ,P-PRSA-WORD ,W?THROW>
<PRSO? ,RAFT>
<NOT <FSET? ,RAFT ,UNTEEDBIT>>
<NOT <IN? ,PROTAGONIST ,RAFT>>>
<MOVE ,RAFT ,HERE>
<SETG RAFT-HELD T>
<PERFORM ,V?DROP ,RAFT>
<RTRUE>)
(<AND <VERB? PUT THROW>
<PRSI? ,CANAL-OBJECT>>
<COND (<PRSO? ,RAFT>
<COND (<OR <FSET? ,RAFT ,UNTEEDBIT>
<FSET? ,RAFT ,MUNGBIT>>
<REMOVE ,RAFT>
<TELL "It sinks like a stone.">
<COND (<FSET? ,RAFT ,UNTEEDBIT>
<TELL
" I guess a raf doesn't float nearly as well as a raft.">)>
<CRLF>)
(<OR ,RAFT-HELD
<IN? ,RAFT ,CANAL>>
<TELL ,ALREADY-IS>)
(T
<TELL "The raft is now ">
<COND (<EQUAL? ,HERE ,ICY-DOCK>
<MOVE ,RAFT ,HERE>
<TELL "in the water" ,PINNED>)
(T
<SETG RAFT-HELD T>
<MOVE ,RAFT ,HERE>
<COND (<EQUAL? ,HERE ,CANAL>
<SETG RAFT-LOC-NUM ,BARGE-LOC-NUM>)>
<TELL "bobbing in the canal.">
<COND (<OR <NOT <EQUAL? ,HERE ,CANAL>>
,BARGE-UNDER-POWER>
<TELL
" If you weren't holding it, it would surely be ">
<COND (<EQUAL? ,HERE ,CANAL>
<TELL "left behind.">)
(T
<TELL "carried away.">)>)>
<CRLF>)>)>)
(T
<REMOVE ,PRSO>
<COND (<AND <PRSO? ,TORCH>
<FSET? ,TORCH ,ONBIT>>
<TELL "\"Phfffft!">)
(T
<TELL "\"Glub.">)>
<TELL "\" ">
<COND (<FSET? ,PRSO ,PLURALBIT>
<TELL "They're">)
(T
<TELL "It's">)>
<TELL " gone">
<COND (<OR <PRSO? ,BABY>
<ULTIMATELY-IN? ,BABY ,PRSO>>
<TELL ", you heartless baby murderer, you">)>
<TELL ,PERIOD-CR>)>)