forked from historicalsource/zork1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1dungeon.zil
2662 lines (2381 loc) · 68.4 KB
/
1dungeon.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
"1DUNGEON for
Zork I: The Great Underground Empire
(c) Copyright 1983 Infocom, Inc. All Rights Reserved."
<DIRECTIONS NORTH EAST WEST SOUTH NE NW SE SW UP DOWN IN OUT LAND>
<GLOBAL SCORE-MAX 350>
<GLOBAL FALSE-FLAG <>>
"SUBTITLE OBJECTS"
<OBJECT BOARD
(IN LOCAL-GLOBALS)
(SYNONYM BOARDS BOARD)
(DESC "board")
(FLAGS NDESCBIT)
(ACTION BOARD-F)>
<OBJECT TEETH
(IN GLOBAL-OBJECTS)
(SYNONYM OVERBOARD TEETH)
(DESC "set of teeth")
(FLAGS NDESCBIT)
(ACTION TEETH-F)>
<OBJECT WALL
(IN GLOBAL-OBJECTS)
(SYNONYM WALL WALLS)
(ADJECTIVE SURROUNDING)
(DESC "surrounding wall")>
<OBJECT GRANITE-WALL
(IN GLOBAL-OBJECTS)
(SYNONYM WALL)
(ADJECTIVE GRANITE)
(DESC "granite wall")
(ACTION GRANITE-WALL-F)>
<OBJECT SONGBIRD
(IN LOCAL-GLOBALS)
(SYNONYM BIRD SONGBIRD)
(ADJECTIVE SONG)
(DESC "songbird")
(FLAGS NDESCBIT)
(ACTION SONGBIRD-F)>
<OBJECT WHITE-HOUSE
(IN LOCAL-GLOBALS)
(SYNONYM HOUSE)
(ADJECTIVE WHITE BEAUTI COLONI)
(DESC "white house")
(FLAGS NDESCBIT)
(ACTION WHITE-HOUSE-F)>
<OBJECT FOREST
(IN LOCAL-GLOBALS)
(SYNONYM FOREST TREES PINES HEMLOCKS)
(DESC "forest")
(FLAGS NDESCBIT)
(ACTION FOREST-F)>
<OBJECT TREE
(IN LOCAL-GLOBALS)
(SYNONYM TREE BRANCH)
(ADJECTIVE LARGE STORM ;"-TOSSED")
(DESC "tree")
(FLAGS NDESCBIT CLIMBBIT)>
<OBJECT MOUNTAIN-RANGE
(IN MOUNTAINS)
(DESC "mountain range")
(SYNONYM MOUNTAIN RANGE)
(ADJECTIVE IMPASSABLE FLATHEAD)
(FLAGS NDESCBIT CLIMBBIT)
(ACTION MOUNTAIN-RANGE-F)>
<OBJECT GLOBAL-WATER
(IN LOCAL-GLOBALS)
(SYNONYM WATER QUANTITY)
(DESC "water")
(FLAGS DRINKBIT)
(ACTION WATER-F)>
<OBJECT WATER
(IN BOTTLE)
(SYNONYM WATER QUANTITY LIQUID H2O)
(DESC "quantity of water")
(FLAGS TRYTAKEBIT TAKEBIT DRINKBIT)
(ACTION WATER-F)
(SIZE 4)>
<OBJECT KITCHEN-WINDOW
(IN LOCAL-GLOBALS)
(SYNONYM WINDOW)
(ADJECTIVE KITCHEN SMALL)
(DESC "kitchen window")
(FLAGS DOORBIT NDESCBIT)
(ACTION KITCHEN-WINDOW-F)>
<OBJECT CHIMNEY
(IN LOCAL-GLOBALS)
(SYNONYM CHIMNEY)
(ADJECTIVE DARK NARROW)
(DESC "chimney")
(ACTION CHIMNEY-F)
(FLAGS CLIMBBIT NDESCBIT)>
<OBJECT GHOSTS
(IN ENTRANCE-TO-HADES)
(SYNONYM GHOSTS SPIRITS FIENDS FORCE)
(ADJECTIVE INVISIBLE EVIL)
(DESC "number of ghosts")
(FLAGS ACTORBIT NDESCBIT)
(ACTION GHOSTS-F)>
<OBJECT SKULL
(IN LAND-OF-LIVING-DEAD)
(SYNONYM SKULL HEAD TREASURE)
(ADJECTIVE CRYSTAL)
(DESC "crystal skull")
(FDESC
"Lying in one corner of the room is a beautifully carved crystal skull.
It appears to be grinning at you rather nastily.")
(FLAGS TAKEBIT)
(VALUE 10)
(TVALUE 10)>
<OBJECT LOWERED-BASKET
(IN LOWER-SHAFT)
(SYNONYM CAGE DUMBWAITER BASKET)
(ADJECTIVE LOWERED)
(LDESC "From the chain is suspended a basket.")
(DESC "basket")
(FLAGS TRYTAKEBIT)
(ACTION BASKET-F)>
<OBJECT RAISED-BASKET
(IN SHAFT-ROOM)
(SYNONYM CAGE DUMBWAITER BASKET)
(DESC "basket")
(FLAGS TRANSBIT TRYTAKEBIT CONTBIT OPENBIT)
(ACTION BASKET-F)
(LDESC "At the end of the chain is a basket.")
(CAPACITY 50)>
<OBJECT LUNCH
(IN SANDWICH-BAG)
(SYNONYM FOOD SANDWICH LUNCH DINNER)
(ADJECTIVE HOT PEPPER)
(DESC "lunch")
(FLAGS TAKEBIT FOODBIT)
(LDESC "A hot pepper sandwich is here.")>
<OBJECT BAT
(IN BAT-ROOM)
(SYNONYM BAT VAMPIRE)
(ADJECTIVE VAMPIRE DERANGED)
(DESC "bat")
(FLAGS ACTORBIT TRYTAKEBIT)
(DESCFCN BAT-D)
(ACTION BAT-F)>
<OBJECT BELL
(IN NORTH-TEMPLE)
(SYNONYM BELL)
(ADJECTIVE SMALL BRASS)
(DESC "brass bell")
(FLAGS TAKEBIT)
(ACTION BELL-F)>
<OBJECT HOT-BELL
(SYNONYM BELL)
(ADJECTIVE BRASS HOT RED SMALL)
(DESC "red hot brass bell")
(FLAGS TRYTAKEBIT)
(ACTION HOT-BELL-F)
(LDESC "On the ground is a red hot bell.")>
<OBJECT AXE
(IN TROLL)
(SYNONYM AXE AX)
(ADJECTIVE BLOODY)
(DESC "bloody axe")
(FLAGS WEAPONBIT TRYTAKEBIT TAKEBIT NDESCBIT)
(ACTION AXE-F)
(SIZE 25)>
<OBJECT BOLT
(IN DAM-ROOM)
(SYNONYM BOLT NUT)
(ADJECTIVE METAL LARGE)
(DESC "bolt")
(FLAGS NDESCBIT TURNBIT TRYTAKEBIT)
(ACTION BOLT-F)>
<OBJECT BUBBLE
(IN DAM-ROOM)
(SYNONYM BUBBLE)
(ADJECTIVE SMALL GREEN PLASTIC)
(DESC "green bubble")
(FLAGS NDESCBIT TRYTAKEBIT)
(ACTION BUBBLE-F)>
<OBJECT ALTAR
(IN SOUTH-TEMPLE)
(SYNONYM ALTAR)
(DESC "altar")
(FLAGS NDESCBIT SURFACEBIT CONTBIT OPENBIT)
(CAPACITY 50)>
<OBJECT BOOK
(IN ALTAR)
(SYNONYM BOOK PRAYER PAGE BOOKS)
(ADJECTIVE LARGE BLACK)
(DESC "black book")
(FLAGS READBIT TAKEBIT CONTBIT BURNBIT TURNBIT)
(ACTION BLACK-BOOK)
(FDESC "On the altar is a large black book, open to page 569.")
(SIZE 10)
(TEXT
"Commandment #12592|
|
Oh ye who go about saying unto each: \"Hello sailor\":|
Dost thou know the magnitude of thy sin before the gods?|
Yea, verily, thou shalt be ground between two stones.|
Shall the angry gods cast thy body into the whirlpool?|
Surely, thy eye shall be put out with a sharp stick!|
Even unto the ends of the earth shalt thou wander and|
Unto the land of the dead shalt thou be sent at last.|
Surely thou shalt repent of thy cunning." )>
<OBJECT BROKEN-LAMP
(SYNONYM LAMP LANTERN)
(ADJECTIVE BROKEN)
(DESC "broken lantern")
(FLAGS TAKEBIT)>
<OBJECT SCEPTRE
(IN COFFIN)
(SYNONYM SCEPTRE SCEPTER TREASURE)
(ADJECTIVE SHARP EGYPTIAN ANCIENT ENAMELED)
(DESC "sceptre")
(FLAGS TAKEBIT WEAPONBIT)
(ACTION SCEPTRE-FUNCTION)
(LDESC
"An ornamented sceptre, tapering to a sharp point, is here.")
(FDESC
"A sceptre, possibly that of ancient Egypt itself, is in the coffin. The
sceptre is ornamented with colored enamel, and tapers to a sharp point.")
(SIZE 3)
(VALUE 4)
(TVALUE 6)>
<OBJECT TIMBERS
(IN TIMBER-ROOM)
(SYNONYM TIMBERS PILE)
(ADJECTIVE WOODEN BROKEN)
(DESC "broken timber")
(FLAGS TAKEBIT)
(SIZE 50)>
<OBJECT SLIDE
(IN LOCAL-GLOBALS)
(SYNONYM CHUTE RAMP SLIDE)
(ADJECTIVE STEEP METAL TWISTING)
(DESC "chute")
(FLAGS CLIMBBIT)
(ACTION SLIDE-FUNCTION)>
<OBJECT KITCHEN-TABLE
(IN KITCHEN)
(SYNONYM TABLE)
(ADJECTIVE KITCHEN)
(DESC "kitchen table")
(FLAGS NDESCBIT CONTBIT OPENBIT SURFACEBIT)
(CAPACITY 50)>
<OBJECT ATTIC-TABLE
(IN ATTIC)
(SYNONYM TABLE)
(DESC "table")
(FLAGS NDESCBIT CONTBIT OPENBIT SURFACEBIT)
(CAPACITY 40)>
<OBJECT SANDWICH-BAG
(IN KITCHEN-TABLE)
(SYNONYM BAG SACK)
(ADJECTIVE BROWN ELONGATED SMELLY)
(DESC "brown sack")
(FLAGS TAKEBIT CONTBIT BURNBIT)
(FDESC
"On the table is an elongated brown sack, smelling of hot peppers.")
(CAPACITY 9)
(SIZE 9)
(ACTION SANDWICH-BAG-FCN)>
<OBJECT TOOL-CHEST
(IN MAINTENANCE-ROOM)
(SYNONYM CHEST CHESTS GROUP TOOLCHESTS)
(ADJECTIVE TOOL)
(DESC "group of tool chests")
(FLAGS CONTBIT OPENBIT TRYTAKEBIT SACREDBIT)
(ACTION TOOL-CHEST-FCN)>
<OBJECT YELLOW-BUTTON
(IN MAINTENANCE-ROOM)
(SYNONYM BUTTON SWITCH)
(ADJECTIVE YELLOW)
(DESC "yellow button")
(FLAGS NDESCBIT)
(ACTION BUTTON-F)>
<OBJECT BROWN-BUTTON
(IN MAINTENANCE-ROOM)
(SYNONYM BUTTON SWITCH)
(ADJECTIVE BROWN)
(DESC "brown button")
(FLAGS NDESCBIT)
(ACTION BUTTON-F)>
<OBJECT RED-BUTTON
(IN MAINTENANCE-ROOM)
(SYNONYM BUTTON SWITCH)
(ADJECTIVE RED)
(DESC "red button")
(FLAGS NDESCBIT)
(ACTION BUTTON-F)>
<OBJECT BLUE-BUTTON
(IN MAINTENANCE-ROOM)
(SYNONYM BUTTON SWITCH)
(ADJECTIVE BLUE)
(DESC "blue button")
(FLAGS NDESCBIT)
(ACTION BUTTON-F)>
<OBJECT TROPHY-CASE ;"first obj so L.R. desc looks right."
(IN LIVING-ROOM)
(SYNONYM CASE)
(ADJECTIVE TROPHY)
(DESC "trophy case")
(FLAGS TRANSBIT CONTBIT NDESCBIT TRYTAKEBIT SEARCHBIT)
(ACTION TROPHY-CASE-FCN)
(CAPACITY 10000)>
<OBJECT RUG
(IN LIVING-ROOM)
(SYNONYM RUG CARPET)
(ADJECTIVE LARGE ORIENTAL)
(DESC "carpet")
(FLAGS NDESCBIT TRYTAKEBIT)
(ACTION RUG-FCN)>
<OBJECT CHALICE
(IN TREASURE-ROOM)
(SYNONYM CHALICE CUP SILVER TREASURE)
(ADJECTIVE SILVER ENGRAVINGS) ;"engravings exists..."
(DESC "chalice")
(FLAGS TAKEBIT TRYTAKEBIT CONTBIT)
(ACTION CHALICE-FCN)
(LDESC "There is a silver chalice, intricately engraved, here.")
(CAPACITY 5)
(SIZE 10)
(VALUE 10)
(TVALUE 5)>
<OBJECT GARLIC
(IN SANDWICH-BAG)
(SYNONYM GARLIC CLOVE)
(DESC "clove of garlic")
(FLAGS TAKEBIT FOODBIT)
(ACTION GARLIC-F)
(SIZE 4)>
<OBJECT TRIDENT
(IN ATLANTIS-ROOM)
(SYNONYM TRIDENT FORK TREASURE)
(ADJECTIVE POSEIDON OWN CRYSTAL)
(DESC "crystal trident")
(FLAGS TAKEBIT)
(FDESC "On the shore lies Poseidon's own crystal trident.")
(SIZE 20)
(VALUE 4)
(TVALUE 11)>
<OBJECT CYCLOPS
(IN CYCLOPS-ROOM)
(SYNONYM CYCLOPS MONSTER EYE)
(ADJECTIVE HUNGRY GIANT)
(DESC "cyclops")
(FLAGS ACTORBIT NDESCBIT TRYTAKEBIT)
(ACTION CYCLOPS-FCN)
(STRENGTH 10000)>
<OBJECT DAM
(IN DAM-ROOM)
(SYNONYM DAM GATE GATES FCD\#3)
(DESC "dam")
(FLAGS NDESCBIT TRYTAKEBIT)
(ACTION DAM-FUNCTION)>
<OBJECT TRAP-DOOR
(IN LIVING-ROOM)
(SYNONYM DOOR TRAPDOOR TRAP-DOOR COVER)
(ADJECTIVE TRAP DUSTY)
(DESC "trap door")
(FLAGS DOORBIT NDESCBIT INVISIBLE)
(ACTION TRAP-DOOR-FCN)>
<OBJECT BOARDED-WINDOW
(IN LOCAL-GLOBALS)
(SYNONYM WINDOW)
(ADJECTIVE BOARDED)
(DESC "boarded window")
(FLAGS NDESCBIT)
(ACTION BOARDED-WINDOW-FCN)>
<OBJECT FRONT-DOOR
(IN WEST-OF-HOUSE)
(SYNONYM DOOR)
(ADJECTIVE FRONT BOARDED)
(DESC "door")
(FLAGS DOORBIT NDESCBIT)
(ACTION FRONT-DOOR-FCN)>
<OBJECT BARROW-DOOR
(IN STONE-BARROW)
(SYNONYM DOOR)
(ADJECTIVE HUGE STONE)
(DESC "stone door")
(FLAGS DOORBIT NDESCBIT OPENBIT)
(ACTION BARROW-DOOR-FCN)>
<OBJECT BARROW
(IN STONE-BARROW)
(SYNONYM BARROW TOMB)
(ADJECTIVE MASSIVE STONE)
(DESC "stone barrow")
(FLAGS NDESCBIT)
(ACTION BARROW-FCN)>
<OBJECT BOTTLE
(IN KITCHEN-TABLE)
(SYNONYM BOTTLE CONTAINER)
(ADJECTIVE CLEAR GLASS)
(DESC "glass bottle")
(FLAGS TAKEBIT TRANSBIT CONTBIT)
(ACTION BOTTLE-FUNCTION)
(FDESC "A bottle is sitting on the table.")
(CAPACITY 4)>
<OBJECT CRACK
(IN LOCAL-GLOBALS)
(SYNONYM CRACK)
(ADJECTIVE NARROW)
(DESC "crack")
(FLAGS NDESCBIT)
(ACTION CRACK-FCN)>
<OBJECT COFFIN
(IN EGYPT-ROOM)
(SYNONYM COFFIN CASKET TREASURE)
(ADJECTIVE SOLID GOLD)
(DESC "gold coffin")
(FLAGS TAKEBIT CONTBIT SACREDBIT SEARCHBIT)
(LDESC
"The solid-gold coffin used for the burial of Ramses II is here.")
(CAPACITY 35)
(SIZE 55)
(VALUE 10)
(TVALUE 15)>
<OBJECT GRATE
(IN LOCAL-GLOBALS)
(SYNONYM GRATE GRATING)
(DESC "grating")
(FLAGS DOORBIT NDESCBIT INVISIBLE)
(ACTION GRATE-FUNCTION)>
<OBJECT PUMP
(IN RESERVOIR-NORTH)
(SYNONYM PUMP AIR-PUMP TOOL TOOLS)
(ADJECTIVE SMALL HAND-HELD)
(DESC "hand-held air pump")
(FLAGS TAKEBIT TOOLBIT)>
<OBJECT DIAMOND
(SYNONYM DIAMOND TREASURE)
(ADJECTIVE HUGE ENORMOUS)
(DESC "huge diamond")
(FLAGS TAKEBIT)
(LDESC "There is an enormous diamond (perfectly cut) here.")
(VALUE 10)
(TVALUE 10)>
<OBJECT JADE
(IN BAT-ROOM)
(SYNONYM FIGURINE TREASURE)
(ADJECTIVE EXQUISITE JADE)
(DESC "jade figurine")
(FLAGS TAKEBIT)
(LDESC "There is an exquisite jade figurine here.")
(SIZE 10)
(VALUE 5)
(TVALUE 5)>
<OBJECT KNIFE
(IN ATTIC-TABLE)
(SYNONYM KNIVES KNIFE BLADE)
(ADJECTIVE NASTY UNRUSTY)
(DESC "nasty knife")
(FLAGS TAKEBIT WEAPONBIT TRYTAKEBIT)
(FDESC "On a table is a nasty-looking knife.")
(ACTION KNIFE-F)>
<OBJECT BONES
(IN MAZE-5)
(SYNONYM BONES SKELETON BODY)
(DESC "skeleton")
(FLAGS TRYTAKEBIT NDESCBIT)
(ACTION SKELETON)>
<OBJECT BURNED-OUT-LANTERN
(IN MAZE-5)
(SYNONYM LANTERN LAMP)
(ADJECTIVE RUSTY BURNED DEAD USELESS)
(DESC "burned-out lantern")
(FLAGS TAKEBIT)
(FDESC "The deceased adventurer's useless lantern is here.")
(SIZE 20)>
<OBJECT BAG-OF-COINS
(IN MAZE-5)
(SYNONYM BAG COINS TREASURE)
(ADJECTIVE OLD LEATHER)
(DESC "leather bag of coins")
(FLAGS TAKEBIT)
(LDESC "An old leather bag, bulging with coins, is here.")
(ACTION BAG-OF-COINS-F)
(SIZE 15)
(VALUE 10)
(TVALUE 5)>
<OBJECT LAMP
(IN LIVING-ROOM)
(SYNONYM LAMP LANTERN LIGHT)
(ADJECTIVE BRASS)
(DESC "brass lantern")
(FLAGS TAKEBIT LIGHTBIT)
(ACTION LANTERN)
(FDESC "A battery-powered brass lantern is on the trophy case.")
(LDESC "There is a brass lantern (battery-powered) here.")
(SIZE 15)>
<OBJECT EMERALD
(IN BUOY)
(SYNONYM EMERALD TREASURE)
(ADJECTIVE LARGE)
(DESC "large emerald")
(FLAGS TAKEBIT)
(VALUE 5)
(TVALUE 10)>
<OBJECT ADVERTISEMENT
(IN MAILBOX)
(SYNONYM ADVERTISEMENT LEAFLET BOOKLET MAIL)
(ADJECTIVE SMALL)
(DESC "leaflet")
(FLAGS READBIT TAKEBIT BURNBIT)
(LDESC "A small leaflet is on the ground.")
(TEXT
"\"WELCOME TO ZORK!|
|
ZORK is a game of adventure, danger, and low cunning. In it you
will explore some of the most amazing territory ever seen by mortals.
No computer should be without one!\"")
(SIZE 2)>
<OBJECT LEAK
(IN MAINTENANCE-ROOM)
(SYNONYM LEAK DRIP PIPE)
(DESC "leak")
(FLAGS NDESCBIT INVISIBLE)
(ACTION LEAK-FUNCTION)>
<OBJECT MACHINE
(IN MACHINE-ROOM)
(SYNONYM MACHINE PDP10 DRYER LID)
(DESC "machine")
(FLAGS CONTBIT NDESCBIT TRYTAKEBIT)
(ACTION MACHINE-F)
(CAPACITY 50)>
<OBJECT INFLATED-BOAT
(SYNONYM BOAT RAFT)
(ADJECTIVE INFLAT MAGIC PLASTIC SEAWORTHY)
(DESC "magic boat")
(FLAGS TAKEBIT BURNBIT VEHBIT OPENBIT SEARCHBIT)
(ACTION RBOAT-FUNCTION)
(CAPACITY 100)
(SIZE 20)
(VTYPE NONLANDBIT)>
<OBJECT MAILBOX
(IN WEST-OF-HOUSE)
(SYNONYM MAILBOX BOX)
(ADJECTIVE SMALL)
(DESC "small mailbox")
(FLAGS CONTBIT TRYTAKEBIT)
(CAPACITY 10)
(ACTION MAILBOX-F)>
<OBJECT MATCH
(IN DAM-LOBBY)
(SYNONYM MATCH MATCHES MATCHBOOK)
(ADJECTIVE MATCH)
(DESC "matchbook")
(FLAGS READBIT TAKEBIT)
(ACTION MATCH-FUNCTION)
(LDESC
"There is a matchbook whose cover says \"Visit Beautiful FCD#3\" here.")
(SIZE 2)
(TEXT
"|
(Close cover before striking)|
|
YOU too can make BIG MONEY in the exciting field of PAPER SHUFFLING!|
|
Mr. Anderson of Muddle, Mass. says: \"Before I took this course I
was a lowly bit twiddler. Now with what I learned at GUE Tech
I feel really important and can obfuscate and confuse with the best.\"|
|
Dr. Blank had this to say: \"Ten short days ago all I could look
forward to was a dead-end job as a doctor. Now I have a promising
future and make really big Zorkmids.\"|
|
GUE Tech can't promise these fantastic results to everyone. But when
you earn your degree from GUE Tech, your future will be brighter." )>
<OBJECT MIRROR-2
(IN MIRROR-ROOM-2)
(SYNONYM REFLECTION MIRROR ENORMOUS)
(DESC "mirror")
(FLAGS TRYTAKEBIT NDESCBIT)
(ACTION MIRROR-MIRROR)>
<OBJECT MIRROR-1
(IN MIRROR-ROOM-1)
(SYNONYM REFLECTION MIRROR ENORMOUS)
(DESC "mirror")
(FLAGS TRYTAKEBIT NDESCBIT)
(ACTION MIRROR-MIRROR)>
<OBJECT PAINTING
(IN GALLERY)
(SYNONYM PAINTING ART CANVAS TREASURE)
(ADJECTIVE BEAUTI)
(DESC "painting")
(FLAGS TAKEBIT BURNBIT)
(ACTION PAINTING-FCN)
(FDESC
"Fortunately, there is still one chance for you to be a vandal, for on
the far wall is a painting of unparalleled beauty.")
(LDESC "A painting by a neglected genius is here.")
(SIZE 15)
(VALUE 4)
(TVALUE 6)>
<OBJECT CANDLES
(IN SOUTH-TEMPLE)
(SYNONYM CANDLES PAIR)
(ADJECTIVE BURNING)
(DESC "pair of candles")
(FLAGS TAKEBIT FLAMEBIT ONBIT LIGHTBIT)
(ACTION CANDLES-FCN)
(FDESC "On the two ends of the altar are burning candles.")
(SIZE 10)>
<OBJECT GUNK
(SYNONYM GUNK PIECE SLAG)
(ADJECTIVE SMALL VITREOUS)
(DESC "small piece of vitreous slag")
(FLAGS TAKEBIT TRYTAKEBIT)
(ACTION GUNK-FUNCTION)
(SIZE 10)>
<OBJECT BODIES
(IN LOCAL-GLOBALS)
(SYNONYM BODIES BODY REMAINS PILE)
(ADJECTIVE MANGLED)
(DESC "pile of bodies")
(FLAGS NDESCBIT TRYTAKEBIT)
(ACTION BODY-FUNCTION)>
<OBJECT LEAVES
(IN GRATING-CLEARING)
(SYNONYM LEAVES LEAF PILE)
(DESC "pile of leaves")
(FLAGS TAKEBIT BURNBIT TRYTAKEBIT)
(ACTION LEAF-PILE)
(LDESC "On the ground is a pile of leaves.")
(SIZE 25)>
<OBJECT PUNCTURED-BOAT
(SYNONYM BOAT PILE PLASTIC)
(ADJECTIVE PLASTIC PUNCTURE LARGE)
(DESC "punctured boat")
(FLAGS TAKEBIT BURNBIT)
(ACTION DBOAT-FUNCTION)
(SIZE 20)>
<OBJECT INFLATABLE-BOAT
(IN DAM-BASE)
(SYNONYM BOAT PILE PLASTIC VALVE)
(ADJECTIVE PLASTIC INFLAT)
(DESC "pile of plastic")
(FLAGS TAKEBIT BURNBIT)
(ACTION IBOAT-FUNCTION)
(LDESC
"There is a folded pile of plastic here which has a small valve
attached.")
(SIZE 20)>
<OBJECT BAR
(IN LOUD-ROOM)
(SYNONYM BAR PLATINUM TREASURE)
(ADJECTIVE PLATINUM LARGE)
(DESC "platinum bar")
(FLAGS TAKEBIT SACREDBIT)
(LDESC "On the ground is a large platinum bar.")
(SIZE 20)
(VALUE 10)
(TVALUE 5)>
<OBJECT POT-OF-GOLD
(IN END-OF-RAINBOW)
(SYNONYM POT GOLD TREASURE)
(ADJECTIVE GOLD)
(DESC "pot of gold")
(FLAGS TAKEBIT INVISIBLE)
(FDESC "At the end of the rainbow is a pot of gold.")
(SIZE 15)
(VALUE 10)
(TVALUE 10)>
<OBJECT PRAYER
(IN NORTH-TEMPLE)
(SYNONYM PRAYER INSCRIPTION)
(ADJECTIVE ANCIENT OLD)
(DESC "prayer")
(FLAGS READBIT SACREDBIT NDESCBIT)
(TEXT
"The prayer is inscribed in an ancient script, rarely used today. It seems
to be a philippic against small insects, absent-mindedness, and the picking
up and dropping of small objects. The final verse consigns trespassers to
the land of the dead. All evidence indicates that the beliefs of the ancient
Zorkers were obscure." )>
<OBJECT RAILING
(IN DOME-ROOM)
(SYNONYM RAILING RAIL)
(ADJECTIVE WOODEN)
(DESC "wooden railing")
(FLAGS NDESCBIT)>
<OBJECT RAINBOW
(IN LOCAL-GLOBALS)
(SYNONYM RAINBOW)
(DESC "rainbow")
(FLAGS NDESCBIT CLIMBBIT)
(ACTION RAINBOW-FCN)>
<OBJECT RIVER
(IN LOCAL-GLOBALS)
(DESC "river")
(SYNONYM RIVER)
(ADJECTIVE FRIGID)
(ACTION RIVER-FUNCTION)
(FLAGS NDESCBIT)>
<OBJECT BUOY
(IN RIVER-4)
(SYNONYM BUOY)
(ADJECTIVE RED)
(DESC "red buoy")
(FLAGS TAKEBIT CONTBIT)
(FDESC "There is a red buoy here (probably a warning).")
(CAPACITY 20)
(SIZE 10)
(ACTION TREASURE-INSIDE)>
<ROUTINE TREASURE-INSIDE ()
<COND (<VERB? OPEN>
<SCORE-OBJ ,EMERALD>
<RFALSE>)>>
<OBJECT ROPE
(IN ATTIC)
(SYNONYM ROPE HEMP COIL)
(ADJECTIVE LARGE)
(DESC "rope")
(FLAGS TAKEBIT SACREDBIT TRYTAKEBIT)
(ACTION ROPE-FUNCTION)
(FDESC "A large coil of rope is lying in the corner.")
(SIZE 10)>
<OBJECT RUSTY-KNIFE
(IN MAZE-5)
(SYNONYM KNIVES KNIFE)
(ADJECTIVE RUSTY)
(DESC "rusty knife")
(FLAGS TAKEBIT TRYTAKEBIT WEAPONBIT TOOLBIT)
(ACTION RUSTY-KNIFE-FCN)
(FDESC "Beside the skeleton is a rusty knife.")
(SIZE 20)>
<OBJECT SAND
(IN SANDY-CAVE)
(SYNONYM SAND)
(DESC "sand")
(FLAGS NDESCBIT)
(ACTION SAND-FUNCTION)>
<OBJECT BRACELET
(IN GAS-ROOM)
(SYNONYM BRACELET JEWEL SAPPHIRE TREASURE)
(ADJECTIVE SAPPHIRE)
(DESC "sapphire-encrusted bracelet")
(FLAGS TAKEBIT)
(SIZE 10)
(VALUE 5)
(TVALUE 5)>
<OBJECT SCREWDRIVER
(IN MAINTENANCE-ROOM)
(SYNONYM SCREWDRIVER TOOL TOOLS DRIVER)
(ADJECTIVE SCREW)
(DESC "screwdriver")
(FLAGS TAKEBIT TOOLBIT)>
<OBJECT KEYS
(IN MAZE-5)
(SYNONYM KEY)
(ADJECTIVE SKELETON)
(DESC "skeleton key")
(FLAGS TAKEBIT TOOLBIT)
(SIZE 10)>
<OBJECT SHOVEL
(IN SANDY-BEACH)
(SYNONYM SHOVEL TOOL TOOLS)
(DESC "shovel")
(FLAGS TAKEBIT TOOLBIT)
(SIZE 15)>
<OBJECT COAL
(IN DEAD-END-5)
(SYNONYM COAL PILE HEAP)
(ADJECTIVE SMALL)
(DESC "small pile of coal")
(FLAGS TAKEBIT BURNBIT)
(SIZE 20)>
<OBJECT LADDER
(IN LOCAL-GLOBALS)
(SYNONYM LADDER)
(ADJECTIVE WOODEN RICKETY NARROW)
(DESC "wooden ladder")
(FLAGS NDESCBIT CLIMBBIT)>
<OBJECT SCARAB
(IN SANDY-CAVE)
(SYNONYM SCARAB BUG BEETLE TREASURE)
(ADJECTIVE BEAUTI CARVED JEWELED)
(DESC "beautiful jeweled scarab")
(FLAGS TAKEBIT INVISIBLE)
(SIZE 8)
(VALUE 5)
(TVALUE 5)>
<OBJECT LARGE-BAG
(IN THIEF)
(SYNONYM BAG)
(ADJECTIVE LARGE THIEFS)
(DESC "large bag")
(ACTION LARGE-BAG-F)
(FLAGS TRYTAKEBIT NDESCBIT)>
<OBJECT STILETTO
(IN THIEF)
(SYNONYM STILETTO)
(ADJECTIVE VICIOUS)
(DESC "stiletto")
(ACTION STILETTO-FUNCTION)
(FLAGS WEAPONBIT TRYTAKEBIT TAKEBIT NDESCBIT)
(SIZE 10)>
<OBJECT MACHINE-SWITCH
(IN MACHINE-ROOM)
(SYNONYM SWITCH)
(DESC "switch")
(FLAGS NDESCBIT TURNBIT)
(ACTION MSWITCH-FUNCTION)>
<OBJECT WOODEN-DOOR
(IN LIVING-ROOM)
(SYNONYM DOOR LETTERING WRITING)
(ADJECTIVE WOODEN GOTHIC STRANGE WEST)
(DESC "wooden door")
(FLAGS READBIT DOORBIT NDESCBIT TRANSBIT)
(ACTION FRONT-DOOR-FCN)
(TEXT
"The engravings translate to \"This space intentionally left blank.\"")>
<OBJECT SWORD
(IN LIVING-ROOM)
(SYNONYM SWORD ORCRIST GLAMDRING BLADE)
(ADJECTIVE ELVISH OLD ANTIQUE)
(DESC "sword")
(FLAGS TAKEBIT WEAPONBIT TRYTAKEBIT)
(ACTION SWORD-FCN)
(FDESC
"Above the trophy case hangs an elvish sword of great antiquity.")
(SIZE 30)
(TVALUE 0)>
<OBJECT MAP
(IN TROPHY-CASE)
(SYNONYM PARCHMENT MAP)
(ADJECTIVE ANTIQUE OLD ANCIENT)
(DESC "ancient map")
(FLAGS INVISIBLE READBIT TAKEBIT)
(FDESC
"In the trophy case is an ancient parchment which appears to be a map.")
(SIZE 2)
(TEXT
"The map shows a forest with three clearings. The largest clearing contains
a house. Three paths leave the large clearing. One of these paths, leading
southwest, is marked \"To Stone Barrow\".")>
<OBJECT BOAT-LABEL
(IN INFLATED-BOAT)
(SYNONYM LABEL FINEPRINT PRINT)
(ADJECTIVE TAN FINE)
(DESC "tan label")
(FLAGS READBIT TAKEBIT BURNBIT)
(SIZE 2)
(TEXT
" !!!!FROBOZZ MAGIC BOAT COMPANY!!!!|
|
Hello, Sailor!|
|
Instructions for use:|
|
To get into a body of water, say \"Launch\".|
To get to shore, say \"Land\" or the direction in which you want
to maneuver the boat.|
|
Warranty:|
|
This boat is guaranteed against all defects for a period of 76
milliseconds from date of purchase or until first used, whichever comes first.|
|
Warning:|
This boat is made of thin plastic.|
Good Luck!" )>
<OBJECT THIEF
(IN ROUND-ROOM)
(SYNONYM THIEF ROBBER MAN PERSON)
(ADJECTIVE SHADY SUSPICIOUS SEEDY)
(DESC "thief")
(FLAGS ACTORBIT INVISIBLE CONTBIT OPENBIT TRYTAKEBIT)
(ACTION ROBBER-FUNCTION)
(LDESC
"There is a suspicious-looking individual, holding a large bag, leaning
against one wall. He is armed with a deadly stiletto.")
(STRENGTH 5)>
<OBJECT PEDESTAL
(IN TORCH-ROOM)
(SYNONYM PEDESTAL)
(ADJECTIVE WHITE MARBLE)
(DESC "pedestal")
(FLAGS NDESCBIT CONTBIT OPENBIT SURFACEBIT)
(ACTION DUMB-CONTAINER)
(CAPACITY 30)>
<OBJECT TORCH
(IN PEDESTAL)
(SYNONYM TORCH IVORY TREASURE)
(ADJECTIVE FLAMING IVORY)
(DESC "torch")
(FLAGS TAKEBIT FLAMEBIT ONBIT LIGHTBIT)
(ACTION TORCH-OBJECT)
(FDESC "Sitting on the pedestal is a flaming torch, made of ivory.")
(SIZE 20)
(VALUE 14)
(TVALUE 6)>