-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathmonsters.zil
1558 lines (1452 loc) · 36.5 KB
/
monsters.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
"MONSTERS for BEYOND ZORK:
Copyright (C)1987 Infocom, Inc. All Rights Reserved."
"*** DISCIPLINE CRAB ***"
<OBJECT CRAB
(LOC THRONE-ROOM)
(LAST-LOC THRONE-ROOM)
(DESC "discipline crab")
(FLAGS TRYTAKE LIVING SURFACE SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM CRAB MONSTER SOMETHING THING)
(ADJECTIVE KING DISCIPLINE AWAKE)
(LIFE I-CRAB)
(ENDURANCE 7)
(EMAX 7)
(STRENGTH 7)
(DEXTERITY 60)
(VALUE 5)
(HABITAT CELLAR-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(CONTFCN CRAB-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "skulking in the corner")
(ACTION CRAB-F)>
<ROUTINE CRAB-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<COND (<EQUAL? .CONTEXT ,M-CONT>
<COND (<SET X <TOUCHING?>>
<TELL CTHE ,CRAB
" snaps at your fingers. Yow!" CR>
<RTRUE>)>)>
<RFALSE>)
(<AND <NOT <VERB? HIT MUNG>>
<SET X <TOUCHING?>>>
<SHY-CRAB>
<RTRUE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)
(<VERB? PUT-ON EMPTY-INTO>
<PRSO-SLIDES-OFF-PRSI>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE LOOK-ON>
<TELL CTHEO
" adjusts the crown on its head, and glares at you defiantly. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(<VERB? WHAT WHO>
<REFER-TO-PACKAGE>
<RFATAL>)
(T
<RFALSE>)>>
<ROUTINE SHY-CRAB ()
<TELL CTHE ,CRAB " sidesteps out of your reach." CR>
<RTRUE>>
"*** RATS ***"
<OBJECT RAT
(LOC WC1)
(LAST-LOC WC1)
(DESC "rat-ant")
(FLAGS MONSTER LIVING SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM RAT\-ANT RAT ANT MONSTER SOMETHING THING)
(ADJECTIVE RAT AWAKE)
(LIFE I-RAT)
(ENDURANCE 6)
(EMAX 6)
(STRENGTH 6)
(DEXTERITY 60)
(VALUE 5)
(HABITAT CELLAR-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "scuttling across the dirt")
(ACTION RAT-F)>
<ROUTINE RAT-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " glares back at you, snarling. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(T
<RFALSE>)>>
"*** SKELETON ***"
<OBJECT SKELETON
(LOC SKEL-ROOM)
(DESC "skeleton")
(SDESC 0)
(FLAGS TRYTAKE NOALL SURFACE)
(CAPACITY 10)
(VALUE 3)
(SYNONYM SKELETON BONES BONE BODY CORPSE NECK MONSTER)
(ADJECTIVE SKELETON)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN SKELETON-F)
(ACTION SKELETON-F)>
"SEEN = not yet fought."
<ROUTINE DESCRIBE-HEAP (OBJ)
<TELL "heap of bones">
<RTRUE>>
<ROUTINE SKELETON-F ("OPT" (CONTEXT <>))
<COND (<EQUAL? .CONTEXT ,M-OBJDESC>
<TELL CA ,SKELETON>
<COND (<T? ,CHOKE>
<TELL " is clutching your throat.">)
(T
<PRINT " lies at your feet.">
<COND (<NOT <IS? ,AMULET ,TOUCHED>>
<MAKE ,AMULET ,NODESC>)>
<COND (<SEE-ANYTHING-IN? ,SKELETON>
<TELL " On it you see ">
<CONTENTS ,SKELETON>
<TELL C ,PER>)>
<UNMAKE ,AMULET ,NODESC>)>
<COND (<NOT <IS? ,AMULET ,TOUCHED>>
<TELL " An amulet dangles from its neck.">)>
<RTRUE>)
(<STRANGLE? ,SKELETON>
<RFATAL>)
(<THIS-PRSI?>
<RFALSE>)
(<VERB? TAKE KICK HIT SHAKE MOVE PUSH PULL ADJUST>
<COND (<IS? ,PRSO ,MUNGED>
<WASTE-OF-TIME>
<RTRUE>)>
<WINDOW ,SHOWING-ROOM>
<MAKE ,PRSO ,MUNGED>
<MAKE ,PRSO ,SEEN>
<PUTP ,PRSO ,P?SDESC ,DESCRIBE-HEAP>
<MAKE ,AMULET ,TOUCHED>
<REPLACE-SYN? ,PRSO ,W?BODY ,W?PILE>
<REPLACE-SYN? ,PRSO ,W?CORPSE ,W?HEAP>
<REPLACE-SYN? ,PRSO ,W?NECK ,W?ZZZP>
<REPLACE-ADJ? ,PRSO ,W?SKELETON ,W?ZZZP>
<TELL "With a sigh of exhaustion, " THEO>
<COND (<T? ,CHOKE>
<SETG CHOKE 0>
<DEQUEUE ,I-STRANGLE>
<TELL " releases its strangle hold and">)>
<TELL " crumbles into a useless " D ,PRSO ,PERIOD>
<UPDATE-STAT <GETP ,SKELETON ,P?VALUE> ,EXPERIENCE>
<RTRUE>)
(<VERB? LOOK-ON LOOK-INSIDE SEARCH LOOK-UNDER DIG DIG-UNDER>
<TELL "You find ">
<COND (<NOT <IS? ,AMULET ,TOUCHED>>
<MAKE ,AMULET ,NODESC>)>
<CONTENTS>
<UNMAKE ,AMULET ,NODESC>
<PRINT ,PERIOD>
<RTRUE>)
(<AND <VERB? EXAMINE LOOK-ON>
<NOT <IS? ,PRSO ,MUNGED>>>
<TELL "It grins at you horribly. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(T
<RFALSE>)>>
"*** GUTTER SNIPES ***"
<OBJECT SNIPE
(LAST-LOC 0)
(DESC "guttersnipe")
(FLAGS MONSTER LIVING SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM SNIPE GUTTERSNIPE BIRD MONSTER)
(ADJECTIVE GUTTER AWAKE)
(LIFE I-SNIPE)
(ENDURANCE 12)
(EMAX 12)
(STRENGTH 10)
(DEXTERITY 70)
(VALUE 7)
(HABITAT MOOR-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "lurking among the reeds")
(ACTION SNIPE-F)>
<ROUTINE SNIPE-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO
"'s beak is almost a foot long, and sharp as a needle. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(T
<RFALSE>)>>
"*** ELDRITCH VAPORS ***"
<OBJECT VAPOR
(LOC IN-GAS)
(LAST-LOC IN-GAS)
(DESC "eldritch vapor")
(FLAGS VOWEL LIVING MONSTER SURPRISED)
(SYNONYM VAPORS VAPOR MONSTER)
(ADJECTIVE ELDRITCH AWAKE)
(LIFE I-VAPOR)
(ENDURANCE 6)
(EMAX 6)
(STRENGTH 5)
(DEXTERITY 70)
(VALUE 9)
(HABITAT MOOR-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "wafting amid the reeds")
(ACTION VAPOR-F)>
<ROUTINE VAPOR-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<SET X <TALKING?>>
<PCLEAR>
<TELL CTHEO " murmurs vaguely in response." CR>
<RFATAL>)
(<VERB? EXAMINE>
<DIAGNOSE-MONSTER>
<COND (<NOT <IS? ,PRSO ,TOUCHED>>
<MAKE ,PRSO ,TOUCHED>
<TELL ,TAB>
<REFER-TO-PACKAGE>)>
<RTRUE>)
(<VERB? WHAT WHO>
<REFER-TO-PACKAGE>
<RFATAL>)
(T
<RFALSE>)>>
"*** SPIDERS ***"
<OBJECT SPIDER
(LOC LEVEL1B)
(LAST-LOC LEVEL1B)
(DESC "giant spider")
(FLAGS NODESC MONSTER LIVING SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM SPIDER INSECT MANDIBLE MANDIBLES MONSTER)
(ADJECTIVE GIANT BIG LARGE AWAKE)
(LIFE I-SPIDER)
(ENDURANCE 10)
(EMAX 10)
(STRENGTH 10)
(DEXTERITY 80)
(VALUE 7)
(HABITAT TOWER1-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "lurking in the shadows")
(ACTION SPIDER-F)>
<ROUTINE SPIDER-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " looks alarmingly well-fed. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(T
<RFALSE>)>>
"*** SLUGS ***"
<OBJECT SLUG
(LOC LEVEL2B)
(LAST-LOC LEVEL2B)
(DESC "slug")
(FLAGS NODESC MONSTER LIVING SURFACE SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM SLUG INSECT MONSTER)
(ADJECTIVE AWAKE)
(LIFE I-SLUG)
(ENDURANCE 11)
(EMAX 11)
(STRENGTH 10)
(DEXTERITY 60)
(VALUE 7)
(HABITAT TOWER2-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "squishing across the debris")
(ACTION SLUG-F)>
<ROUTINE SLUG-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER PUT-ON PUT TOUCH-TO>
<TOUCH-SLUG-WITH ,PRSO>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE LOOK-ON>
<TELL CTHEO " is about as long as you are tall. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE TOUCH-SLUG-WITH (OBJ)
<ITALICIZE "Splat">
<TELL "! ">
<COND (<NOT <EQUAL? .OBJ ,CUBE>>
<WINDOW ,SHOWING-ALL>
<MOVE .OBJ ,HERE>
<TELL CTHE .OBJ " slips off " THE ,SLUG
"'s oozing body with no effect." CR>
<RTRUE>)>
<REMOVE ,CUBE>
<VANISH ,SLUG>
<TELL CTHE ,SLUG " emits a shriek of agony as " THE .OBJ
" slides across its body. You leap out of its path of retreat, and listen as its repulsive squeals ">
<PRINT "fade into the distance.|">
<KILL-MONSTER ,SLUG>
<RTRUE>>
"*** DUST BUNNIES ***"
<OBJECT DUST
(LOC LEVEL3B)
(LAST-LOC LEVEL3B)
(DESC "dust bunnies")
(SDESC DESCRIBE-DUST)
(FLAGS MONSTER LIVING)
(SYNONYM BUNNIES BUNNY DUST BUNCH GROUP MONSTER MONSTERS)
(ADJECTIVE DUST AWAKE)
(LIFE I-DUST)
; (ENDURANCE 0)
; (EMAX 0)
; (STRENGTH 0)
; (DEXTERITY 0)
(VALUE 10)
(HABITAT TOWER3-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN DUST-F)
(ACTION DUST-F)>
<ROUTINE DESCRIBE-DUST (OBJ)
<TELL "dust bunny">
<RTRUE>>
<CONSTANT BMAX 10946>
<GLOBAL OBUNNIES:NUMBER 1>
<GLOBAL BUNNIES:NUMBER 1>
<ROUTINE DUST-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<EQUAL? .CONTEXT ,M-OBJDESC>
<COND (<L? ,BUNNIES 5>
<TELL ,XA>
<COND (<EQUAL? ,BUNNIES 1>
<TELL "dust bunny is ">)
(T
<COND (<EQUAL? ,BUNNIES 2>
<TELL "pair">)
(T
<TELL "trio">)>
<TELL " of " 'DUST " are ">)>
<TELL "lurking in " THE ,GCORNER C ,PER>
<RTRUE>)
(<EQUAL? ,BUNNIES 8>
<TELL "Eight">)
(<EQUAL? ,BUNNIES 13>
<TELL "Thirteen">)
(<G? ,BUNNIES ,BMAX>
<TELL "Countless">)
(<G? ,BUNNIES 999>
<TELL N </ ,BUNNIES 1000> C ,COMMA
N <MOD ,BUNNIES 1000>>)
(T
<TELL N ,BUNNIES>)>
<TELL C ,SP 'DUST " hover in the air.">
<RTRUE>)
(<T? .CONTEXT>
<RFALSE>)
(<IS? ,DUST ,TOUCHED>)
(<SET X <TOUCHING?>>
<START-DUST>)>
<COND (<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MOVE ,PRSO ,HERE>
<WINDOW ,SHOWING-ALL>
<TELL CTHEI " easily avoid " THEO ,PERIOD>
<RTRUE>)>
<RFALSE>)
(<VERB? HIT MUNG CUT TOUCH KICK TAKE SHAKE>
<HIT-BUNNIES>
<RTRUE>)
(<VERB? EXAMINE COUNT>
<UNMAKE ,PRSO ,SEEN>
<COND (<EQUAL? ,BUNNIES 1>
<ONLY-ONE>
<RTRUE>)
(<G? ,BUNNIES ,BMAX>
<TELL CTHEO " number in the countless thousands." CR>
<RTRUE>)>
<TELL "A quick count turns up ">
<COND (<G? ,BUNNIES 999>
<TELL N </ ,BUNNIES 1000> C ,COMMA
N <MOD ,BUNNIES 1000>>)
(T
<TELL N ,BUNNIES>)>
<TELL C ,SP 'PRSO ,PERIOD>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE HIT-BUNNIES ()
<WHOOSH>
<COND (<ZERO? ,PRSI>
<SETG PRSI ,HANDS>)>
<YOUR-OBJ>
<TELL " swipes through " THEO ,PTAB>
<COND (<SPARK-TO? ,PRSI ,PRSO>
<RTRUE>)>
<I-DUST <>>
<RFALSE>>
<ROUTINE START-DUST ()
<MAKE ,DUST ,TOUCHED>
<UNMAKE ,DUST ,SEEN>
<QUEUE ,I-DUST>
<RFALSE>>
"*** DORNBEAST ***"
<OBJECT DORN
(LAST-LOC TOWER-TOP)
(DESC "dorn")
(FLAGS NODESC LIVING MONSTER PERSON SURPRISED)
(LIFE I-DORN)
(ENDURANCE 100)
(EMAX 100)
(STRENGTH 25)
(DEXTERITY 33)
(VALUE 20)
(HABITAT DORN-ROOMS)
(SYNONYM DORNBEAST DORN BEAST DORNBROOK MONSTER)
(ADJECTIVE DORN MIKE MICHAEL AWAKE)
(DESCFCN DORN-F)
(ACTION DORN-F)>
<ROUTINE DORN-F ("OPT" (CONTEXT <>))
<COND (<EQUAL? .CONTEXT ,M-OBJDESC>
<TELL CA ,DORN ,SIS>
<COND (<IS? ,DORN ,MUNGED>
<TELL "thrashing about, bawling helplessly.">
<RTRUE>)
(<IS? ,DORN ,SURPRISED>
<TELL "waiting for you.">
<RTRUE>)>
<TELL "sweeping its gaze around the room.">
<RTRUE>)
(<EQUAL? .CONTEXT ,M-WINNER>
<MAKE ,DORN ,SEEN>
<TELL "\"Hurumph.\"" CR>
<RFATAL>)
(<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? TELL>
<SEE-CHARACTER ,PRSO>
<COND (<IS? ,PRSO ,MUNGED>
<TELL CTHE ,DORN " is too busy bawling to respond." CR>
<RFATAL>)
(<T? ,P-CONT>
<SETG WINNER ,PRSO>
<RTRUE>)>
<TELL CTHEO " \"Hurumphs\" expectantly." CR>
<RFATAL>)
(<VERB? EXAMINE>
<COND (<IS? ,PRSO ,MUNGED>
<TELL CTHEO " is bawling like a baby. ">)>
<DIAGNOSE-MONSTER>
<COND (<NOT <IS? ,PRSO ,TOUCHED>>
<MAKE ,PRSO ,TOUCHED>
<TELL ,TAB>
<REFER-TO-PACKAGE>)>
<RTRUE>)
(<VERB? WHAT WHO>
<REFER-TO-PACKAGE>
<RFATAL>)
(T
<RFALSE>)>>
"*** BLOODWORMS ***"
<OBJECT WORM
(LOC WORM-ROOM)
(LAST-LOC WORM-ROOM)
(DESC "bloodworm")
(FLAGS LIVING TRYTAKE SURFACE SURPRISED SLEEPING)
(SDESC DESCRIBE-WORM)
(SYNONYM WORM BLOODWORM ROCK STONE)
(ADJECTIVE BLOOD MOSSY MOSS AWAKE)
(LIFE I-WORM)
(ENDURANCE 20)
(EMAX 20)
(STRENGTH 16)
(DEXTERITY 70)
(VALUE 20)
(HABITAT JUNGLE-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN WORM-F)
(EXIT-STR "slithering through the grass")
(ACTION WORM-F)>
<ROUTINE DESCRIBE-WORM (OBJ)
<TELL "mossy rock">
<RTRUE>>
<ROUTINE WORM-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<COND (<EQUAL? .CONTEXT ,M-OBJDESC>
<COND (<NOT <IS? ,WORM ,MONSTER>>
<TELL "The underbrush almost conceals "
A ,WORM C ,PER>
<RTRUE>)>
<VIEW-MONSTER>
<RTRUE>)>
<RFALSE>)
(<IS? ,WORM ,MONSTER>)
(<OR <VERB? LOOK-UNDER LOOK-BEHIND SEARCH>
<SET X <TOUCHING?>>>
<START-WORM "approach">
<RTRUE>)>
<COND (<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO>
<COND (<IS? ,PRSO ,MONSTER>
<TELL
" no longer looks like a mossy rock. It's equipped with three-foot fangs, and seems eager to plunge one or both of them into your chest. ">
<DIAGNOSE-MONSTER>
<RTRUE>)>
<HELMLOOK>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE HELMLOOK ()
<COND (<WEARING-MAGIC? ,HELM>
<TELL " looks vaguely suspicious." CR>
<RTRUE>)>
<PRINT " seems ordinary enough.|">
<RTRUE>>
<ROUTINE START-WORM (STR "AUX" X)
<MAKE ,WORM ,MONSTER>
<UNMAKE ,WORM ,SLEEPING>
<MAKE ,WORM ,NOALL>
<UNMAKE ,WORM ,SURFACE>
<REPLACE-SYN? ,WORM ,W?ROCK ,W?MONSTER>
<REPLACE-SYN? ,WORM ,W?STONE ,W?ZZZP>
<REPLACE-ADJ? ,WORM ,W?MOSSY ,W?ZZZP>
<REPLACE-ADJ? ,WORM ,W?MOSS ,W?ZZZP>
<QUEUE ,I-WORM>
<WINDOW ,SHOWING-ROOM>
<SETG LAST-MONSTER ,WORM>
<SETG LAST-MONSTER-DIR ,P-WALK-DIR>
<SETG P-IT-OBJECT ,WORM>
<PUTP ,WORM ,P?SDESC ,DESCRIBE-MONSTERS>
<TELL "As you " .STR
" the rock, a three-foot set of fangs leaps ">
<PRINT "out at you, barely missing your throat!|">
<RTRUE>>
"*** CROCS ***"
<OBJECT CROC
(LOC JUN2)
(LAST-LOC JUN2)
(DESC "crocodile")
(FLAGS MONSTER LIVING SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM CROCODILE CROC LIZARD REPTILE MONSTER ALLIGATOR)
(ADJECTIVE AWAKE)
(LIFE I-CROC)
(ENDURANCE 20)
(EMAX 20)
(STRENGTH 16)
(DEXTERITY 80)
(VALUE 20)
(HABITAT JUNGLE-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "stalking through the undergrowth")
(ACTION CROC-F)>
<ROUTINE CROC-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " looks hungry. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(T
<RFALSE>)>>
"*** HOUNDS ***"
<OBJECT HOUND
(LAST-LOC 0)
(DESC "hellhound")
(FLAGS MONSTER LIVING SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM HELLHOUND HOUND HELL DOG MONSTER)
(ADJECTIVE HELL AWAKE)
(LIFE I-HOUND)
(ENDURANCE 40)
(EMAX 40)
(STRENGTH 30)
(DEXTERITY 70)
(VALUE 25)
(HABITAT FOREST-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "prowling between the trees")
(ACTION HOUND-F)>
<ROUTINE HOUND-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " is deciding how best to eat you. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(T
<RFALSE>)>>
"*** PUPPETS ***"
<OBJECT PUPP
(LOC TWILIGHT)
(LAST-LOC TWILIGHT)
(DESC "cruel puppet")
(FLAGS MONSTER LIVING SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM PUPPET MONSTER)
(ADJECTIVE CRUEL AWAKE)
(LIFE I-PUPP)
(ENDURANCE 30)
(EMAX 30)
(STRENGTH 20)
(DEXTERITY 80)
(VALUE 25)
(HABITAT FOREST-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "resting beneath a tree")
(ACTION PUPP-F)>
<ROUTINE PUPP-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " twists its face to look just like you. Eeek! ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(<AND <VERB? LAUGH>
<EQUAL? ,P-PRSA-WORD ,W?INSULT ,W?OFFEND>>
<SET X <GETP ,PRSO ,P?EMAX>>
<COND (<L? <GETP ,PRSO ,P?ENDURANCE> .X>
<PUTP ,PRSO ,P?ENDURANCE .X>)
(<L? .X 32762>
<SET X <+ .X 5>>
<PUTP ,PRSO ,P?EMAX .X>
<PUTP ,PRSO ,P?ENDURANCE .X>)>
<TELL "You instantly regret your words, for " THEO
" grins with renewed vitality. It apparently ">
<ITALICIZE "feeds">
<TELL " off insults like that!" CR>
<RTRUE>)
(T
<RFALSE>)>>
"*** UNDEAD ***"
<OBJECT DEAD
(LAST-LOC 0)
(DESC "undead warrior")
(FLAGS MONSTER LIVING VOWEL SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM WARRIOR SOLDIER MAN FELLOW GUY UNDEAD MONSTER)
(ADJECTIVE UNDEAD AWAKE)
(LIFE I-DEAD)
(ENDURANCE 36)
(EMAX 36)
(STRENGTH 30)
(DEXTERITY 70)
(VALUE 25)
(HABITAT RUIN-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "lurking amid the ruins")
(ACTION DEAD-F)>
<ROUTINE DEAD-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER TOUCH-TO>
<TOUCH-DEAD-WITH ,PRSO>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " shimmers like a wave of heat. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(<VERB? HIT MUNG CUT
RIP CUT OPEN
OPEN-WITH KICK STOUCH-TO>
<TOUCH-DEAD-WITH ,PRSI>
<RTRUE>)
(<SET X <TOUCHING?>>
<TOUCH-DEAD-WITH ,HANDS>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE TOUCH-DEAD-WITH (OBJ)
<COND (<NOT <EQUAL? .OBJ ,VIAL>>
<PASSES-THROUGH .OBJ ,DEAD>
<RTRUE>)>
<VANISH ,VIAL>
<TELL ,YOU-HEAR "a sharp ">
<ITALICIZE "crack">
<TELL " as " THE ,VIAL
" shatters, splashing your target with a shower of droplets that burst into fire on contact! The blasphemous creature opens its jaws in a silent scream as a purifying flame engulfs its ghostly form.|
Moments later, the last few cinders scatter in the breeze." CR>
<KILL-MONSTER ,DEAD>
<RTRUE>>
"*** GHOULS ***"
<OBJECT GHOUL
(LOC RUIN1)
(LAST-LOC RUIN1)
(DESC "ghoul")
(FLAGS MONSTER LIVING SURPRISED)
(SDESC DESCRIBE-MONSTERS)
(SYNONYM GHOUL ROBBER MONSTER)
(ADJECTIVE GRAVE AWAKE)
(LIFE I-GHOUL)
(ENDURANCE 36)
(EMAX 36)
(STRENGTH 30)
(DEXTERITY 70)
(VALUE 25)
(HABITAT RUIN-ROOMS)
(GENERIC GENERIC-MONSTER-F)
(CONTFCN GHOUL-F)
(DESCFCN VIEW-MONSTER)
(EXIT-STR "skulking about the ruins")
(ACTION GHOUL-F)>
<ROUTINE GHOUL-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<COND (<EQUAL? .CONTEXT ,M-CONT>
<COND (<SET X <TOUCHING?>>
<TELL "Laughing insanely, "
THE ,GHOUL " dodges out of reach." CR>
<RTRUE>)>
<RFALSE>)>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<MONSTER-THROW>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " glares back at you. ">
<DIAGNOSE-MONSTER>
<RTRUE>)
(T
<RFALSE>)>>
"*** CORBIES ***"
<OBJECT CORBIES
(LOC LOCAL-GLOBALS)
(DESC "corbies")
(FLAGS NODESC PLURAL LIVING)
(SYNONYM CORBIES CORBIE BIRDS BIRD FLOCK GROUP BUNCH MONSTERS MONSTER)
(ADJECTIVE GIANT)
(ACTION CORBIES-F)>
<ROUTINE CORBIES-F ("AUX" (FEAR 0) X)
<COND (<AND <T? ,BADKEY>
<EQUAL? <LOC ,BADKEY> ,PLAYER ,HERE>>
<INC FEAR>)>
<COND (<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER GIVE FEED SHOW>
<MAKE ,PRSI ,SEEN>
<COND (<NOT <VERB? SHOW>>
<MOVE ,PRSO ,HERE>
<WINDOW ,SHOWING-ALL>)>
<TELL CTHEI>
<COND (<PRSO? BADKEY>
<TELL " screech with fear!" CR>
<RTRUE>)>
<TELL " snatch " THEO
" out of the air, aim carefully and drop it">
<COND (<PROB 50>
<TELL " on your skull. Ouch!" CR>
<UPDATE-STAT <- 0 <GETP ,PRSO ,P?SIZE>>>
<RTRUE>)>
<TELL ", narrowly missing your skull." CR>
<RTRUE>)
(<SET X <TOUCHING?>>
<CORBIES-STAY-AWAY>
<RTRUE>)>
<RFALSE>)
(<SET X <TALKING?>>
<TELL CTHE ,CORBIES " shriek back obscenities." CR>
<RFATAL>)
(<VERB? EXAMINE LOOK-ON>
<TELL "The flock of " 'PRSO " soars overhead in ">
<COND (<T? .FEAR>
<TELL "high, frightened ">)
(T
<TELL "low, menacing ">)>
<TELL "circles." CR>
<COND (<NOT <IS? ,PRSO ,IDENTIFIED>>
<MAKE ,PRSO ,IDENTIFIED>
<TELL ,TAB>
<REFER-TO-PACKAGE>)>
<RTRUE>)
(<VERB? WHAT WHO>
<REFER-TO-PACKAGE>
<RFATAL>)
(<T? .FEAR>)
(<VERB? HIT MUNG CUT KICK>
<UNMAKE ,CORBIES ,SEEN>
<TELL CTHEO " flutter out of your reach." CR>
<RTRUE>)>
<COND (<SET X <TOUCHING?>>
<CORBIES-STAY-AWAY>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE CORBIES-STAY-AWAY ()
<TELL CTHE ,CORBIES>
<COND (<AND <T? ,BADKEY>
<EQUAL? <LOC ,BADKEY> ,PLAYER ,HERE>>
<MAKE ,CORBIES ,SEEN>
<PRINT " seem unwilling to approach you.|">
<RTRUE>)>
<UNMAKE ,CORBIES ,SEEN>
<TELL " easily swoop out of reach." CR>
<RTRUE>>
"*** MONKEY GRINDER ***"
<OBJECT GRINDER
(LAST-LOC AT-GATE)
(DESC "monkey grinder")
(FLAGS NODESC PERSON LIVING MONSTER SURPRISED)
(LIFE I-GRINDER)
(ENDURANCE 100)
(EMAX 100)
(STRENGTH 16)
(DEXTERITY 25)
(VALUE 25)
(HABITAT ACCARDI-ROOMS)
(SYNONYM GRINDER FIGURE MAN FELLOW GUY MONSTER)
(ADJECTIVE MONKEY AWAKE)
(CONTFCN GRINDER-F)
(DESCFCN GRINDER-F)
(ACTION GRINDER-F)>
<ROUTINE GRINDER-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<EQUAL? .CONTEXT ,M-OBJDESC>
<SETG P-HIM-OBJECT ,GRINDER>
<TELL CA ,GRINDER ,SIS>
<COND (<IS? ,GRINDER ,SURPRISED>
<TELL "loafing nearby.">
<RTRUE>)>
<TELL "attacking you with his " 'GURDY "!">
<RTRUE>)
(<EQUAL? .CONTEXT ,M-CONT>
<COND (<SET X <TOUCHING?>>
<TELL CTHE ,GRINDER " slaps your hand away.">
<COND (<PROB 50>
<TELL " \"Touchy, touchy.\"">)>
<CRLF>
<RTRUE>)>
<RFALSE>)
(<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? GIVE GET-FOR>
<GIVE-TO-GRINDER ,PRSO>
<RTRUE>)
(<VERB? SHOW>
<SHOW-TO-GRINDER ,PRSO>
<RTRUE>)>
<RFALSE>)
(<VERB? HELLO WAVE-AT>
<MAKE ,GRINDER ,SEEN>
<TELL "\"Hello, victim.\"" CR>
<RTRUE>)
(<VERB? GOODBYE>
<TELL "\"Heh heh heh.\"" CR>
<RTRUE>)
(<SET X <TALKING?>>
<PERPLEXED ,GRINDER>
<TELL "You babble of ">
<COND (<AND <T? ,PRSI>
<OR <IS? ,PRSI ,LIVING>
<IS? ,PRSI ,MONSTER>>>
<TELL "be">)
(T
<TELL "th">)>
<TELL "ings of no significance to me!\"" CR>
<RFATAL>)
(<VERB? EXAMINE>
<DIAGNOSE-MONSTER>
<COND (<NOT <IS? ,PRSO ,TOUCHED>>
<MAKE ,PRSO ,TOUCHED>
<TELL ,TAB>
<REFER-TO-PACKAGE>)>
<RTRUE>)
(<VERB? HIT MUNG>
<TELL CTHEO " easily avoids ">
<COND (<OR <EQUAL? ,PRSI <> ,HANDS ,FEET>
<NOT <IS? ,PRSI ,NOARTICLE>>>
<TELL "your ">)>
<COND (<OR <VERB? KICK>
<PRSI? FEET>>
<TELL B ,W?FOOT>)
(<EQUAL? ,PRSI <> ,HANDS>
<TELL B ,W?BLOW>)
(T
<TELL D ,PRSI>)>
<PRINT ,PERIOD>
<RTRUE>)
(<VERB? WHAT WHO>
<REFER-TO-PACKAGE>
<RFATAL>)
(T
<RFALSE>)>>