-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathextras.zil
More file actions
2303 lines (2207 loc) · 75.3 KB
/
Copy pathextras.zil
File metadata and controls
2303 lines (2207 loc) · 75.3 KB
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
"EXTRAS for
PLUNDERED HEARTS
(c) Copyright 1987 Infocom, Inc. All Rights Reserved."
<OBJECT CRULLEY ;"EVERYBIT = 1/2 fight in dungeon."
(DESC "Crulley") ;"DEADBIT = unconscious"
(DESCFCN CRULLEY-F) ;"MUNGBIT = down well"
(SYNONYM PIRATE CRULLEY HOOK)
(ADJECTIVE ANDREW ANDY)
(SIZE 10)
(FLAGS ACTORBIT NARTICLEBIT OPENBIT CONTBIT TRANSBIT)
(GENERIC GEN-PIRATE)
(ACTION CRULLEY-F)>
<ROUTINE CRULLEY-F ("OPTIONAL" (OARG <>) "AUX" X)
<COND (.OARG
<COND (<EQUAL? .OARG ,M-DESC?>
<RTRUE>)>
<TELL ,INDENT>
<COND (<EQUAL? ,HERE ,BEACH>
<TELL D ,CRULLEY " stands">
<COND (<G? ,LAFOND-CTR <- ,DEAD 1>>
<TELL ", pistol ready," ,HALFWAY>)
(T
;<G? ,LAFOND-CTR 4>
<TELL " with the dragoons.">)>)
;"Less than 4, in ENDGAME, Crulley handled in LAFOND-F"
(<EQUAL? ,HERE ,CABIN>
<TELL D ,CRULLEY " the pirate">
<COND (<FSET? ,CRULLEY ,DEADBIT>
<TELL " lies unconscious on the floor.">)
(T
<TELL ", hook raised, leering, comes toward you.">)>)>)
(<EQUAL? ,CRULLEY ,WINNER>
<COND (<FSET? ,CRULLEY ,DEADBIT>
<TELL ,DOESNT-RESPOND>)
(<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>>
<COND (<NOUN-USED ,W?HOOK ,CRULLEY>
<TELL
"He snarls at the memory, \"'Twere bit off by a monster crocodile.\"" CR>)
(<PRSI? ,LAFOND>
<TELL
"\"'E's a hard 'un, who won't take no guff. But 'e pays well">
<COND (<NOT <FSET? ,BEACH ,TOUCHBIT>>
<TELL " -- er, so I hear">)>
<TELL ".\"" CR>)
(T
<TELL D ,CRULLEY " ignores you" ,PCR>)>
<STOP>)
(<VERB? HELLO>
<TELL "\"Har-har.\"" CR>)
(<AND <VERB? KISS>
<PRSO? ,ME>>
<TELL
"\"Wi' a wannion! I likes me ladies forward!\"" CR>)
(<SET X <COM-CHECK ,CRULLEY>>
<COND (<==? .X ,M-FATAL> <RFALSE>)
(T <RTRUE>)>)
;(T
<TELL D ,CRULLEY
" cackles, his breath hot and pungent." CR>
<STOP>)>)
(<VERB? KILL CUT>
<COND (<FSET? ,CRULLEY ,DEADBIT>
<MAN-IS-DOWN>)
(<OR <NOT ,PRSI>
<PRSI? ,HANDS>>
<COND (<EQUAL? ,P-PRSA-WORD ,W?SLAP>
<TELL
"Slap! The pirate fingers the red welt left by" T ,HANDS ", and laughs." CR>)
(<AND <IN? ,COFFER ,PROTAGONIST>
<NOT ,PRSI>>
<PERFORM ,V?KILL ,CRULLEY ,COFFER>
<RTRUE>)
(<AND <IN? ,RAPIER ,PROTAGONIST>
<NOT ,PRSI>>
<PERFORM ,V?KILL ,CRULLEY ,RAPIER>
<RTRUE>)
(T
<CANT-HURT "dainty fists">)>)
(<PRSI? ,COFFER>
<SETG ATTACK-C <+ ,ATTACK-C 1>>
<SETG CRULLEY-HIT T>
<TELL
"With all your strength you whack the pirate" ,OVER-HEAD TR ,PRSI>
<MOVE ,PROTAGONIST ,HERE> ;"in case you're in bed"
<DEQUEUE I-CRULLEY>
<I-CRULLEY>)
(<PRSI? ,RAPIER>
<COND (<FSET? ,CRULLEY ,EVERYBIT>
<COND (<FSET? ,CRULLEY ,MUNGBIT>
<TELL
,YOU-CANT "very well reach" T ,CRULLEY " when he's down in" TR ,WELL>)
(T
<DEQUEUE I-CDUNG>
<SETG SCORE <+ ,SCORE 1>>
<SETG CRULLEY-CTR 1>
<QUEUE I-CCLIMBS-UP 2>
<FSET ,CRULLEY ,MUNGBIT>
<FSET ,CRULLEY ,NDESCBIT>
<MOVE ,CRULLEY ,TRAP>
<REMOVE ,WHIP>
<TELL
"You flick" T ,RAPIER " across his chest, barely scratching him. He cries,
\"Avast me! Pricked by a woman!\" and trips into" TR ,TRAP
,INDENT "You peer down the hole to find " D ,CRULLEY " hanging in midair,
his hook caught in the rocks a few yards down. He curses and starts to
climb up the sheer slimy walls of" TR ,WELL>)>)
(T
<FSET ,CRULLEY ,EVERYBIT>
<TELL
D ,CRULLEY " seems more amazed than frightened of your attack, guessing
correctly that you hardly know the tip from the hilt of" T ,RAPIER
". He steps sideways in surprise, so he stands at" ,THE-EDGE TR ,TRAP>)>)
(T
<TELL
"You slap" T ,CRULLEY ,OVER-HEAD T ,PRSI ", to no effect" ,PCR>)>)
(<VERB? KISS>
<SETG WINNER ,CRULLEY>
<PERFORM ,V?KISS ,ME>
<SETG WINNER ,PROTAGONIST>
<RTRUE>)
(<VERB? KICK>
<CANT-HURT "slippered toes">)
(<VERB? THROW PUT PUT-ON THROW-AT>
<COND (<FSET? ,CRULLEY ,MUNGBIT>
<COND (<PRSO? ,RAPIER>
<PERFORM ,V?PUT ,RAPIER ,TRAP>
<RTRUE>)
(<PRSO? ,RETICULE>
<RFALSE>)
(T
<REMOVE ,PRSO>
<TELL
D ,CRULLEY " curses as" T ,PRSO " sails past him down into" TR ,WELL>)>)
(<PRSO? ,COFFER>
<PERFORM ,V?KILL ,CRULLEY ,PRSO>)
(T
<RFALSE>)>)
;(<AND <VERB? THROW>
<NOT <EQUAL? ,HERE ,DUNGEON>>>
<PERFORM ,V?KILL ,CRULLEY ,PRSO>
<RTRUE>)
(<VERB? SEARCH>
<COND (<FSET? ,CRULLEY ,DEADBIT>
<TELL "And dirty your lily hands? Never!" CR>)
(<FSET? ,CRULLEY ,MUNGBIT>
<CANT-REACH ,CRULLEY>)
(T
<TELL
"You are uncomfortably sure he would love to have you frisk him." CR>)>)
(<AND <VERB? GIVE>
<PRSO? ,BANKNOTE>
<NOT <EQUAL? ,HERE ,BEACH>>>
<TELL "He takes it, smiling blackly" ,PCR>)
(<VERB? EXAMINE>
<COND (<NOUN-USED ,W?HOOK ,CRULLEY>
<TELL "The hook replaces one of his hands." CR>)
(T
<TELL
"The pirate's unsavory face is crisscrossed with scars, and those not
from shaving nicks, to judge by his scruffy beard. A hook
replaces one of his hands at the end of a torn black sleeve" ,PCR>)>)>>
<GLOBAL CRULLEY-CTR 0>
<GLOBAL CRULLEY-HIT <>>
<GLOBAL ATTACK-C 0> ;"ATTACK-C, HEARD-CRULLEY, CRULLEY-BACK"
<GLOBAL HEARD-CRULLEY <>> ;"could, in emergencies, be made into one"
<GLOBAL CRULLEY-BACK 0> ;"wild-card global, set <> at intervals"
<ROUTINE I-CRULLEY ()
<TELL ,INDENT>
<COND (<AND <EQUAL? ,ATTACK-C 0>
<NOT <FSET? ,CRULLEY ,TOUCHBIT>>>
<QUEUE I-MEET-HERO 2>
<FSET ,CRULLEY ,TOUCHBIT>
<MOVE ,CRULLEY ,CABIN>
<QUEUE I-CRULLEY -1>
<FSET ,DOOR ,MUNGBIT>
<TELL
"Crash! You whirl around to see" T ,DOOR " shatter,
kicked by a hulking man, his twisted visage blackened with soot and blood. ">)
(<EQUAL? ,ATTACK-C 1>
;<QUEUE I-CRULLEY 1> ;"to fix ZIP20 Warning 15/7"
<TELL "The pirate stumbles, dizzy. ">)>
<COND (<EQUAL? ,ATTACK-C 2>
<FSET ,CRULLEY ,DEADBIT>
<TELL ,STUNNED-THE-SAILOR ,PCR>)
(T
<CRULLEY-SAYS>)>
<SETG CRULLEY-CTR <+ ,CRULLEY-CTR 1>>>
<GLOBAL STUNNED-THE-SAILOR "Stunned, Crulley collapses at your feet,
his eyes rolling">
<ROUTINE CRULLEY-SAYS ()
<TELL "\"" <GET ,MENACES ,CRULLEY-CTR> ",\" ">
<COND (<EQUAL? ,ATTACK-C 1>
<TELL "slurs">)
(T
<TELL "sniggers">)>
<TELL " the pirate">
<COND (<EQUAL? ,CRULLEY-CTR 1>
<TELL ". His breath is heavy with rum">)
(<PROB 60>
<TELL ", advancing toward you">)>
<TELL ,PCR>>
<GLOBAL MENACES
<TABLE
"Me name's Andy Crulley, and ladies learn to love me"
"Avast me, but ain't ye a beauty"
"They calls me Andy, but I'm really randy">>
;<ROUTINE old-CRULLEY-SAYS ("AUX" STRING)
<COND (<EQUAL? ,ATTACK-C 0>
<SET STRING "sniggers">)
(<EQUAL? ,ATTACK-C 1>
<SET STRING "slurs">)
;(T
<SET STRING "mumbles">)>
<TELL "\"" <GET ,MENACES ,CRULLEY-CTR> ",\" " .STRING " the pirate">
;<PICK-ONE ,MENACES>
<COND (<EQUAL? ,ATTACK-C 1>
<TELL ". His breath is heavy with rum">)
(<PROB 60>
<TELL ", advancing toward you">)>
<TELL ,PCR>>
<ROUTINE I-OVERHEAR-CRULLEY ()
<COND (<EQUAL? ,HERE ,CREWS-QUARTERS>
<SETG HEARD-CRULLEY T>
<FSET ,ANCHOR ,MUNGBIT>
<FSET ,LEVER ,MUNGBIT>
<QUEUE I-SEE-CRULLEY-ESCAPE 20>
<QUEUE I-LOOK-SEA 10>
<TELL ,INDENT
"\"I gotta let" T ,LAFOND " know 'e's comin'.\"" T ,CRULLEY " stands on deck
above, talking to himself, his voice floating down through" A ,GRATE " in"
T ,CEILING ". \"First, I do in the mates aboard-ship, with this and t'other
mischief,\" he grunts, and you hear a snapping noise, like a taut rope being
cut. \"Now to warn the boss and collect me pay. Off I go, har.\"
He dives into" TR ,SEA>)>>
;<ROUTINE old-I-OVERHEAR-CRULLEY ()
<COND (<NOT <EQUAL? ,HERE ,CREWS-QUARTERS>>
<RFALSE>)>
<SETG CRULLEY-CTR <+ ,CRULLEY-CTR 1>>
<COND (<EQUAL? ,CRULLEY-CTR 1>
<SETG HEARD-CRULLEY T>
<QUEUE I-OVERHEAR-CRULLEY 1>
<FSET ,ANCHOR ,MUNGBIT>
<FSET ,LEVER ,MUNGBIT>
<QUEUE I-SEE-CRULLEY-ESCAPE 20>
<QUEUE I-LOOK-SEA 10>
<TELL ,INDENT
"\"So now to let" T ,LAFOND " know 'e's comin'.\"" T ,CRULLEY "'s whisper
floats down through the grate in the ceiling. \"I do in the mates
aboard-ship, and warn the boss; then we'll see who's doin' the flogging,
Falcon, on you 'n the old man down in the dungeon.\"" CR>)
(<AND <EQUAL? ,CRULLEY-CTR 2>
<EQUAL? ,HERE ,CREWS-QUARTERS>>
<TELL ,INDENT
D ,CRULLEY " seems to be alone, muttering to himself. \"" D ,LAFOND
" pays me more for spying than Falcon pays me to get flogged.\"
You hear a snapping noise, like a taut rope being cut. \"One last mischief
to keep 'em busy! And off I go, har.\" He splashes quietly into" TR ,SEA>)
(T
<RFALSE>)>>
<ROUTINE I-SEE-CRULLEY-ESCAPE ()
<COND (<AND <SHIP-BOARD ,HERE>
<NOT <INNER-DECK ,HERE>>>
<TELL ,INDENT
"Your eyes are drawn to a flicker of light off the sea. Squinting,
you see a man swimming to shore, moonlight flashing off his hook.">
<COND (<EQUAL? ,HERE ,POOP ,QUARTERDECK ,MAIN-DECK ,FOCSLE>
<TELL
" A wisp of breeze brings an odor of onions and rum, and the occasional
gargling chuckle, \"...mischief, har...reefs.\"">)>
<CRLF>)
(T
<QUEUE I-SEE-CRULLEY-ESCAPE 3>)>>
<ROUTINE I-CDUNG ()
<COND (<L? ,CRULLEY-CTR 7>
<TELL ,INDENT D ,CRULLEY>
<COND (<EQUAL? ,CRULLEY-CTR 1>
<TELL " steps leering out of the shadows and">)>
<TELL
" cracks" T ,WHIP " near you, hopping you towards the open " D ,TRAP ". \"">
<COND (<AND ,CRULLEY-HIT
<EQUAL? ,CRULLEY-CTR 1>>
<QUEUE I-REPLY 2>
<SETG AWAITING-REPLY 17>
<TELL "Come to hit me agin, are ye?">)
(T
<SETG AWAITING-REPLY 2>
<QUEUE I-REPLY 2>
<TELL <PICK-ONE ,ABUSES>>)>
<TELL "\"" CR>)
(T
<TELL ,INDENT
D ,CRULLEY " snaps" T ,WHIP " around your neck,
jerking you sideways and down through" T ,TRAP ".">
<JIGS-UP ,FALL-TO-BOTTOM>)>
<SETG CRULLEY-CTR <+ ,CRULLEY-CTR 1>>>
<GLOBAL ABUSES
<LTABLE
0
"Would yer like a taste o' water?"
"What, afrighted of a lick o' the whip?"
"Leave yer honey be, wench. He'll join ye anon."
"Ye're a tasty doxy to let slip, but no 'elp fer it.">>
<ROUTINE I-CCLIMBS-UP ()
<QUEUE I-CCLIMBS-UP -1>
<SETG CRULLEY-CTR <+ ,CRULLEY-CTR 1>>
<COND (<EQUAL? ,CRULLEY-CTR 10>
<SETG CRULLEY-BACK T>
<FCLEAR ,CRULLEY ,NDESCBIT>
<DEQUEUE I-CCLIMBS-UP>
<COND (<NOT <EQUAL? ,HERE ,DUNGEON>>
<FCLEAR ,CRULLEY ,MUNGBIT>
<MOVE ,CRULLEY ,DUNGEON>
<RFALSE>)
(<NOT <FSET? ,TRAP ,OPENBIT>>
<TELL ,INDENT
"Roaring with anger," T ,CRULLEY " slaps" T ,TRAP " back on its hinges and">)
(T
<TELL ,INDENT D ,CRULLEY>)>
<TELL " leaps out of" T ,WELL ", seizing you.">
<JIGS-UP ,FALL-TO-BOTTOM>)
(<AND <PROB 50>
<EQUAL? ,HERE ,DUNGEON>>
<TELL ,INDENT
"Sounds of scraping hook against stone and curses echo out of" T ,WELL>
<COND (<NOT <FSET? ,TRAP ,OPENBIT>>
<TELL ", muffled by" T ,TRAP>)>
<TELL ,PCR>)>>
<OBJECT WHIP
(DESC "whip")
(SYNONYM WHIP)
(FLAGS TRYTAKEBIT)
(ACTION WHIP-F)>
<ROUTINE WHIP-F ()
<COND (<VERB? TAKE>
<TELL
D ,CRULLEY " snaps" T ,WHIP " near you. \"Get away wit' ye.\"" CR>)>>
<OBJECT DAVIS
(IN DEUX-DECK)
(DESC "Davis")
(LDESC
"Out of the smoke staggers Davis, tugging a bloodied knife from
the back of a pirate. Davis's eyes gleam white from a face blackened and
bloody, his lips dark red as if he has been drinking blood. He turns to
face you.")
(SYNONYM DAVIS)
(FLAGS ACTORBIT NARTICLEBIT)
(ACTION DAVIS-F)>
<ROUTINE DAVIS-F ()
<COND (<VERB? KILL KICK MUNG KISS>
<TELL D ,DAVIS " dodges." CR>)
(<VERB? EXAMINE>
<TELL D ,DAVIS " is ugly with fear." CR>)
(<EQUAL? ,DAVIS ,WINNER>
<FAILS-TO-NOTICE>)>>
<OBJECT COOKIE ;"MUNGBIT has asked you about hero"
(IN GALLEY) ;"DEADBIT in I-ENDGAME -- dead"
(DESC "Cookie") ;"EVERYBIT = Cookie searching library"
(DESCFCN COOKIE-F)
(SYNONYM COOKIE QUICK COOK RODNEY)
(ADJECTIVE RODNEY)
(SIZE 10)
(FLAGS NARTICLEBIT ACTORBIT CONTBIT OPENBIT TRANSBIT SEARCHBIT)
(ACTION COOKIE-F)>
<GLOBAL COOKIE-FIGHTING-CROC <>>
<ROUTINE COOKIE-F ("OPTIONAL" (OARG <>) "AUX" X)
<COND (.OARG
<COND (<EQUAL? .OARG ,M-DESC?>
<RTRUE>)>
<TELL ,INDENT>
<COND (<EQUAL? ,HERE ,GALLEY>
<TELL
"An entirely bald man sits here, carving into his peg leg">)
(,COOKIE-FIGHTING-CROC
<TELL
"The pool is roily with the writhing bodies of" T ,COOKIE " and" T ,CROC>)
(<AND <QUEUED? ,I-ENDGAME>
<EQUAL? ,HERE ,BEACH>>
<COND (<FSET? ,COOKIE ,DEADBIT>
<TELL
"Lucy cleans the sand from Quick's quiescent face, as Papa ">
<COND (<FSET? ,LAFOND ,DEADBIT>
<TELL "sneaks up the cliff stairs">)
(T
<TELL "stands nearby">
<COND (<IN? ,GARTER ,DAD>
<TELL ", holding" T ,GARTER>)>)>)
(T
<TELL
D, COOKIE ", Lucy and your father are moving towards" T ,SKIFF>)>)
(T
<TELL D ,COOKIE " chews anxiously at a cheroot">)>
<TELL ".">)
(<EQUAL? ,COOKIE ,WINNER>
<COND (<FSET? ,COOKIE ,DEADBIT>
<TELL ,DOESNT-RESPOND>)
(<VERB? READ>
<TELL
"\"I can't read! I'm a cook, not a gentleman!\"" CR>
<RTRUE>)
(<VERB? HELLO>
<TELL "\"Hullo -- boy!\" He winks at you" ,PCR>)
(<VERB? HELP SAVE-SOMETHING>
<COND (<EQUAL? ,HERE ,GALLEY>
<TELL
"\"Eh? Don't be panicking. We'll be fine.\"
He carves a smile into his leg" ,PCR>)
(T
<TELL
D ,COOKIE " grumbles, \"What d'ye think I'm trying to do!\"" CR>)>)
(<AND <VERB? FIX>
<PRSO? ,DAGGER>>
<TELL
"\"I never was able to sharpen that dagger.\"" CR>)
(<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>>
<COND (<PRSI? ,HERO>
<COND (<IN? ,HERO ,MANACLES>
<TELL "\"I'm tryin' to find him!\"" CR>)
(T
<TELL
"\"The Cap'n? I been with him since the war. Then came Lafond.\"" CR>)>)
(<PRSI? ,COOKIE>
<TELL
"\"'Rodney Quick's me name, cookin's me game.|
Lost me leg in sixty-eight, 'tis why I bake.|
Losin' me hearin' in every fight, but I've got me sight --|
And come our Good Lord's 1701, I'll lose me life to a ruffian's gun.'|
-- Old dame told me that. Leastways, I've several years left.\"" CR>)
(<PRSI? ,LAFOND>
<TELL
"\"He murdered Cap'n's brother and family these
three year'n past. Cap'n's been searching for a
time to avenge the dead ones, and now he's found it.\"" CR>)
(<PRSI? ,CRULLEY>
<TELL "\"Don't trust 'im. Never 'ave.\"" CR>)
(T
<TELL
D ,COOKIE " cocks an ear, \"Eh, what's that?\"" CR>)>
<STOP>)
(<AND <VERB? GIVE>
<PRSO? ME>
<IN? ,RAPIER ,COOKIE>>
<PERFORM ,V?TAKE ,RAPIER>
<RTRUE>)
(<AND <VERB? FOLLOW>
<PRSO? ,ME>>
<TELL "\"Foller you?">
<COND (<NOT <EQUAL? ,HERE ,GALLEY>>
<TELL " Anywheres">)>
<TELL "!\"" CR>)
(<AND <VERB? TAKE>
<PRSO? ,PAIR>
<EQUAL? ,HERE ,X-ROOM>>
<TELL
"\"No, lass. A lady don't use guns, and I've no need for one.\"" CR>)
(<SET X <COM-CHECK ,COOKIE>>
<COND (<==? .X ,M-FATAL> <RFALSE>)
(T <RTRUE>)>)
;(T
<FAILS-TO-NOTICE>
<STOP>)>)
(<VERB? EXAMINE>
<TELL
D ,COOKIE " is a grizzled old man with a peg-leg." CR>
;<COND (<FIRST? ,COOKIE>
<TELL " ">
<RFALSE>)
(T
<CRLF>)>)
;(<AND <VERB? ASK-FOR>
<PRSO? ,COOKIE>>
<COND (<HELD? ,PRSI ,COOKIE>
<MOVE ,PRSI ,PROTAGONIST>
<TELL "\"Take anything ye like.\"" CR>)
(T
<TELL "\"I hain't got none o' that!\"" CR>)>)
(<VERB? TELL-ABOUT>
<COND (<NOUN-USED ,W?GUNPOW ,SUPPLIES>
<TELL
"\"Clam chowder? Never make it -- too fancy.\"" CR>)
(<PRSI? ,REEFS>
<TELL
"\"We dropped the sea anchor -- no need to fear.\"" CR>)
(<PRSI? ,SUPPLIES>
<TELL
"\"Aye, you must mean the supplies in the hold.
Yep, that's where we store them.\"" CR>)
(<PRSI? ,HOLD ,FIRE>
<TELL
"\"Fire for the cold? I think it be too warm...\"" CR>)
(<PRSI? ,FUSE>
<TELL
"\"Lose sommat? I be always losing things.
Think there be thieves aboard.\"" CR>)
(<PRSI? ,HERO>
<COND (,COOKIE-FIGHTING-CROC
<FAILS-TO-NOTICE>)
(<HELD? ,HERO ,DUNGEON> ;<IN? ,HERO ,MANACLES>
<TELL
"\"Well, show me, lass!\" he grumbles" ,PCR>)
(T
<TELL
"\"He's a fine man, is Cap'n,\" he smiles" ,PCR>)>)
(T
<RFALSE>)>)
(<VERB? KISS>
<TELL "\"Nah, me pretty, ye belong to Cap'n.\"" CR>)
(<AND <VERB? GIVE>
<PRSO? ,BANKNOTE>>
<TELL
"\"I hain't no need fer that kind of money,\"
he waves away your offer" ,PCR>)
(<VERB? KILL MUNG CUT>
<COND (<FSET? ,COOKIE ,DEADBIT>
<MAN-IS-DOWN>)
(T
<TELL
"He holds you off, \"'Ere now, there's no call for that!\"" CR>)>)>>
;"Crulley-ctr serves for Cookie in this one instance."
<ROUTINE I-COOKIE ("OPTIONAL" (FIRST-MOVE <>))
<COND (.FIRST-MOVE
<SETG COOKIE-LOOKING <>>
<SETG QUESTIONER ,COOKIE>
<SETG AWAITING-REPLY 10>
<QUEUE I-REPLY 2>
<QUEUE I-COOKIE <COND (,CLOCK-WAIT 1) (T 2)>>
<MOVE ,COOKIE ,HERE>
<FSET ,COOKIE ,MUNGBIT>
<SETG CRULLEY-CTR 0>
<TELL ,INDENT
D ,COOKIE " rushes up to you, looking worried.
\"Miss, we must find the Cap'n. Have ye any idea where to look?\"" CR>)
(<NOT <IN? ,COOKIE ,HERE>>
<DEQUEUE I-COOKIE>)
(<OR <EQUAL? ,REACTION ,REACTION-POSITIVE>
<VERB? WALK>>
<TELL ,INDENT D ,COOKIE
" grins broadly, \"I knew we could depend on you, lass. Lead on!\"" CR>)
(<EQUAL? ,CRULLEY-CTR 2> ;"gives you a couple chances"
<MOVE ,COOKIE ,LIBRARY> ;" to say no."
<COND (<EQUAL? ,REACTION ,REACTION-NEGATIVE>
<TELL ,INDENT
"\"Hell and damnation, I was afraid of that">)
(T
<TELL ,INDENT
"He harrumphs. \"So ye do not care fer him after all">)>
<TELL
"!\" " D ,COOKIE " orders the men to search, moving off himself.|">)
(T
<SETG QUESTIONER ,COOKIE>
<SETG AWAITING-REPLY 10>
<QUEUE I-REPLY 2>
<QUEUE I-COOKIE 1>
<TELL ,INDENT D ,COOKIE
" urges you, \"Think agin. Any idea?\"" CR>)>
<SETG CRULLEY-CTR <+ ,CRULLEY-CTR 1>>>
;<ROUTINE I-MOVE-GROUP ("AUX" GROUP-HERE NEW-HERE)
<SET GROUP-HERE <LOC ,COOKIE>>
<COND ;(<EQUAL? .GROUP-HERE ,BALLROOM>
<FSET ,VER-DOOR ,OPENBIT>
<SET NEW-HERE ,VERANDA>)
(<EQUAL? .GROUP-HERE ,VERANDA>
<SET NEW-HERE ,LAWN>)
(<EQUAL? .GROUP-HERE ,LAWN>
<SET NEW-HERE ,BEACH>
<DEQUEUE I-MOVE-GROUP>)
(T
<RFALSE>)>
<TELL ,INDENT>
<COND (<NOT <EQUAL? ,HERE .GROUP-HERE>>
<TELL
"Nicholas calls your name distantly and is shushed, as t">)
(T
<TELL "T">)>
<TELL "he group straggles on towards the beach">
<MOVE ,COOKIE .NEW-HERE>
<MOVE ,DAD .NEW-HERE>
<MOVE ,LUCY .NEW-HERE>
<MOVE ,HERO .NEW-HERE>
<TELL ,PCR>>
<OBJECT CREW
(IN LOCAL-GLOBALS)
(DESC "pirate")
(SYNONYM SAILOR PIRATE SEAMAN)
(SIZE 10)
(FLAGS ACTORBIT PLURALBIT ;NARTICLEBIT NDESCBIT)
(ACTION CREW-F)>
<ROUTINE CREW-F ()
<COND (<EQUAL? ,CREW ,WINNER>
<COND (<VERB? HELLO>
<TELL "He grins at you toothlessly" ,PCR>)
(<AND ,ENDGAME
<VERB? WHERE FIND>
<PRSO? ,COOKIE ,HERO>>
<PERFORM ,V?TELL-ABOUT ,ME ,PRSO>
<RTRUE>)
(<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>>
<COND (<AND ,ENDGAME
<PRSI? ,COOKIE ,HERO>>
<COND (<PRSI? ,COOKIE>
<TELL "\"'E went">)
(T
<TELL "\"Cookie be">)>
<TELL " a-lookin' for Cap'n.\"" CR>)
(<PRSI? ,LAFOND>
<TELL "\"'E be an evil man, I do hear.\"" CR>)
(T
<FAILS-TO-NOTICE>)>)
(T
<TELL
"\"I'm busy. Do it yerself, boy.\" He cuffs you aside." CR>)>
<STOP>)
(<VERB? EXAMINE>
<TELL D ,HERO "'s crew are a ragged, toothless bunch,
all sporting jagged scars. Despite their abhorrent appearances, they call
friendlily to each other" ,PCR>)>>
<OBJECT LUCY
(IN KITCHEN)
(DESC "Lucy")
(DESCFCN LUCY-F)
(SYNONYM WOMAN COOK LUCY)
(ADJECTIVE BLOND)
(SIZE 10)
(FLAGS ACTORBIT CONTBIT OPENBIT FEMALEBIT NARTICLEBIT)
(ACTION LUCY-F)>
<ROUTINE LUCY-F ("OPTIONAL" (OARG <>))
<COND (.OARG
<COND (<EQUAL? .OARG ,M-DESC?>
<RTRUE>)>
<COND (<EQUAL? ,HERE ,KITCHEN>
<TELL ,INDENT>
<COND (<FSET? ,LUCY ,TOUCHBIT>
<TELL D ,LUCY>)
(T
<TELL "A blond woman">)>
<COND (<RUNNING? ,I-LUCY>
<TELL " stands talking to you">)
(T
<TELL
" huddles alone by the fire, as if cold">)>
<TELL ".">)>)
(<EQUAL? ,LUCY ,WINNER>
<COND (<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>>
<COND (<NOUN-USED ,W?LIBRARY ,HOUSE>
<TELL
"\"I ain't allowed in that wing of" TR ,HOUSE>)
(<PRSI? ,LAFOND>
<TELL
"\"He's a regular lout who don't like my cooking.\"" CR>)
(T
<FAILS-TO-NOTICE>)
;(T
<TELL "\"Blusteration! I dunno!\"" CR>)>
<STOP>)
(<VERB? HELLO>
<TELL "She smiles" ,PCR>)
(<AND <VERB? KISS>
<PRSO? ,ME>>
<TELL "\"I hardly know you!\" she gasps." CR>)
(<SET OARG <COM-CHECK ,LUCY>>
<COND (<==? .OARG ,M-FATAL> <RFALSE>)
(T <RTRUE>)>)
;(T
<FAILS-TO-NOTICE>
<STOP>)>)
(<AND <VERB? TELL-ABOUT>
<PRSI? ,DAD>>
<COND (<FSET? ,DAD ,TOUCHBIT>
<TELL "\"Yes, he told me.\"" CR>)
(T
<SETG AWAITING-REPLY 2>
<QUEUE I-REPLY 2>
<TELL
"She yelps, \"Dear Dimsy, how can I save him?\"" CR>)>)
(<VERB? GIVE>
<COND (<AND <PRSO? ,GARTER>
<NOT <FSET? ,GARTER ,INVISIBLE>>>
<TELL
D ,LUCY " frowns. \"No, you silly boy! Give that to Dimsford!\"" CR>)
(<PRSO? ,BANKNOTE>
<TELL D ,LUCY
" slaps you hard across the face. \"I'm not that sort of girl!\"" CR>)>)
(<VERB? LISTEN>
<COND (<RUNNING? ,I-LUCY>
<TELL "You are listening to her!" CR>)
(T
<TELL "She talks a lot, but doesn't say much" ,PCR>)>)
(<AND <VERB? ASK-FOR>
<PRSI? ,GARTER>>
<PERFORM ,V?TAKE ,GARTER>
<RTRUE>)
(<VERB? EXAMINE>
<TELL
"Lucy is a very pretty woman, a few years your senior,
her yellow hair neatly arranged. She wears a cook's apron" ,PCR>)>>
<ROUTINE I-LUCY ()
<FCLEAR ,GARTER ,INVISIBLE>
<THIS-IS-IT ,GARTER>
<TELL ,INDENT
"\"I haven't found Lafond's papers, I'm watched too closely.
Tell Dimsford that I -- I'm scared, and I want him to come get me. Give this
to him -- he'll recognize it.\" Lucy slides" A ,GARTER " down her leg and
holds it out to you" ,PCR>>
<ROUTINE I-CATCH-KISS ()
<FCLEAR ,FOREST ,EVERYBIT>>
<OBJECT BUTLER ;"EVERYBIT means the butler is looking for you"
(IN FOYER) ;"MUNGBIT -- you didn't give bribe or invite"
(DESC "butler") ;"DEADBIT -- need I say anything?"
(DESCFCN BUTLER-F) ;"INDOORSBIT -- he's been bribed/invited"
(SYNONYM BUTLER)
(SIZE 10)
(FLAGS ACTORBIT OPENBIT SEARCHBIT)
(ACTION BUTLER-F)>
<ROUTINE BUTLER-F ("OPTIONAL" (OARG <>) "AUX" (CONTENTS 0))
<COND (.OARG
<COND (<EQUAL? .OARG ,M-DESC?>
<RTRUE>)>
<TELL ,INDENT CTHE ,BUTLER>
<COND (<NOT <FSET? ,BUTLER ,DEADBIT>>
<TELL " stands near the entrance to ">
<COND (<EQUAL? ,HERE ,FOYER>
<TELL "the ballroom">)
;(<EQUAL? ,HERE ,UPPER-HALL-E>
<TELL "Lafond's bedroom">)
(T
<TELL "the hallway">)>)
(T
<TELL " lies on the floor, prone and snoring loudly">)>
<TELL ".">)
(<EQUAL? ,BUTLER ,WINNER>
<COND (<FSET? ,BUTLER ,DEADBIT>
<TELL ,DOESNT-RESPOND>)
(<VERB? HELLO>
<TELL "He bows" ,PCR>)
(<AND <VERB? TAKE>
<PRSO? ,INVITE ,BANKNOTE
,BLUE-GLASS ,GREEN-GLASS>>
<SETG WINNER ,PROTAGONIST>
<PERFORM ,V?GIVE ,PRSO ,BUTLER>
<SETG WINNER ,BUTLER>
<RTRUE>)
(<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>
<PRSI? ,LAFOND>>
<COND (<OR <QUEUED? ,I-SUMMONS>
<NOT <FSET? ,LDOOR ,LOCKEDBIT>>>
<COND (<EQUAL? ,HERE ,LAFS-ROOM>
<TELL "\"He's gone for water, Miss.\"" CR>)
(T
<TELL
"\"He's awaiting you now, Miss. In his room.\"" CR>
<MOVE ,LAFOND ,LAFS-ROOM>)>)
(<EQUAL? ,DANCED-WITH ,LAFOND>
;<NOT <IN? ,DAD ,CELL-4>>
<TELL
"\"He has retired to his room, and requests not to be disturbed.\"" CR>)
(T
<TELL
"\"The governor is in the ballroom, Miss.\"" CR>)>)
;(<IN? ,INVITE ,BUTLER>
<TELL CTHE ,BUTLER " affects not to hear you." CR>
<STOP>)
(<SET OARG <COM-CHECK ,BUTLER>>
<COND (<==? .OARG ,M-FATAL> <RFALSE>)
(T <RTRUE>)>)
;(T
<I-BUTLER T>)>)
(<VERB? EXAMINE>
<TELL CTHE ,BUTLER
", scarred and burly, looks uncomfortable in his formal blacks,
as if he'd prefer the rags of a pirate">
<COND (<FSET? ,BUTLER ,DEADBIT>
<TELL ". He lies snoring on the floor">)>
<TELL ,PCR>)
(<FSET? ,BUTLER ,DEADBIT>
<COND (<VERB? SEARCH>
<TELL ,NOTHING-NEW>)
(<NOT <VERB? TELL ASK-ABOUT HELLO>>
<TELL ,DOESNT-RESPOND>
<RTRUE>)>)
(<VERB? GIVE SHOW>
<COND (<PRSO? ,INVITE ,BANKNOTE>
<BRIBE-BUTLER ,PRSO>)
(<PRSO? ,BLUE-GLASS ,GREEN-GLASS>
<TELL "He looks pleased">
<COND (<EQUAL? <GETP ,PRSO ,P?CONTENTS> 0 ,POISONED>
<TELL
", then disappointed. \"There's no wine in that glass, Ma'am.\"" CR>
<RTRUE>)
(<EQUAL? <GETP ,PRSO ,P?CONTENTS> ,W-P>
<SETG DRUGGEE ,BUTLER>
<QUEUE I-WATCH-SLEEP 2>)>
<MOVE ,PRSO ,BUTLER>
<PUTP ,PRSO ,P?CONTENTS 0>
<TELL
". \"I am rather parched, Ma'am,\" he says, taking and emptying" TR ,PRSO>)
(T
<RFALSE>)>)
(<EQUAL? ,P-PRSA-WORD ,W?TIP>
<COND (<HELD? ,BANKNOTE>
<BRIBE-BUTLER ,BANKNOTE>)
(T
<TELL "You have nothing to do that with." CR>)>)>>
<GLOBAL BUTLER-CTR 0>
<ROUTINE I-BUTLER ("OPTIONAL" (CALLED-BY-BUTLER-F <>))
<SETG BUTLER-CTR <+ ,BUTLER-CTR 1>>
<COND (.CALLED-BY-BUTLER-F
<QUEUE I-BUTLER 2>)
(T
<QUEUE I-BUTLER -1>)>
<COND (<NOT <EQUAL? ,HERE ,FOYER>> ;"You can only bother him"
<SETG AWAITING-FAKE-ORPHAN <>> ;"X times. And if you enter,"
<DEQUEUE I-BUTLER> ;"then leave, dequeue, but N+1"
<RFALSE>)
(<NOT <FSET? ,GOWN ,WORNBIT>> ;"added so you won't get"
<RFALSE>)> ;"Your invite? ... kicks you out"
<COND (<NOT .CALLED-BY-BUTLER-F>
<TELL ,INDENT>
<TELL "\"">)>
<COND ;(<FSET? ,BUTLER ,MUNGBIT>
<TELL ,NO-LOITERING ,PUSHING-YOU-OUT CR>
<GOTO ,MAIN-ENTRANCE>)
(T
<COND (<EQUAL? ,BUTLER-CTR 3 ;5>
<DEQUEUE I-BUTLER>
<FSET ,BUTLER ,MUNGBIT>
<TELL ,YOULL-HAVE-TO
"hope to be invited to the next party,\" smirks"
T ,BUTLER ,PUSHING-YOU-OUT CR>
<GOTO ,MAIN-ENTRANCE>)
(T
<TELL
"Your invitation, Miss?\" says" T ,BUTLER>
<COND (<EQUAL? ,BUTLER-CTR 4>
<TELL " snapping his fingers">)
(T
<TELL " bowing">)>
<TELL ,PCR>)>)>>
<ROUTINE BRIBE-BUTLER (GRAFT)
<MOVE .GRAFT ,BUTLER>
<COND (<FSET? ,BUTLER ,INDOORSBIT> ;"he's been bribed/invite already"
<TELL
"He takes" T .GRAFT " and bows. \"Thank you, Miss">
<COND (<EQUAL? .GRAFT ,INVITE>
<TELL " Davis">)>
<TELL ".\"" CR>)
(T
<FSET ,BUTLER ,INDOORSBIT>
<FCLEAR ,BUTLER ,MUNGBIT> ;"Stop 'No Loitering' interrupt"
<DEQUEUE I-BUTLER>
<SETG SCORE <+ ,SCORE 1>>
<TELL CTHE ,BUTLER " takes" T .GRAFT>
<COND (<EQUAL? .GRAFT ,BANKNOTE>
<TELL " and secrets it away">)>
<TELL ". \"Enjoy the dance, Miss">
<COND (<EQUAL? .GRAFT ,INVITE>
<TELL " Davis">)>
<TELL ".\"" CR>)>>
<OBJECT DANCERS
(IN LOCAL-GLOBALS)
(DESC "dancer")
;(DESCFCN DANCERS-F)
(SYNONYM WOMAN MEN LADY LADIES)
(ADJECTIVE DANCER)
(SIZE 10)
(FLAGS ACTORBIT)
(ACTION DANCERS-F)>
<ROUTINE DANCERS-F ()
<COND (<EQUAL? ,DANCERS ,WINNER>
<COND (,ENDGAME
<TELL CTHE ,DANCERS " looks away, terrified." CR>)
(<VERB? HELLO>
<TELL
"A dancer smiles nervously and looks away" ,PCR>)
(<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>>
<COND (<PRSI? ,LAFOND>
<TELL
"\"He's such a good host! I've never been to such a fine party! I'm so glad
he is our governor.\" You have never seen anyone so nervous before" ,PCR>)
(T
<TELL
"Nobody seems inclined to chat with you" ,PCR>)>
<STOP>)>)
(<OR <VERB? DANCE>
<AND <VERB? ASK-FOR>
<PRSI? ,BALLROOM>>>
<TELL
"A man regretfully shakes his head.
\"We haven't been introduced by the governor.\"" CR>)
(<AND <VERB? ASK-FOR>
<PRSI? ,BALLROOM>>
<PERFORM ,V?DANCE ,DANCERS>
<RTRUE>)
(<VERB? EXAMINE>
<TELL
CTHE ,DANCERS "s are dressed in powdered wigs and heavy jewels.
All seem paler than fashion and the tropics would decree,
and rather nervous" ,PCR>)>>
<GLOBAL DAD-KISS "He kisses your forehead.|">
<OBJECT DAD
(IN CELL-4)
(DESC "your father")
(DESCFCN DAD-F)
(SYNONYM DAD PAPA FATHER DIMSFORD)
(ADJECTIVE ERNEST RYALL MY)
(SIZE 10)
(FLAGS ACTORBIT NARTICLEBIT CONTBIT OPENBIT NDESCBIT)
(ACTION DAD-F)>
<ROUTINE DAD-F ("OPTIONAL" (OARG <>))
<COND (.OARG
<COND (<EQUAL? .OARG ,M-DESC?>
<RTRUE>)>
<TELL ,INDENT "Your father calmly stands nearby.">)
(<EQUAL? ,DAD ,WINNER>
<COND ;(<AND <VERB? READ>
<PRSO? ,SCRAP-OF-PAPER>>
<PERFORM ,V?TELL-ABOUT ,ME ,SCRAP-OF-PAPER>
<RTRUE>)
(<AND <VERB? TELL-ABOUT>
<PRSO? ,ME>>
<COND (<PRSI? ,GARTER>
<TELL "\"That belongs to -- a friend.\"" CR>)
(T
<TELL
"\"My dear,\" he says rather impatiently, \"There are people waiting for our
help -- I haven't time to answer your questions just now.\"" CR>)>
<STOP>)
(<VERB? I-LOVE-YOU>
<COND (<PRSI? ,EYES>
<TELL ,DAD-KISS>)
(<PRSI? ,HERO>
<TELL "\"I hoped you would,\" he smiles." CR>)
(<PRSI? ,LAFOND>
<TELL "\"My poor doomed daughter!\"" CR>)
(T
<FAILS-TO-NOTICE>)>)
(<AND <VERB? FOLLOW>
<PRSO? ,ME>>
<TELL "\"Lead on, daughter!\"" CR>)
(<VERB? HELLO>
<TELL ,DAD-KISS>)
(<SET OARG <COM-CHECK ,DAD>>
<COND (<==? .OARG ,M-FATAL> <RFALSE>)
(T <RTRUE>)>)
;(T
<FAILS-TO-NOTICE>
<STOP>)>)
(<AND <VERB? ASK-FOR>
<PRSI? ,GARTER>>
<PERFORM ,V?TAKE ,GARTER>
<RTRUE>)