-
Notifications
You must be signed in to change notification settings - Fork 27
/
people.zil
2166 lines (1977 loc) · 53.5 KB
/
people.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
"PEOPLE for BEYOND ZORK: Copyright 1987 Infocom, Inc.
All rights reserved."
"*** OLD SALT ***"
<OBJECT SALT
(LOC ON-WHARF)
(DESC "old sailor")
(FLAGS VOWEL LIVING PERSON TRANSPARENT)
(SYNONYM SAILOR ARTIST PAINTER MAN GUY FELLOW
HIMSELF YOURSELF M MALE)
(ADJECTIVE OLD)
(LIFE I-SALT)
(DESCFCN SALT-F)
(CONTFCN SALT-F)
(ACTION SALT-F)>
<ROUTINE SALT-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<EQUAL? .CONTEXT ,M-OBJDESC>
<TELL CA ,SALT " is seated before " A ,EASEL
", dabbing color onto " A ,CANVAS>
<COND (<SEE-ANYTHING-IN? ,SALT>
<TELL ". He's holding ">
<CONTENTS ,SALT>)>
<TELL C ,PER>
<RTRUE>)
(<EQUAL? .CONTEXT ,M-WINNER>
<COND (<AND <VERB? HELLO>
<PRSO? ROOMS SALT>>
<GREET-SAILOR>
<RFATAL>)
(<AND <VERB? TELL-ABOUT SSHOW>
<PRSO? ME>>
<ASK-SALT-ABOUT ,PRSI>
<RFATAL>)
(<OR <VERB? EXAMINE WHAT WHO WHERE>
<AND <VERB? SHOW>
<PRSI? ME>>>
<ASK-SALT-ABOUT ,PRSO>
<RFATAL>)
(<AND <VERB? GIVE GET-FOR>
<PRSI? ME>>
<ASK-SALT-FOR ,PRSO>
<RFATAL>)
(<AND <VERB? SGIVE SGET-FOR>
<PRSO? ME>>
<ASK-SALT-FOR ,PRSI>
<RFATAL>)>
<DEAF-SALT>
<RFATAL>)
(<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<HARMLESS ,PRSI>
<RTRUE>)
(<VERB? GIVE GET-FOR>
<GIVE-TO-SALT ,PRSO>
<RTRUE>)
(<VERB? SHOW>
<DO-GLANCE ,SALT ,PRSO>
<RTRUE>)>
<RFALSE>)
(<VERB? TELL>
<RFALSE>)
(<VERB? EXAMINE>
<TELL CTHEO "'s ice-blue eyes glance up from his work." CR>
<RTRUE>)
(<VERB? YELL>
<NOT-DEAF>
<RTRUE>)
(<VERB? ASK-FOR>
<ASK-SALT-FOR ,PRSI>
<RTRUE>)
(<VERB? ASK-ABOUT>
<ASK-SALT-ABOUT ,PRSI>
<RTRUE>)
(<VERB? TELL-ABOUT>
<DO-GLANCE ,SALT ,PRSI>
<RTRUE>)
(<VERB? HELLO GOODBYE WAVE-AT>
<GREET-SAILOR>
<RTRUE>)
(<SET X <HURTING?>>
<HARMLESS>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE NOT-DEAF ()
<MAKE ,SALT ,SEEN>
<TELL CTHE ,SALT " cringes. \"I'm not deaf, y'know!\"" CR>
<RTRUE>>
<ROUTINE DEAF-SALT ("AUX" X)
<MAKE ,SALT ,SEEN>
<SET X <RANDOM 100>>
<COND (<L? .X 33>
<TELL CTHE ,SALT
" doesn't look up from his work. Perhaps he didn't hear you." CR>
<RTRUE>)
(<L? .X 67>
<TELL CTHE ,SALT
" cocks his head. \"Eh? Didn't catch that.\"" CR>
<RTRUE>)>
<TELL "\"Stop whispering, ">
<BOY-GIRL>
<TELL "! Can't hear a word you're sayin'.\"" CR>
<RTRUE>>
<ROUTINE BOY-GIRL ()
<COND (<IS? ,PLAYER ,FEMALE>
<TELL B ,W?GIRL>
<RTRUE>)>
<TELL B ,W?BOY>
<RTRUE>>
<ROUTINE GREET-SAILOR ()
<MAKE ,SALT ,SEEN>
<COND (<PROB 33>
<DEAF-SALT>
<RTRUE>)>
<TELL CTHE ,SALT>
<COND (<IS? ,SALT ,TOUCHED>
<TELL " shrugs. \"Okay. Hello, again.\"" CR>
<RTRUE>)>
<MAKE ,SALT ,TOUCHED>
<COND (<AND <EQUAL? ,P-PRSA-WORD ,W?HELLO>
<NOUN-USED? ,W?SAILOR>>
<TELL
" chuckles softly and nods. \"Thought I 'membered you. ">)
(T
<TELL " nods. \"">)>
<TELL "Hello, ">
<BOY-GIRL>
<TELL ,PERQ>
<RTRUE>>
<ROUTINE ASK-SALT-ABOUT (OBJ "AUX" TBL LEN X)
<MAKE ,SALT ,SEEN>
<COND (<PROB 33>
<DEAF-SALT>
<RTRUE>)>
<COND (<NOT <VISIBLE? .OBJ>>
<PERPLEXED ,SALT>
<TELL "Not sure">
<WHO-WHAT .OBJ>
<TELL "you're talkin' 'bout, ">
<BOY-GIRL>
<TELL ,PERQ>
<RTRUE>)
(<EQUAL? .OBJ ,SALT>
<TELL "\"Been retired, ah, goin' on five years.\"" CR>
<RTRUE>)
(<EQUAL? .OBJ ,SHILL>
<TELL "\"Lucky ye saw it a-floatin' there.\"" CR>
<RTRUE>)
(<EQUAL? .OBJ ,EASEL ,CANVAS>
<TELL "\"Like it? Reminds me o' the good old days.\"" CR>
<RTRUE>)
(<PROB 75>
<DEAF-SALT>
<RTRUE>)>
<IGNORANT ,SALT .OBJ>
<RTRUE>>
<ROUTINE ASK-SALT-FOR (OBJ "AUX" X L)
<MAKE ,SALT ,SEEN>
<COND (<PROB 33>
<DEAF-SALT>
<RTRUE>)
(<EQUAL? .OBJ ,EASEL ,CANVAS>
<TELL "\"Sorry. Not for sale.\"" CR>
<RTRUE>)>
<AINT-GOT ,SALT .OBJ>
<RTRUE>>
<ROUTINE AINT-GOT (WHO OBJ)
<TELL "\"Don't have " A .OBJ>
<PRINT ",\" points out ">
<TELL THE .WHO ,PERIOD>
<RTRUE>>
<ROUTINE GIVE-TO-SALT (OBJ)
<MAKE ,SALT ,SEEN>
<COND (<GIVING-LOOT? .OBJ ,SALT>
<RTRUE>)>
<NO-THANKS ,SALT>
<RTRUE>>
<ROUTINE NO-THANKS (WHO)
<TELL CTHE .WHO " shakes his head. \"No, thanks.\"" CR>
<RTRUE>>
<ROUTINE DO-GLANCE (WHO OBJ)
<MAKE .WHO ,SEEN>
<TELL CTHE .WHO>
<COND (<VISIBLE? .OBJ>
<TELL ,GLANCES-AT THE .OBJ>)
(T
<PRINT " gives you a puzzled frown">)>
<PRINT ", but says nothing.|">
<RTRUE>>
"*** INNCOOK ***"
<OBJECT COOK
(LOC IN-KITCHEN)
(DESC "cook")
(FLAGS NOALL LIVING PERSON TRANSPARENT)
(SYNONYM GROTE CLUTCHCAKE COOK MAN GUY FELLOW PERSON
SELF HIMSELF YOURSELF)
(ADJECTIVE GROTE)
(LIFE I-COOK)
(DESCFCN COOK-F)
(ACTION COOK-F)>
<ROUTINE COOK-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<EQUAL? .CONTEXT ,M-OBJDESC>
<TELL "A skinny old cook is bustling around the kitchen.">
<RTRUE>)
(<EQUAL? .CONTEXT ,M-WINNER>
<COND (<AND <VERB? TELL-ABOUT SSHOW>
<PRSO? ME>>
<ASK-COOK-ABOUT ,PRSI>
<RFATAL>)
(<OR <VERB? EXAMINE WHAT WHO WHERE>
<AND <VERB? SHOW>
<PRSI? ME>>>
<ASK-COOK-ABOUT ,PRSO>
<RFATAL>)
(<AND <VERB? GIVE GET-FOR>
<PRSI? ME>>
<ASK-COOK-FOR ,PRSO>
<RFATAL>)
(<AND <VERB? SGIVE SGET-FOR>
<PRSO? ME>>
<ASK-COOK-FOR ,PRSI>
<RFATAL>)>
<TELL CTHE ,COOK
" scowls. \"Don't bother me now, I'm busy!\"" CR>
<RFATAL>)
(<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<IS? ,PRSI ,NODESC>
<CANT-FROM-HERE>
<RTRUE>)
(<VERB? BUY-FROM>
<ASK-COOK-FOR ,PRSO>
<RTRUE>)
(<VERB? GIVE GET-FOR>
<GIVE-TO-COOK ,PRSO>
<RTRUE>)
(<VERB? SHOW>
<SHOW-TO-COOK ,PRSO>
<RTRUE>)>
<RFALSE>)
(<IS? ,PRSO ,NODESC>
<COND (<SET X <TALKING?>>
<PCLEAR>
<TELL "He">
<PRINT " doesn't seem to hear you.|">
<RFATAL>)>
<CANT-FROM-HERE>
<RTRUE>)
(<VERB? ASK-FOR>
<ASK-COOK-FOR ,PRSI>
<RTRUE>)
(<VERB? ASK-ABOUT>
<ASK-COOK-ABOUT ,PRSI>
<RTRUE>)
(<VERB? TELL-ABOUT>
<SHOW-TO-COOK ,PRSI>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE ASK-COOK-ABOUT (OBJ "AUX" TBL LEN X)
<SEE-CHARACTER ,COOK>
<MAKE ,COOK ,SEEN>
<COND (<EQUAL? .OBJ ,BOTTLE>
<COND (<IS? ,ONION ,SEEN>
<TELL
"\"Got it put away, nice and safe. Thanks again.\"" CR>
<RTRUE>)
(<IS? ,BOTTLE ,IDENTIFIED>
<TELL "\"This here onion's yours if you ">
<COND (<VISIBLE? .OBJ>
<TELL "hand it over.\"" CR>
<RTRUE>)>
<TELL "get it for me.\"" CR>
<RTRUE>)
(<IS? ,ONION ,TOUCHED>
<UNMAKE ,COOK ,SEEN>
<TELL "\"Ahem.\"" CR>
<I-ONION-OFFER>
<RTRUE>)>
<DO-GLANCE ,COOK ,CELLAR-DOOR>
<RTRUE>)
(<EQUAL? .OBJ ,COOK>
<TELL "\"Grote Clutchcake's the name.\"" CR>
<RTRUE>)
(<EQUAL? .OBJ ,CELLAR ,CELLAR-DOOR>
<TELL
"\"Used t'be a wine cellar. Can't go down no more; too dangerous.\"" CR>
<RTRUE>)
(<NOT <VISIBLE? .OBJ>>
<PERPLEXED ,COOK>
<TELL "Don't know">
<WHO-WHAT .OBJ>
<TELL "you're talkin' 'bout.\"" CR>
<RTRUE>)
(<EQUAL? .OBJ ,ONION>
<COOK-MENTIONS-ONION>
<RTRUE>)>
<TELL CTHE ,COOK " shrugs impatiently. \"Can't say anythin' 'bout ">
<PRONOUN .OBJ>
<TELL " you wouldn't know already.\"" CR>
<RTRUE>>
<ROUTINE ASK-COOK-FOR (OBJ "AUX" X L)
<SEE-CHARACTER ,COOK>
<SET L <LOC .OBJ>>
<MAKE ,COOK ,SEEN>
<COND (<NOT <VISIBLE? .OBJ>>)
(<EQUAL? .OBJ ,ONION>
<COND (<IS? .OBJ ,SEEN>
<TELL "\"It's yours. Roll it outa here.\"" CR>
<RTRUE>)
(<IS? ,BOTTLE ,IDENTIFIED>
<TELL "\"Yours for " THE ,BOTTLE>
<COND (<NOT <IS? ,BOTTLE ,TOUCHED>>
<TELL " downstairs">)>
<TELL ,PERQ>
<RTRUE>)>
<COOK-MENTIONS-ONION>
<RTRUE>)>
<AINT-GOT ,COOK .OBJ>
<RTRUE>>
<ROUTINE COOK-MENTIONS-ONION ()
<COND (<NOT <IS? ,ONION ,TOUCHED>>
<MAKE ,ONION ,TOUCHED>
<MAKE ,COOK ,SEEN>
<DEQUEUE ,I-COOK>
<QUEUE ,I-ONION-OFFER>
<TELL CTHE ,COOK " gives " THE ,ONION
" an affectionate kick. ">)>
<TELL
"\"Nice, eh? Won second place at the Borphee County Fair.\"" CR>
<RTRUE>>
<ROUTINE STOP-ONION-OFFER ()
<MAKE ,BOTTLE ,IDENTIFIED>
<DEQUEUE ,I-ONION-OFFER>
<COND (<NOT <QUEUED? ,I-COOK>>
<QUEUE ,I-COOK>)>
<MAKE ,COOK ,SEEN>
<RFALSE>>
<ROUTINE GIVE-TO-COOK (OBJ)
<SEE-CHARACTER ,COOK>
<MAKE ,COOK ,SEEN>
<COND (<GIVING-LOOT? .OBJ ,COOK>
<RTRUE>)>
<TELL CTHE ,COOK>
<COND (<EQUAL? .OBJ ,BOTTLE>
<VANISH .OBJ>
<MAKE ,ONION ,SEEN>
<TELL "'s eyes grow large as he takes " THE .OBJ
". \"Been after this thing for years,\" he cries, turning it over and over in his hands before stowing it quickly out of sight. ">
<COND (<NOT <IS? ,BOTTLE ,IDENTIFIED>>
<TELL "\"I owe you a big favor, ">
<BOY-GIRL>
<TELL ". A ">
<ITALICIZE "very">
<TELL " big favor. Big as this here onion.\" ">)>
<STOP-ONION-OFFER>
<TELL "Your eyes follow his to " THE ,ONION
" near the exit. \"All yours,\" he says, patting it affectionately." CR>
<RTRUE>)>
<TELL " refuses " THE .OBJ
" with a shake of his head. \"No, thanks.\"" CR>
<RTRUE>>
<ROUTINE COOK-SEES-BOTTLE ()
<STOP-ONION-OFFER>
<MAKE ,BOTTLE ,MUNGED>
<TELL "\"The bottle!\" gasps " THE ,COOK
" when he sees it">
<COND (<IN? ,BOTTLE ,PLAYER>
<TELL " in your hands">)>
<PRINT ". \"You got it!\"|">
<RTRUE>>
<ROUTINE SHOW-TO-COOK (OBJ)
<SEE-CHARACTER ,COOK>
<MAKE ,COOK ,SEEN>
<COND (<EQUAL? .OBJ ,BOTTLE>
<COND (<NOT <IS? .OBJ ,IDENTIFIED>>
<COOK-SEES-BOTTLE>
<RTRUE>)>
<STOP-ONION-OFFER>
<TELL "\"That's the one!\" he gasps">
<PRINT ". \"You got it!\"|">
<RTRUE>)>
<TELL "\"How interesting,\" yawns " THE ,COOK>
<COND (<VISIBLE? .OBJ>
<TELL ", glancing at " THE .OBJ>)>
<PRINT ,PERIOD>
<RTRUE>>
"*** BAND ***"
<OBJECT BANDITS
(LOC IN-PUB)
(DESC "group of bandits")
(FLAGS NODESC LIVING PERSON TRANSPARENT)
(SYNONYM BANDITS BANDIT PEOPLE GUYS FELLOWS GROUP)
(ACTION BANDITS-F)>
<ROUTINE BANDITS-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<T? .CONTEXT>
<RFALSE>)
(<THIS-PRSI?>
<COND (<VERB? POINT-AT TOUCH-TO FIRE-AT>
<TELL "There are too many of them here." CR>
<RTRUE>)
(<VERB? THROW THROW-OVER>
<SUICIDE>
<RTRUE>)
(<VERB? GIVE SHOW GET-FOR FEED>
<HEEDLESS>
<RTRUE>)>
<RFALSE>)
(<SET X <TALKING?>>
<HEEDLESS>
<RFATAL>)
(<VERB? EXAMINE LOOK-ON>
<NOSEY "starin' at">
<RTRUE>)
(<VERB? LISTEN>
<NOSEY "listenin' to">
<RTRUE>)
(<SET X <HURTING?>>
<SUICIDE>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE NOSEY (STR)
<MAKE ,PRSO ,SEEN>
<TELL "\"Who're you " .STR
"?\" demands a very large bandit. You wisely decide to turn your attention elsewhere." CR>
<RTRUE>>
<ROUTINE SUICIDE ()
<TELL "Suicide. Monsters are one thing; an armed " 'BANDITS
" is quite another." CR>
<RTRUE>>
<ROUTINE HEEDLESS ()
<PCLEAR>
<TELL "The bandits glare at your interruption. \"Scram.\"" CR>
<RTRUE>>
<OBJECT OWOMAN
(LAST-LOC 0)
(DESC "old woman")
(FLAGS VOWEL LIVING PERSON FEMALE TRANSPARENT)
(SYNONYM Y\'GAEL WOMAN LADY DAME FEMALE F)
(ADJECTIVE OLD)
(LIFE I-OWOMAN)
(DESCFCN OWOMAN-F)
(ACTION OWOMAN-F)>
<ROUTINE OWOMAN-F ("OPT" (CONTEXT <>) "AUX" X)
<COND (<EQUAL? .CONTEXT ,M-OBJDESC>
<TELL CA ,OWOMAN ,SIS <PICK-NEXT ,OWOMAN-EYES> C ,PER>
<RTRUE>)
(<EQUAL? .CONTEXT ,M-WINNER>
<COND (<AND <VERB? TELL-ABOUT SSHOW>
<PRSO? ME>>
<ASK-OWOMAN-ABOUT ,PRSI>
<RFATAL>)
(<OR <VERB? EXAMINE REQUEST WHAT WHO WHERE>
<AND <VERB? SHOW>
<PRSI? ME>>>
<ASK-OWOMAN-ABOUT ,PRSO>
<RFATAL>)
(<AND <VERB? GIVE GET-FOR>
<PRSI? ME>>
<ASK-OWOMAN-FOR ,PRSO>
<RFATAL>)
(<AND <VERB? SGIVE SGET-FOR>
<PRSO? ME>>
<ASK-OWOMAN-FOR ,PRSI>
<RFATAL>)
(<AND <VERB? SELL-TO>
<PRSI? ME>>
<BUY-X-WITH-Y ,PRSO ,MONEY>
<RTRUE>)
(<AND <VERB? SSELL-TO>
<PRSO? ME>>
<BUY-X-WITH-Y ,PRSI ,MONEY>
<RTRUE>)
(<AND <VERB? HELLO GOODBYE>
<PRSO? ROOMS OWOMAN>>
<GREET-OWOMAN>
<RFATAL>)>
<TELL "\"I'm not used to being ordered about,\" observes "
THE ,OWOMAN " coldly." CR>
<RFATAL>)
(<T? .CONTEXT>
<RFALSE>)
(<NOUN-USED? ,W?Y\'GAEL>
<COND (<NOT <IS? ,OWOMAN ,MUNGED>>
<MAKE ,OWOMAN ,MUNGED>
<TELL ,CTHELADY>
<PRINT " raises an eyebrow">
<TELL " as you speak her Name." CR>
<RFATAL>)>)>
<COND (<THIS-PRSI?>
<COND (<VERB? THROW THROW-OVER>
<HARMLESS ,PRSI>
<RTRUE>)
(<VERB? GIVE GET-FOR>
<GIVE-TO-OWOMAN ,PRSO>
<RTRUE>)
(<VERB? SHOW>
<ASK-OWOMAN-ABOUT ,PRSO>
<RTRUE>)
(<VERB? SELL-TO>
<TRADE-FOR-LOOT ,PRSO>
<RTRUE>)>
<RFALSE>)
(<VERB? EXAMINE>
<SET X <GETP ,PRSO ,P?LAST-LOC>>
<COND (<VISIBLE? .X>)
(<T? .X>
<TELL
"That's odd. She looks just like the woman you met in " THE .X ,PERIOD>
<RTRUE>)>
<TELL CTHEO " regards you with equal interest." CR>
<RTRUE>)
(<VERB? ASK-FOR>
<ASK-OWOMAN-FOR ,PRSI>
<RTRUE>)
(<VERB? ASK-ABOUT>
<ASK-OWOMAN-ABOUT ,PRSI>
<RTRUE>)
(<VERB? TELL-ABOUT>
<COND (<IN? ,PRSI ,PLAYER>
<GIVE-TO-OWOMAN ,PRSI>
<RTRUE>)>
<ASK-OWOMAN-ABOUT ,PRSI>
<RTRUE>)
(<VERB? HELLO WAVE-AT GOODBYE>
<GREET-OWOMAN>
<RTRUE>)
(<SET X <HURTING?>>
<HARMLESS>
<RTRUE>)
(T
<RFALSE>)>>
<ROUTINE GREET-OWOMAN ()
<MAKE ,OWOMAN ,SEEN>
<TELL ,CTHELADY " nods graciously." CR>
<RTRUE>>
<CONSTANT OWOMAN-TABLE
<PLTABLE
<PTABLE SPADE "I've always been one to call a spade a spade">
<PTABLE LEAFLET "I don't look at other people's mail">
<PTABLE PARCEL "I don't look at other people's mail">
<PTABLE CROWN "Tidy little trinket, that">
<PTABLE DOUBLOON "Tidy little trinket, that">
<PTABLE DIAMOND "Tidy little trinket, that">
<PTABLE ORNAMENT "Aluminized plastic. Festive, though">
<PTABLE RELIQUARY "Standard clerical issue">
<PTABLE SADDLE "Smallish; must be for a pony">
<PTABLE SEXTANT "Antiques are big nowadays">
<PTABLE LANTERN "Antiques are big nowadays">
<PTABLE RUG "Phew! That thing wants a good airing">
<PTABLE TUSK "That'll make some piano awfully happy">
<PTABLE BOTTLE "A fair vintage">
<PTABLE BFLY "A fair specimen">
<PTABLE CARD "Not the handsomest of mages">
>>
<ROUTINE ASK-OWOMAN-ABOUT (OBJ "AUX" TBL LEN X)
<SEE-CHARACTER ,OWOMAN>
<COND (<EQUAL? .OBJ ,MONEY ,INTNUM>
<TELL "\"My favorite subject.\"" CR>
<RTRUE>)
(<WHAT-TALK? ,OWOMAN .OBJ>
<RTRUE>)
(<EQUAL? .OBJ ,KEY1 ,KEY2 ,KEY3>
<TELL "\"How tawdry.\"" CR>
<RTRUE>)
(<EQUAL? .OBJ ,PARASOL>
<TELL ,CTHELADY>
<PRINT " raises an eyebrow">
<PRINT ", but says nothing.|">
<RTRUE>)
(<OR <EQUAL? .OBJ ,BOUTIQUE ,WEAPON-SHOP ,MSHOPPE>
<EQUAL? .OBJ ,BCASE ,MCASE ,WCASE>>
<TELL "\"Best selection in the Southlands.\"" CR>
<RTRUE>)
(<EQUAL? .OBJ ,CURTAIN ,OWOMAN ,ME>
<TELL ,CTHELADY " smiles wryly">
<PRINT ", but says nothing.|">
<RTRUE>)
(<AND <HERE? IN-BOUTIQUE>
<BOUTIQUE-KNOWLEDGE? .OBJ>>
<RTRUE>)
(<AND <HERE? IN-WEAPON>
<WEAPON-KNOWLEDGE? .OBJ>>
<RTRUE>)
(<AND <HERE? IN-MAGICK>
<MAGICK-KNOWLEDGE? .OBJ>>
<RTRUE>)>
<SET LEN <GET ,OWOMAN-TABLE 0>>
<REPEAT ()
<SET TBL <GET ,OWOMAN-TABLE .LEN>>
<SET X <GET .TBL 0>>
<COND (<EQUAL? .X .OBJ>
<TELL "\"" <GET .TBL 1>>
<REVEAL-VALUE .X <GETP ,HERE ,P?THIS-CASE>>
<RTRUE>)
(<DLESS? LEN 1>
<RETURN>)>>
<COND (<AND <NOT <HERE? IN-MAGICK>>
<SET X <GET ,MAGIC-ITEMS 0>>
<SET X <INTBL? .OBJ <REST ,MAGIC-ITEMS 2> .X>>>
<ASK-IN .OBJ "Magick Shoppe in Gurth City">
<RTRUE>)>
<COND (<AND <NOT <HERE? IN-WEAPON>>
<SET X <GET ,WEAPON-ITEMS 0>>
<SET X <INTBL? .OBJ <REST ,WEAPON-ITEMS 2> .X>>>
<ASK-IN .OBJ "weapon shop in Accardi">
<RTRUE>)>
<COND (<AND <NOT <HERE? IN-BOUTIQUE>>
<SET X <GET ,ARMOR-ITEMS 0>>
<SET X <INTBL? .OBJ <REST ,ARMOR-ITEMS 2> .X>>>
<ASK-IN .OBJ "boutique in Mizniaport">
<RTRUE>)>
<TELL "\"I'm afraid I can't tell you very much about ">
<PRONOUN .OBJ>
<TELL ",\" apologizes " THE ,OWOMAN ,PERIOD>
<RTRUE>>
<ROUTINE ASK-IN (OBJ STR)
<TELL ,CTHELADY ,GLANCES-AT THE .OBJ
". \"Can't tell you much about this here,\" she mutters. \"Bet the " .STR
" would know something, though.\"" CR>
<RTRUE>>
<ROUTINE BOUTIQUE-KNOWLEDGE? (OBJ)
<COND (<EQUAL? .OBJ ,PACK>
<TELL "\"Perfect for those long adventures">)
(<EQUAL? .OBJ ,CLOAK>
<TELL
"\"A fine example of elvish tailoring. 'Tis said a potent virtue is woven into the cloth">)
(<EQUAL? .OBJ ,TUNIC>
<TELL "\"Oh, that. Last week's fashion, I'm afraid">)
(<EQUAL? .OBJ ,SCALE>
<TELL
"\"Good basic protection. Not too bulky, not too expensive">)
(<EQUAL? .OBJ ,CHAIN>
<TELL
"\"An effective design, if not particularly comfortable">)
(<EQUAL? .OBJ ,PLATE>
<TELL
"\"The last word in protection,\" states " THE ,OWOMAN
" flatly. \"That stuff'll turn aside anything short of a grue's fangs">)
(<EQUAL? .OBJ ,HELM ,SCABBARD>
<SECRET-VIRTUE .OBJ>
<RTRUE>)
(T
<RFALSE>)>
<REVEAL-VALUE .OBJ ,BCASE>
<RTRUE>>
<ROUTINE WEAPON-KNOWLEDGE? (OBJ)
<COND (<EQUAL? .OBJ ,ARROW>
<TELL "\"A primitive design; high drag coefficient">)
(<EQUAL? .OBJ ,DAGGER>
<TELL "\"Suitable for cleaning fish, I suppose">)
(<EQUAL? .OBJ ,SWORD>
<TELL
"\"Of ancient elvish workmanship, if I'm not mistaken">)
(<EQUAL? .OBJ ,SHILL>
<TELL
"\"Many an orc's skull bears the mark of this " 'SHILL>)
(<EQUAL? .OBJ ,AXE>
<TELL "\"A real skull-cleaver, that one">)
(<EQUAL? .OBJ ,PHASE ,SCABBARD ,HELM>
<SECRET-VIRTUE .OBJ>
<RTRUE>)
(T
<RFALSE>)>
<REVEAL-VALUE .OBJ ,WCASE>
<RTRUE>>
<ROUTINE MAGICK-KNOWLEDGE? (OBJ "AUX" VAL ACT FX)
<SETG IDING .OBJ>
<SET ACT <GETP .OBJ ,P?ACTION>>
<SET FX <GETP .OBJ ,P?EFFECT>>
<COND (<EQUAL? .ACT ,SLEEP-WAND-F>
<DO-ID>
<TELL "Aim this at a creature and watch it stagger">)
(<EQUAL? .ACT ,BLAST-WAND-F>
<DO-ID>
<TELL "Instant death, with few exceptions">)
(<EQUAL? .ACT ,TELE-WAND-F>
<DO-ID>
<TELL "Teleports trouble out of your way">)
(<EQUAL? .ACT ,IO-WAND-F>
<DO-ID>
<TELL "Makes things turn inside-out">)
(<EQUAL? .ACT ,LEV-WAND-F>
<DO-ID>
<TELL "Floats 'most anything that isn't nailed down">)
(<EQUAL? .ACT ,DISPEL-WAND-F>
<TELL ,CTHELADY " scowls. ">
<DO-ID>
<TELL "Neutralizes the effects of Magick">)
; "Potions."
(<EQUAL? .ACT ,HEALING-POTION-F>
<DO-ID>
<TELL "Just the thing in the heat of battle">)
(<EQUAL? .ACT ,FORGET-POTION-F>
<DO-ID>
<TELL "Hmm,\" mutters " THE ,OWOMAN
". \"Tried one of those once; can't recall what it does. Oh, well">)
(<EQUAL? .ACT ,DEATH-POTION-F>
<DO-ID>
<TELL "Don't understand why they mix these things">)
(<OR <EQUAL? .ACT ,MIGHT-POTION-F>
<EQUAL? .OBJ ,ROOT>>
<DO-ID>
<TELL "That'll put hair on your chest">
<COND (<IS? ,PLAYER ,FEMALE>
<TELL ".\" " ,CTHELADY
" blushes. \"Well, you know what I mean">)>)
(<EQUAL? .ACT ,IQ-POTION-F>
<DO-ID>
<TELL "Four years faster than GUE Tech, and a lot cheaper">)
; "Scrolls."
(<EQUAL? .FX ,DO-PARTAY>
<DO-ID>
<TELL "Big fun at parties">)
(<EQUAL? .FX ,DO-FILFRE>
<DO-ID>
<TELL "Essential reading">)
(<EQUAL? .FX ,DO-GOTO>
<DO-ID>
<TELL "Just the thing for emergencies">)
(<EQUAL? .FX ,DO-BLESS-ARMOR>
<DO-ID>
<TELL "Bestows a rich blessing upon your armor">)
(<EQUAL? .FX ,DO-BLESS-WEAPON>
<DO-ID>
<TELL "Adds a touch of enchantment to any weapon">)
(<EQUAL? .FX ,DO-RENEWAL>
<DO-ID>
<TELL "How refreshing">)
(<EQUAL? .FX ,DO-GATE>
<DO-ID>
<TELL "Not as robust as Dimension Door, but serviceable">)
(<EQUAL? .OBJ ,CAKE>
<TELL ,CTHELADY
" grimaces. \"Bleah. My aunt used to make those. Good for your brain, but not much else">)
(<EQUAL? .OBJ ,CLOAK>
<DO-ID>
<TELL "Elvish, if the weave speaks true">)
(<EQUAL? .OBJ ,RING>
<TELL ,CTHELADY " smirks. ">
<DO-ID>
<TELL "Same as the Coal-Walkers of Egreth use">)
(<EQUAL? .OBJ ,HELM>
<DO-ID>
<MAKE .OBJ ,PROPER>
<TELL
"A potent relic of the past 'Tis said the wearer commands the wisdom of kings, and can see the unseeable.\" She shudders visibly. \"Some things are better left unseen">)
(<EQUAL? .OBJ ,GOBLET>
<COND (<ZERO? ,GOBLET-WORD>
<SETUP-GOBLET>)>
<TELL ,CTHELADY
" turns pale, and lowers her voice to a barely audible whisper. \"The ">
<PRINT-TABLE <GETP .OBJ ,P?NAME-TABLE>>
<TELL ",\" she hisses">
<COND (<NOT <IS? .OBJ ,NEUTRALIZED>>
<TELL ", and thunder rumbles outside">)>
<TELL
". \"Beware! for its Name incurs the wrath of the Implementors">)
(<EQUAL? .OBJ ,UHEMI ,LHEMI>
<TELL "\"Hmm,\" mutters " THE ,OWOMAN
". \"Some great potential lies within">)
(<EQUAL? .OBJ ,STONE>
<COND (<NOT <IS? ,STONE ,NAMED>>
<SETUP-STONE>)>
<TELL "\"Ah! The ">
<PRINT-TABLE <GETP .OBJ ,P?NAME-TABLE>>
<TELL
"! Visions of things yet to be lie within its depths, for those with enough wit to see them">)
(<EQUAL? .OBJ ,RFOOT ,CLOVER ,SHOE>
<TELL "\"A charm to ward off ill luck">)
(<EQUAL? .OBJ ,SCABBARD>
<MAKE .OBJ ,IDENTIFIED>
<TELL ,CTHELADY
"'s voice lowers to a respectful whisper. \"Behold " THE .OBJ
", Blade of Entharion,\" she says. \"Though the Blade is long lost, the scabbard retains much virtue; for ">
<COND (<IS? ,PLAYER ,FEMALE>
<TELL "s">)>
<TELL
"he who wears it is blessed with wondrous powers of recuperation">)
(<EQUAL? .OBJ ,VIAL>
<TELL "\"Holy water,\" explains " THE ,OWOMAN
" after a brief glance. \"Standard issue against vampires, wraiths, anything dead that moves">)
(<EQUAL? .OBJ ,GLASS>
<TELL "\"A relic of ancient Pheebor,\" explains " THE ,OWOMAN
". \"Its purpose is lost in Time. Perhaps it is part of some greater Magick">)
(<EQUAL? .OBJ ,ROSE>
<TELL
"\"A compass rose! Just the thing for an ill wind">)
(<EQUAL? .OBJ ,GURDY>
<TELL
"\"A versatile instrument. Dangerous in the wrong hands">)
(<EQUAL? .OBJ ,WHISTLE>
<DO-ID>
<TELL "Wrought by a platypus, like most nowadays">)
(<EQUAL? .OBJ ,PHASE>
<TELL
"\"Little more than a curiosity, at least on this Plane of existence">)
(<EQUAL? .OBJ ,CHEST>
<TELL ,CTHELADY
" studies " THE .OBJ " closely. \"Careful with this,\" she warns. \"The plaque on the lid is well worth reading">)
(<EQUAL? .OBJ ,AMULET>
<TELL "\"A useful bit of Magick, this. ">
<COND (<ZERO? ,AMULET-STARS>
<TELL "Too bad it's all used up">)
(T
<TELL "Still got some life in it, too">)>)
(<EQUAL? .OBJ ,SPENSE ,SPENSE2>
<TELL
"\"Spenseweed, of course. A wholesome treat">)
(<EQUAL? .OBJ ,BURIN>
<TELL "\"Diamond-tipped, I see. Top of the line">)
(<EQUAL? .OBJ ,JAR ,CIRCLET>
<TELL
"\"A vain bit of Magick; yet not without its uses">)
(T
<RFALSE>)>
<COND (<IS? .OBJ ,NEUTRALIZED>
<PRINT ". Unfortunately, ">
<TELL "its Magick">
<PRINT " appears to have been neutralized">)>
<REVEAL-VALUE .OBJ ,MCASE>
<RTRUE>>
<ROUTINE REVEAL-VALUE (OBJ CASE "AUX" VAL X)
<SET VAL <GETP .OBJ ,P?VALUE>>
<TELL C ,PER>
<COND (<ZERO? .VAL>
<TELL "\"" CR>
<RTRUE>)>
<TELL C ,SP>
<SET X ,OFFERS>
<COND (<NOT <IN? .OBJ .CASE>>
<SET X ,USED-OFFERS>)>
<TELL <PICK-NEXT .X> N .VAL " zorkmid">
<COND (<NOT <EQUAL? .VAL 1>>
<TELL "s">)>
<TELL ,PERQ>
<RTRUE>>
<ROUTINE SECRET-VIRTUE (OBJ)
<TELL ,CTHELADY " scrutinizes " THE .OBJ
" with care. \"Hmm,\" she mutters. \"There may be a virtue in this ">
<PRINTD .OBJ>
<TELL
" beyond its simple face value. Perhaps you should bring it to the ">
<PRINT "Magick Shoppe in Gurth City">
<TELL ,PERQ>
<RTRUE>>
<GLOBAL IDING:OBJECT <>>
<ROUTINE DO-ID ()
<COND (<NOT <IS? ,IDING ,IDENTIFIED>>
<MAKE ,IDING ,IDENTIFIED>
<WINDOW ,SHOWING-ALL>)>
<TELL "\"" <PICK-NEXT ,AH-YESSES> D ,IDING ". ">
<RFALSE>>
<ROUTINE ASK-OWOMAN-FOR (OBJ "AUX" X L)
<SEE-CHARACTER ,OWOMAN>
<SET L <LOC .OBJ>>
<COND (<NOT <EQUAL? .L ,OWOMAN>>
<COND (<VISIBLE? .OBJ>
<TELL "\"I see ">
<COND (<IS? .OBJ ,PLURAL>
<TELL B ,W?SOME>)
(T
<TELL B ,W?ONE>)>
<TELL " there ">
<SAY-WHERE .L>
<TELL ",\" smiles " THE ,OWOMAN ,PERIOD>
<RTRUE>)>
<TELL "\"I'm afraid I don't have " A .OBJ ,PERQ>
<RTRUE>)>
<NOT-SO-FAST ,OWOMAN>
<RTRUE>>
<ROUTINE NOT-SO-FAST (OBJ)
<TELL "\"Not so fast!\" laughs " THE .OBJ
", drawing away from you." CR>
<RTRUE>>
<ROUTINE GIVE-TO-OWOMAN (OBJ "AUX" X)
<SEE-CHARACTER ,OWOMAN>
<COND (<GIVING-LOOT? .OBJ ,OWOMAN>
<RTRUE>)>
<SET X <GET ,MAGIC-ITEMS 0>>
<COND (<SET X <INTBL? .OBJ <REST ,MAGIC-ITEMS 2> .X>>
<COND (<NOT <HERE? IN-MAGICK>>
<CANT-USE-HERE .OBJ "Magick Shoppe in Gurth City">
<RTRUE>)>
<TRADE-FOR-LOOT .OBJ>
<RTRUE>)>
<SET X <GET ,ARMOR-ITEMS 0>>
<COND (<SET X <INTBL? .OBJ <REST ,ARMOR-ITEMS 2> .X>>
<COND (<NOT <HERE? IN-BOUTIQUE>>
<CANT-USE-HERE .OBJ "boutique in Mizniaport">
<RTRUE>)>
<TRADE-FOR-LOOT .OBJ>
<RTRUE>)>
<SET X <GET ,WEAPON-ITEMS 0>>
<COND (<SET X <INTBL? .OBJ <REST ,WEAPON-ITEMS 2> .X>>
<COND (<NOT <HERE? IN-WEAPON>>
<CANT-USE-HERE .OBJ "weapon shop in Accardi">
<RTRUE>)>
<TRADE-FOR-LOOT .OBJ>
<RTRUE>)>
<TRADE-FOR-LOOT .OBJ>
<RTRUE>>
<ROUTINE CANT-USE-HERE (OBJ STR)
<TELL ,CTHELADY ,GLANCES-AT THE .OBJ
". \"Can't use this here,\" she mutters. \"Maybe the "
.STR " would be interested.\"" CR>