-
Notifications
You must be signed in to change notification settings - Fork 23
/
things.zil
18621 lines (17319 loc) · 443 KB
/
things.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
"THINGS for TR: (C)1986 Infocom, Inc. All rights reserved."
<OBJECT GTRINITY
(LOC GLOBAL-OBJECTS)
(DESC "Trinity")
(SYNONYM TRINITY SITE GAME STORY)
(ADJECTIVE TRINITY)
(FLAGS NODESC NOARTICLE)
(ACTION GTRINITY-F)>
<ROUTINE GTRINITY-F ()
<COND (<VERB? PLAY READ>
<ALREADY-DOING-THAT>
<RTRUE>)
(<VERB? EXAMINE>
<V-LOOK>
<RTRUE>)
(T
<USELESS>
<RFATAL>)>>
<OBJECT LONDON
(LOC LOCAL-GLOBALS)
(DESC "London")
(FLAGS NODESC NOARTICLE)
(SYNONYM LONDON CITY)
(GENERIC GENERIC-LONDON-F)
(ACTION LONDON-F)>
<OBJECT LCITY
(LOC LOCAL-GLOBALS)
(DESC "city")
(FLAGS NODESC)
(SYNONYM CITY)
(GENERIC GENERIC-LONDON-F)
(ACTION LONDON-F)>
<ROUTINE GENERIC-LONDON-F (TBL)
<RETURN ,LCITY>>
<ROUTINE LONDON-F ()
<COND (<VERB? EXAMINE LOOK-INSIDE WATCH LOOK SEARCH LOOK-ON>
<TELL "You're sick of looking at " THEO ,PERIOD>
<RTRUE>)
(<VERB? LOOK-BEHIND LOOK-UNDER LOOK-OUTSIDE>
<CANT-SEE-MUCH>
<RTRUE>)
(<HERE-F>
<RTRUE>)>>
<OBJECT PATH
(LOC GLOBAL-OBJECTS)
(DESC "path")
(FLAGS NODESC TRYTAKE NOALL)
(SYNONYM PATH PATHS ROAD ROADS TRAIL TRAILS FOOTPATH FOOTPATHS)
(GENERIC GENERIC-WALK-F)
(ACTION PATH-F)>
<ROUTINE PATH-F ()
<COND (<IS? ,HERE ,INDOORS>
<V-WALK-AROUND>
<RFATAL>)
(<VERB? LOOK-DOWN LOOK-UP LOOK-BEHIND LOOK-OUTSIDE>
<CANT-SEE-MUCH>
<RTRUE>)
(<VERB? EXAMINE LOOK-ON SEARCH COUNT>
<V-LOOK>
<RTRUE>)
(<OR <ENTERING?>
<EXITING?>
<VERB? FOLLOW CROSS STAND-ON CLIMB-OVER CLIMB-UP
CLIMB-DOWN TAKE USE RIDE>>
<V-WALK-AROUND>
<RTRUE>)
(<INTBL? ,PRSA ,PUTVERBS ,NUMPUTS>
<PERFORM ,V?DROP ,PRSO>
<RTRUE>)>>
<OBJECT METEOR
(LOC GLOBAL-OBJECTS)
(DESC "meteor")
(FLAGS NODESC NOALL)
(SYNONYM METEOR)
(ACTION METEOR-F)>
"SEEN = gone, NOALL = delay flag for I-METEOR."
<ROUTINE METEOR-F ()
<COND (<IS? ,METEOR ,NOALL>
<CANT-SEE-ANY>
<RFATAL>)
(<IS? ,METEOR ,SEEN>
<TELL ,CANT "see it anymore." CR>
<RFATAL>)
(<VERB? EXAMINE WATCH WALK-TO FOLLOW FIND>
<TELL CTHEO " is moving northeast." CR>
<RTRUE>)
(<INTBL? ,PRSA ,TOUCHVERBS ,NTOUCHES>
<CANT-FROM-HERE>
<RTRUE>)>>
<OBJECT SKY
(LOC GLOBAL-OBJECTS)
(DESC "sky")
(FLAGS NODESC)
(SYNONYM SKY CLOUD CLOUDS AIR ATMOSPHERE)
(ACTION SKY-F)>
<ROUTINE SKY-F ()
<COND (<IS? ,HERE ,INDOORS>
<CANT-SEE-FROM-HERE ,SKY>
<RFATAL>)
(<HERE? IN-ORBIT ON-SAT>
<COND (<STARS-F>
<RTRUE>)>
<RFALSE>)>
<COND (<VERB? EXAMINE LOOK-INSIDE SEARCH>
<COND (<IN? ,METEOR ,GLOBAL-OBJECTS>
<PERFORM ,V?EXAMINE ,METEOR>)
(T
<TELL CTHE ,SKY " is ">
<COND (<IS? ,HERE ,CHILLY>
<TELL "gray and overcast." CR>)
(<OR <IS? ,HERE ,DESERT>
<HERE? IN-JEEP>>
<TELL "dark, with scattered clouds." CR>)
(T
<TELL "bright with sunshine." CR>)>)>
<RTRUE>)
(<OR <INTBL? ,PRSA ,TOUCHVERBS ,NTOUCHES>
<ENTERING?>>
<IMPOSSIBLE>
<RTRUE>)>>
<OBJECT BREEZE
(LOC GLOBAL-OBJECTS)
(DESC "breeze")
(FLAGS NODESC)
(SYNONYM BREEZE WIND GUST)
(ACTION BREEZE-F)>
<ROUTINE BREEZE-F ()
<COND (<IS? ,HERE ,INDOORS>
<TELL ,DONT "feel any" ,AT-MOMENT CR>
<RFATAL>)
(<INTBL? ,PRSA ,SEEVERBS ,NSVERBS>
<TELL "It's transparent." CR>
<RTRUE>)
(<VERB? TOUCH REACH-IN LISTEN>
<TELL "It whi">
<COND (<HERE? IN-SKY ON-BIRD>
<TELL "ps past">)
(T
<TELL "spers in">)>
<TELL " your ears." CR>
<RTRUE>)
(<OR <ENTERING?>
<EXITING?>>
<V-WALK-AROUND>
<RTRUE>)
(<VERB? SMELL INHALE>
<PERFORM ,V?SMELL ,ROOMS>
<RTRUE>)>
<YOU-DONT-NEED ,BREEZE>
<RFATAL>>
<OBJECT HORIZON
(LOC GLOBAL-OBJECTS)
(DESC "horizon")
(FLAGS NODESC)
(SYNONYM HORIZON DISTANCE)
(ACTION HORIZON-F)>
<ROUTINE HORIZON-F ()
<COND (<IS? ,HERE ,INDOORS>
<TELL ,CANT "see that from here." CR>
<RFATAL>)
(<VERB? EXAMINE LOOK-ON SEARCH LOOK-INSIDE WATCH>
<CANT-SEE-MUCH>
<RTRUE>)
(<OR <ENTERING?>
<EXITING?>>
<V-WALK-AROUND>
<RTRUE>)
(<INTBL? ,PRSA ,TOUCHVERBS ,NTOUCHES>
<CANT-FROM-HERE>
<RTRUE>)>>
<OBJECT SUN
(LOC GLOBAL-OBJECTS)
(DESC "sun")
(FLAGS NODESC)
(SYNONYM SUN SUNSHINE SUNLIGHT)
(ACTION SUN-F)>
"TOUCHED = sunset seen."
<ROUTINE SUN-F ()
<COND (<IS? ,HERE ,INDOORS>
<CANT-SEE-FROM-HERE ,SUN>
<RFATAL>)
(<VERB? EXAMINE LOOK-INSIDE>
<TELL CTHE ,SUN>
<COND (<IS? ,HERE ,SHADOWY>
<TELL " broods silently in the "
<GET ,SHDIRS 2> "ern sky." CR>
<RTRUE>)
(<OR <IS? ,HERE ,DESERT>
<HERE? NSAND WSAND ESAND SSAND AT-SDOORS
IN-ORBIT ON-SAT IN-SHACK TOWER-PLAT
ON-TOWER ON-CIST IN-CIST IN-MILL>>
<TELL " is still below the " D ,HORIZON ,PERIOD>
<RTRUE>)
(<IS? ,HERE ,CHILLY>
<TELL " is hidden by the overcast." CR>
<RTRUE>)
(T
<TELL " is warm and bright." CR>)>
<RTRUE>)
(<AND <VERB? TOUCH>
<EQUAL? ,P-PRSA-WORD ,W?FEEL>>
<TELL "It feels warm." CR>
<RTRUE>)
(<OR <INTBL? ,PRSA ,TOUCHVERBS ,NTOUCHES>
<ENTERING?>>
<IMPOSSIBLE>
<RTRUE>)>>
<OBJECT GARDENS
(LOC LOCAL-GLOBALS)
(DESC "Kensington Gardens")
(FLAGS NODESC NOARTICLE)
(SYNONYM GARDEN GARDENS KENSINGTON)
(ADJECTIVE KENSINGTON)
(ACTION GARDENS-F)>
<ROUTINE GARDENS-F ()
<COND (<VERB? EXAMINE LOOK-INSIDE SEARCH LOOK>
<V-LOOK>
<RTRUE>)
(<ENTERING?>
<ALREADY-IN>
<RTRUE>)
(<EXITING?>
<COND (<HERE? LION-GATE LAN-GATE PAL-GATE AT-TERRACE>
<DO-WALK ,P?OUT>
<RTRUE>)>
<V-WALK-AROUND>
<RTRUE>)>>
<OBJECT WRISTWATCH
(LOC PLAYER)
(DESC "wristwatch")
(SYNONYM WRISTWATCH WATCH CLOCK TIME)
(ADJECTIVE WRIST MY ELECTRONIC DIGITAL)
(FLAGS TAKEABLE CLOTHING WORN CHILLY)
(SIZE 1)
(VALUE 0)
(MASS 1)
(GENERIC GENERIC-CLOCK-F)
(ACTION WRISTWATCH-F)>
<ROUTINE WRISTWATCH-F ()
<COND (<THIS-PRSI?>
<COND (<INTBL? ,PRSA ,PUTVERBS ,NUMPUTS>
<PRSO-SLIDES-OFF-PRSI>
<RTRUE>)>
<RFALSE>)
(<VERB? READ LOOK-ON EXAMINE USE>
<TELL "Your " D ,WRISTWATCH>
<COND (<IS? ,HERE ,SHADOWY>
<TELL "'s digits are flashing randomly." CR>
<RTRUE>)>
<TELL-TIME>
<COND (<T? ,FREEZE?>
<TELL CR
"(That's odd. The \"seconds\" display has stopped working.)" CR>)>
<RTRUE>)
(<VERB? OPEN OPEN-WITH ADJUST>
<FORGOT-HOW>
<RTRUE>)
(<VERB? TURN-TO TUNE-TO>
<COND (<PRSI? INTNUM INTDIR>
<FORGOT-HOW>
<RTRUE>)>
<IMPOSSIBLE>
<RTRUE>)
(<VERB? CLOSE>
<ITS-ALREADY "closed">
<RTRUE>)>>
<ROUTINE FORGOT-HOW ()
<TELL "You forgot how to operate your electronic " D ,PRSO
" long ago." CR>
<RTRUE>>
<OBJECT COIN
(LOC POCKET)
(DESC "seven-sided coin")
(FLAGS TAKEABLE)
(SIZE 0)
(MASS 0)
(VALUE 0)
(SYNONYM COIN P PENCE MONEY)
(ADJECTIVE MY SEVEN SIDED SEVEN\-SIDED THIRTY FIFTY)
(ACTION COIN-F)>
<ROUTINE COIN-F ()
<COND (<ADJ-USED? ,W?THIRTY>
<TELL CTHE ,COIN " is worth fifty pence, not thirty." CR>
<RFATAL>)
(<HANDLE-COIN? "fifty">
<RTRUE>)>>
<ROUTINE HANDLE-COIN? ("OPTIONAL" (STR <>))
<COND (<AND <T? .STR>
<VERB? EXAMINE LOOK-ON READ>>
<TELL "It's standard British currency, worth " .STR " pence">
<COND (<IS? ,PRSO ,FLIPPED>
<TELL
". This one seems to have been minted backwards">)>
<PRINT ,PERIOD>
<RTRUE>)
(<AND <VERB? TURN>
<EQUAL? ,PRSI <> ,HANDS>
<EQUAL? ,P-PRSA-WORD ,W?FLIP>>
<COND (<DONT-HAVE? ,PRSO>
<RTRUE>)
(<PROB 50>
<TELL "Heads." CR>
<RTRUE>)>
<TELL "Tails." CR>
<RTRUE>)>>
<OBJECT SCOIN
(DESC "small coin")
(FLAGS TAKEABLE)
(SIZE 0)
(MASS 0)
(VALUE 0)
(SYNONYM COIN P PENCE MONEY CHANGE)
(ADJECTIVE MY SMALL TINY TWENTY)
(ACTION SCOIN-F)>
<ROUTINE SCOIN-F ()
<COND (<THIS-PRSI?>
<RFALSE>)
(<AND <VERB? TAKE>
<NOT <IS? ,SCOIN ,TOUCHED>>>
<SETG LAYAWAY 3>
<RFALSE>)
(<HANDLE-COIN? "twenty">
<RTRUE>)>>
<OBJECT CREDIT-CARD
(LOC POCKET)
(DESC "credit card")
(FLAGS TAKEABLE)
(SIZE 0)
(MASS 0)
(VALUE 0)
(SYNONYM CARD CODES)
(ADJECTIVE MY CREDIT CHARGE)
(ACTION CREDIT-CARD-F)>
<ROUTINE CREDIT-CARD-F ()
<COND (<VERB? EXAMINE LOOK-ON READ>
<TELL CTHEO " is embossed ">
<COND (<IS? ,PRSO ,FLIPPED>
<TELL "(backwards) ">)>
<TELL "with the usual codes. It expires tomorrow." CR>)>>
<OBJECT PIGEONS
(LOC LOCAL-GLOBALS)
(DESC "pigeons")
(FLAGS NODESC PLURAL TRYTAKE LIVING)
(SYNONYM PIGEONS PIGEON BIRDS BIRD WINGS)
(ADJECTIVE STARVING HUNGRY)
(GENERIC GENERIC-BIRD-F)
(ACTION PIGEONS-F)>
<ROUTINE PIGEONS-F ()
<COND (<VERB? EXAMINE WATCH>
<TELL CTHEO " stare back at you hungrily." CR>
<RTRUE>)
(<FEED-THE-BIRDS?>
<RTRUE>)
(<VERB? LISTEN>
<TELL CTHEO " coo incessantly." CR>
<RTRUE>)
(<INTBL? ,PRSA ,TALKVERBS ,NTVERBS>
<TELL CTHE ,PIGEONS " coo in reply." CR>
<RFATAL>)
(<OR <INTBL? ,PRSA ,TOUCHVERBS ,NTOUCHES>
<ENTERING?>>
<TELL CTHE ,PIGEONS " deftly avoid you." CR>
<RTRUE>)>>
<ROUTINE FEED-THE-BIRDS? ()
<COND (<THIS-PRSO?>
<RFALSE>)
(<VERB? GIVE FEED>
<COND (<PRSO? BAG>
<TAKE-CRUMBS>
<RTRUE>)
(T
<NOT-LIKELY ,PRSI
"would be impressed by your offer">)>
<RTRUE>)
(<AND <VERB? THROW THROW-OVER>
<PRSO? BAG>
<T? ,CCNT>>
<TAKE-CRUMBS>
<RTRUE>)
(<VERB? SHOW>
<TELL CTHEI>
<COND (<PRSO? BAG>
<COND (<PRSI? PIGEONS>
<TELL " strut">)
(T
<TELL " swim">)>
<TELL " about excitedly at the sight of ">)
(T
<TELL " don't seem to care about ">)>
<TELL THEO ,PERIOD>
<RTRUE>)>>
<OBJECT FLWALK
(LOC GLOBAL-OBJECTS)
(DESC "Flower Walk")
(FLAGS NODESC)
(SYNONYM WALK PATH)
(ADJECTIVE FLOWER)
(GENERIC GENERIC-WALK-F)
(ACTION FLWALK-F)>
<ROUTINE FLWALK-F ()
<COND (<NOT <HERE? PAL-GATE FLOWER-WALK>>
<CANT-SEE-ANY>
<RFATAL>)
(<HANDLE-PLACE? ,FLOWER-WALK <> <> <> ,PAL-GATE>
<RTRUE>)>>
<OBJECT PGATE
(LOC GLOBAL-OBJECTS)
(DESC "Palace Gate")
(FLAGS NODESC)
(SYNONYM GATE)
(ADJECTIVE PALACE)
(GENERIC GENERIC-GATE-F)
(ACTION PGATE-F)>
<ROUTINE PGATE-F ()
<COND (<NOT <HERE? PAL-GATE>>
<CANT-SEE-ANY>
<RFATAL>)
(<HANDLE-GATES?>
<RTRUE>)>>
<OBJECT BLGATE
(LOC GLOBAL-OBJECTS)
(DESC "Black Lion Gate")
(FLAGS NODESC)
(SYNONYM GATE)
(ADJECTIVE BLACK LION)
(GENERIC GENERIC-GATE-F)
(ACTION BLGATE-F)>
<ROUTINE GENERIC-GATE-F (TBL)
<COND (<EQUAL? ,P-IT-OBJECT ,BLGATE ,PGATE ,LGATE>
<RETURN ,P-IT-OBJECT>)
(<HERE? LION-GATE>
<RETURN ,BLGATE>)
(<HERE? PAL-GATE>
<RETURN ,PGATE>)
(<HERE? LAN-GATE>
<RETURN ,LGATE>)
(T
<CANT-SEE-ANY>
<RETURN ,NOT-HERE-OBJECT>)>>
<ROUTINE BLGATE-F ()
<COND (<NOT <HERE? LION-GATE>>
<CANT-SEE-ANY>
<RFATAL>)
(<HANDLE-GATES?>
<RTRUE>)>>
<OBJECT LGATE
(LOC GLOBAL-OBJECTS)
(DESC "Lancaster Gate")
(FLAGS NODESC)
(SYNONYM GATE)
(ADJECTIVE LANCASTER)
(GENERIC GENERIC-GATE-F)
(ACTION LGATE-F)>
<ROUTINE LGATE-F ()
<COND (<NOT <HERE? LAN-GATE>>
<CANT-SEE-ANY>
<RFATAL>)
(<HANDLE-GATES?>
<RTRUE>)>>
<ROUTINE HANDLE-GATES? ()
<COND (<THIS-PRSI?>
<RFALSE>)
(<OR <ENTERING?>
<EXITING?>
<VERB? CROSS>>
<DO-WALK ,P?OUT>
<RTRUE>)
(<VERB? CLIMB-OVER CLIMB-ON CLIMB-UP LEAP>
<TOURISTS-SNICKER>
<RTRUE>)
(<VERB? OPEN OPEN-WITH>
<ITS-ALREADY "open">
<RTRUE>)
(<VERB? LOOK-INSIDE>
<V-LOOK>
<RTRUE>)
(<VERB? EXAMINE LOOK-OUTSIDE WATCH>
<DESCRIBE-GATE>
<RTRUE>)
(<VERB? CLOSE>
<TELL ,CANT "do that. ">
<DESCRIBE-GATE>
<RTRUE>)>>
<ROUTINE DESCRIBE-GATE ()
<TELL "The gate is swarming with ">
<SAY-TOURISTS>
<TELL ,PERIOD>
<RTRUE>>
<ROUTINE TOURISTS-SNICKER ()
<TELL "Passersby ">
<COND (<ZERO? ,RAID?>
<TELL "snicker at">)
(T
<TELL "ignore">)>
<TELL " your hopeless attempt." CR>>
<OBJECT IFENCE
(LOC LOCAL-GLOBALS)
(DESC "iron fence")
(FLAGS NODESC VOWEL)
(SYNONYM FENCE)
(ADJECTIVE IRON METAL)
(ACTION IFENCE-F)>
<ROUTINE IFENCE-F ()
<COND (<THIS-PRSI?>
<COND (<VERB? THROW-OVER>
<WASTE-OF-TIME>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " is quite high." CR>
<RTRUE>)
(<VERB? LOOK-INSIDE LOOK-BEHIND LOOK-OUTSIDE>
<CANT-SEE-MUCH>
<RTRUE>)
(<VERB? CLIMB-OVER CLIMB-ON LEAP THROUGH>
<TOURISTS-SNICKER>
<RTRUE>)
(<EXITING?>
<NOT-IN ,PRSO T>
<RTRUE>)>>
<OBJECT LNWALK
(LOC GLOBAL-OBJECTS)
(DESC "Lancaster Walk")
(FLAGS NODESC)
(SYNONYM WALK)
(ADJECTIVE LANCASTER)
(GENERIC GENERIC-WALK-F)
(ACTION LNWALK-F)>
<ROUTINE GENERIC-WALK-F (TBL)
<COND (<EQUAL? ,P-IT-OBJECT ,FLWALK ,LNWALK ,BWALK>
<RETURN ,P-IT-OBJECT>)
(<HERE? LAN-WALK LAN-GATE>
<RETURN ,LNWALK>)
(<HERE? FLOWER-WALK>
<RETURN ,FLWALK>)
(<HERE? BROAD-WALK PAL-GATE LION-GATE>
<RETURN ,BWALK>)
(T
<RETURN ,PATH>)>>
<ROUTINE LNWALK-F ()
<COND (<NOT <HERE? LAN-WALK LAN-GATE FLOWER-WALK ROUND-POND>>
<CANT-SEE-ANY>
<RFATAL>)
(<HANDLE-PLACE? ,LAN-WALK ,LAN-GATE ,LONG-WATER ,FLOWER-WALK
,ROUND-POND>
<RTRUE>)>>
<OBJECT TERRACE
(LOC GLOBAL-OBJECTS)
(DESC "Inverness Terrace")
(FLAGS NODESC VOWEL)
(SYNONYM TERRACE)
(ADJECTIVE INVERNESS)
(ACTION TERRACE-F)>
<ROUTINE TERRACE-F ()
<COND (<NOT <HERE? AT-TERRACE>>
<CANT-SEE-ANY>
<RFATAL>)
(<HERE-F>
<RTRUE>)>>
<OBJECT LWATER
(LOC GLOBAL-OBJECTS)
(DESC "Long Water")
(FLAGS NODESC SURFACE CONTAINER OPENED)
(SYNONYM WATER LAKE RIVER SERPENTINE)
(ADJECTIVE LONG SERPENTINE)
(CAPACITY 100)
(GENERIC GENERIC-WATER-F)
(ACTION LWATER-F)>
<ROUTINE GENERIC-WATER-F (TBL)
<COND (<EQUAL? ,P-IT-OBJECT ,RPOND ,GRPOND ,LWATER>
<RETURN ,P-IT-OBJECT>)
(<HERE? ROUND-POND>
<RETURN ,RPOND>)
(<OR <HERE? LAN-WALK LONG-WATER IN-WATER>
<EQUAL? ,W?LONG ,P-ADJ ,P-XADJ>>
<RETURN ,LWATER>)
(<OR <HERE? BROAD-WALK>
<EQUAL? ,W?ROUND ,P-ADJ ,P-XADJ>>
<RETURN ,GRPOND>)
(T
<REFERRING>
<RETURN ,NOT-HERE-OBJECT>)>>
<ROUTINE LWATER-F ()
<COND (<VERB? FIND>
<COND (<HERE? LONG-WATER IN-WATER>
<ITS-RIGHT-HERE>
<RTRUE>)
(<HERE? LAN-WALK>
<SEE-IT-SPARKLE>
<RTRUE>)>
<V-WALK-AROUND>
<RTRUE>)
(<NOT <HERE? LAN-WALK IN-WATER LONG-WATER>>
<CANT-SEE-ANY>
<RFATAL>)
(<VERB? EXAMINE LOOK-ON>
<COND (<HERE? LONG-WATER>
<OPAQUE-WATER>
<RTRUE>)
(<HERE? IN-WATER>
<V-LOOK>
<RTRUE>)
(<HERE? LAN-WALK>
<SEE-IT-SPARKLE>
<RTRUE>)>
<CANT-SEE-FROM-HERE ,LWATER>
<RTRUE>)
(<VERB? LOOK-INSIDE LOOK-UNDER SEARCH>
<COND (<HERE? LONG-WATER IN-WATER>
<OPAQUE-WATER>
<RTRUE>)>
<CANT-SEE-FROM-HERE ,LWATER>
<RTRUE>)
(<ENTERING?>
<COND (<HERE? LONG-WATER LAN-WALK>
<DO-WALK ,P?EAST>
<RTRUE>)
(<HERE? IN-WATER>
<ALREADY-IN>
<RTRUE>)>
<V-WALK-AROUND>
<RTRUE>)
(<EXITING?>
<COND (<HERE? IN-WATER>
<DO-WALK ,P?WEST>
<RTRUE>)>
<NOT-IN>
<RTRUE>)
(<NOT <HERE? LONG-WATER IN-WATER>>
<CANT-FROM-HERE>
<RTRUE>)
(<VERB? SWIM DIVE LEAP CLIMB-DOWN STAND-UNDER>
<DO-WALK <COND (<HERE? LONG-WATER> ,P?EAST)
(T ,P?DOWN)>>
<RTRUE>)
(<HANDLE-WATER?>
<RTRUE>)>>
<ROUTINE SEE-IT-SPARKLE ()
<TELL "You can see it sparkling">
<TWEEN-TREES <>>
<TELL ,TOE ,PERIOD>
<RTRUE>>
<OBJECT GRPOND
(LOC GLOBAL-OBJECTS)
(DESC "Round Pond")
(FLAGS NODESC SURFACE OPENED CONTAINER)
(SYNONYM POND WATER)
(ADJECTIVE ROUND)
(GENERIC GENERIC-WATER-F)
(ACTION GRPOND-F)>
<ROUTINE GRPOND-F ()
<COND (<VERB? FIND>
<COND (<HERE? BROAD-WALK>
<TELL ,YOU-SEE "it" ,TOE ,PERIOD>
<RTRUE>)>
<V-WALK-AROUND>
<RTRUE>)
(<NOT <HERE? BROAD-WALK LAN-WALK LAN-GATE AT-TERRACE
LION-GATE WABE>>
<CANT-SEE-ANY>
<RFATAL>)
(<ENTERING?>
<DO-WALK <COND (<HERE? BROAD-WALK> ,P?EAST)
(<HERE? LAN-WALK> ,P?WEST)
(<HERE? AT-TERRACE> ,P?SOUTH)
(<HERE? WABE> ,P?NORTH)
(<HERE? LION-GATE> ,P?SE)
(T ,P?SW)>>
<RTRUE>)
(T
<CANT-FROM-HERE>
<RTRUE>)>>
<OBJECT RPOND
(LOC ROUND-POND)
(DESC "Round Pond")
(FLAGS WATERY NODESC SURFACE CONTAINER OPENED)
(CAPACITY 100)
(SYNONYM POND WATER)
(ADJECTIVE ROUND)
(GENERIC GENERIC-WATER-F)
(ACTION RPOND-F)>
<ROUTINE RPOND-F ()
<COND (<VERB? EXAMINE>
<TELL "Ducks and swans paddle between the ">
<COND (<T? ,RAID?>
<TELL D ,GDESERT "ed ">)>
<TELL D ,BOAT " of the " D ,CHILDREN ,PERIOD>
<RTRUE>)
(<VERB? LOOK-ON LOOK-INSIDE SEARCH>
<TELL "Aside from the birds and boats, you see ">
<PRINT-CONTENTS ,PRSO>
<TELL " on the " D ,PRSO ,PERIOD>
<RTRUE>)
(<VERB? DRINK DRINK-FROM TASTE>
<TELL "The sight of a ">
<COND (<T? ,RAID?>
<TELL "frightened ">)>
<TELL
"child relieving itself in the pond" ,CHANGES>
<RTRUE>)
(<OR <GETTING-INTO?>
<VERB? SWIM DIVE>>
<DO-WALK ,P?IN>
<RTRUE>)
(<HANDLE-WATER?>
<RTRUE>)>>
<ROUTINE HANDLE-WATER? ()
<COND (<THIS-PRSI?>
<COND (<VERB? TAKE PUSH-TO>
<RFALSE>)
(<INTBL? ,PRSA ,PUTVERBS ,NUMPUTS>
<COND (<OR <PRSO? BALL CRANE>
<AND <PRSO? PARASOL>
<IS? ,PRSO ,OPENED>>>
<TELL CTHEO
" might float out of reach" ,IF-YOU-DID>
<RTRUE>)>
<VANISH>
<TELL CTHEO>
<COND (<PRSO? OCRANE BAD-CRANE>
<TELL " floats away ">)
(T
<TELL " disappears ">)>
<SAY-IN-WATER>
<RTRUE>)
(<OR <VERB? FILL>
<INTBL? ,PRSA ,TOUCHVERBS ,NTOUCHES>>
<SPLASHES>
<RTRUE>)>
<RFALSE>)
(<VERB? LOOK-UNDER>
<OPAQUE-WATER>
<RTRUE>)
(<EXITING?>
<NOT-IN>
<RTRUE>)
(<VERB? CLOSE OPEN OPEN-WITH>
<IMPOSSIBLE>
<RTRUE>)
(<VERB? DRINK DRINK-FROM>
<TELL CTHEO>
<ISNT-ARENT>
<TELL "very clean." CR>
<RTRUE>)
(<VERB? EAT BITE>
<IMPOSSIBLE>
<RTRUE>)
(<INTBL? ,PRSA ,TOUCHVERBS ,NTOUCHES>
<SPLASHES>
<RTRUE>)>>
<ROUTINE OPAQUE-WATER ()
<TELL "Little can be seen ">
<SAY-IN-WATER>
<RTRUE>>
<ROUTINE SAY-IN-WATER ()
<TELL "in the dark water." CR>
<RTRUE>>
<OBJECT CRANE
(DESC "paper bird")
(FLAGS TAKEABLE READABLE NODESC)
(SYNONYM PAPER BIRD CRANE ORIGAMI WING WINGS WRITING WORDS)
(ADJECTIVE FOLDED PAPER ORIGAMI)
(VALUE 0)
(SIZE 7)
(MASS 1)
(GENERIC GENERIC-BIRD-F)
(ACTION CRANE-F)>
"NODESC = timing flag, LIGHTED = glowing, SEEN = just referenced."
<ROUTINE CRANE-F ()
<MAKE ,CRANE ,SEEN>
<COND (<THIS-PRSI?>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO " is ">
<COND (<IS? ,PRSO ,LIGHTED>
<TELL "twinkling." CR>
<RTRUE>)>
<TELL "skillfully folded from a " D ,OCRANE
". Something is written between the folds." CR>
<RTRUE>)
(<VERB? READ LOOK-ON LOOK-INSIDE SEARCH>
<YOUD-HAVE-TO "unfold" ,PRSO>
<RTRUE>)
(<VERB? UNFOLD OPEN OPEN-WITH>
<COND (<AND <VERB? OPEN-WITH>
<NOT <PRSI? HANDS>>>
<TELL ,DONT "need " THEI
" to do that." CR>
<RTRUE>)
(<NOT <IN? ,PRSO ,PLAYER>>
<YOUD-HAVE-TO "be holding" ,PRSO>
<RTRUE>)
(<CRANE-LIT?>
<RTRUE>)>
<MOVE ,OCRANE ,PLAYER>
<REMOVE ,PRSO>
<SETG P-IT-OBJECT ,OCRANE>
<TELL "You gently ">
<PRINTB ,P-PRSA-WORD>
<TELL " the " D ,PRSO " to its full size." CR>
; <STOP-TWINKLE?>
<RTRUE>)
(<VERB? FOLD CLOSE>
<ITS-ALREADY "folded quite nicely, thank you">
<RTRUE>)
(<VERB? CUT RIP MUNG WRAP-AROUND>
<RUIN-LOVELY-CRANE>
<RTRUE>)
(<VERB? MUNG HIT SQUEEZE KICK SHAKE>
<COND (<CRANE-LIT?>
<RTRUE>)>
<MOVE ,BAD-CRANE <LOC ,PRSO>>
<REMOVE ,PRSO>
<SETG P-IT-OBJECT ,BAD-CRANE>
<TELL "Done. All that's left is a " D ,BAD-CRANE ,PERIOD>
<RTRUE>)
(<AND <VERB? WATCH>
<IS? ,PRSO ,LIGHTED>>
<UNMAKE ,PRSO ,CHILLY>
<I-NEWCRANE <>>
<RTRUE>)
(<AND <VERB? TAKE>
<NOT <IS? ,PRSO ,TOUCHED>>>
<COND (<ITAKE>
<TELL "You lean over the edge of the " D ,RPOND
", and pluck the " D ,PRSO " out of the water." CR>
<UPDATE-SCORE 3>)>
<RTRUE>)>>
<ROUTINE RUIN-LOVELY-CRANE ()
<TELL "And ruin the lovely " D ,PRSO "? Unthinkable." CR>>
; <ROUTINE STOP-TWINKLE? ()
<COND (<IS? ,PRSO ,LIGHTED>
<UNMAKE ,PRSO ,LIGHTED>
<DEQUEUE I-NEWCRANE>
<TELL CR
"The edges of the paper stop twinkling." CR>
<RTRUE>)>>
<OBJECT OCRANE
(DESC "piece of paper")
(FLAGS TAKEABLE READABLE TOUCHED CHILLY)
(SYNONYM PAPER SHEET PIECE BIRD CRANE ORIGAMI WRITING WORDS)
(ADJECTIVE PAPER ORIGAMI CREASED)
(VALUE 0)
(SIZE 3)
(MASS 1)
(GENERIC GENERIC-BIRD-F)
(ACTION HANDLE-OPEN-BIRD?)>
"CHILLY = not folded by girl."
<OBJECT BAD-CRANE
(DESC "crumpled piece of paper")
(FLAGS TAKEABLE READABLE TOUCHED CHILLY)
(SYNONYM PAPER SHEET PIECE BIRD CRANE ORIGAMI WRITING WORDS)
(ADJECTIVE PAPER ORIGAMI CREASED CRUMPLED CRUSHED)
(FDESC 0)
(VALUE 0)
(SIZE 3)
(MASS 1)
(GENERIC GENERIC-BIRD-F)
(ACTION HANDLE-OPEN-BIRD?)>
<ROUTINE HANDLE-OPEN-BIRD? ()
<COND (<THIS-PRSI?>
<RFALSE>)
(<VERB? READ LOOK-ON EXAMINE LOOK-INSIDE>
<TELL "The words \"">
<COND (<IS? ,PRSO ,FLIPPED>
<TELL "kcolC'O ruoF ,retaW gnoL">)
(T
<TELL "Long Water, Four O'Clock">)>
<TELL "\" are scrawled on the " D ,PRSO ,PERIOD>
<RTRUE>)
(<VERB? WRAP-AROUND>
<COND (<PRSI? PRSO>
<EQUAL? <GET ,P-NAMW 1> ,W?BIRD ,W?CRANE ,W?ORIGAMI>
<FUMBLE>
<RTRUE>)>
<WASTE-OF-TIME>
<RTRUE>)
(<VERB? MUNG HIT SQUEEZE CUT RIP KICK SHAKE>
<COND (<PRSO? OCRANE>
<RUIN-LOVELY-CRANE>
<RTRUE>)>
<WASTE-OF-TIME>
<RTRUE>)
(<VERB? OPEN OPEN-WITH UNFOLD>
<ITS-ALREADY "unfolded">
<RTRUE>)
(<VERB? FOLD REPAIR CLOSE>
<FUMBLE>
<RTRUE>)>>
<ROUTINE FUMBLE ()
<TELL "Your fumbling attempt to ">
<PRINTB ,P-PRSA-WORD>
<TELL " the paper back into a bird fails." CR>>
<OBJECT POND-BIRDS
(LOC ROUND-POND)
(DESC "wild birds")
(FLAGS NODESC PLURAL LIVING)
(SYNONYM BIRDS BIRD DUCKS DUCK SWANS SWAN WINGS)
(ADJECTIVE WILD)
(GENERIC GENERIC-BIRD-F)
(ACTION POND-BIRDS-F)>
<ROUTINE POND-BIRDS-F ()
<COND (<VERB? EXAMINE WATCH>
<TELL CTHEO " stare back at you coolly." CR>)
(<FEED-THE-BIRDS?>
<RTRUE>)
(<VERB? LISTEN>
<TELL CTHEO " honk incessantly." CR>)
(<AND <THIS-PRSO?>
<INTBL? ,PRSA ,TALKVERBS ,NTVERBS>>
<TELL CTHE ,POND-BIRDS " honk in reply." CR>
<RFATAL>)
(<INTBL? ,PRSA ,TOUCHVERBS ,NTOUCHES>
<TELL CTHE ,POND-BIRDS " paddle out of reach." CR>)>>
<OBJECT BOAT
(LOC ROUND-POND)
(DESC "toy boats")
(FLAGS TRYTAKE NODESC PLURAL)
(SYNONYM BOAT BOATS TOYS)
(ADJECTIVE TOY)
(ACTION BOAT-F)>