-
Notifications
You must be signed in to change notification settings - Fork 11
/
dome.zil
1801 lines (1670 loc) · 55.2 KB
/
dome.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
"DOME for SEASTALKER
Copyright (C) 1984 Infocom, Inc. All rights reserved."
<GLOBAL URS "Undersea Research Station">
<OBJECT AQUADOME
(IN GLOBAL-OBJECTS)
(DESC "Aquadome")
(ADJECTIVE UNDERSEA UNDERWATER RESEARCH AQUA PLASTIC TRANSPARENT)
(SYNONYM AQUADOME DOME STATION)
(ACTION AQUADOME-F)
(FLAGS VOWELBIT)
(VALUE 5)>
<ROUTINE AQUADOME-F ()
<COND (<OR <VERB? FIND WHAT>
<AND <VERB? ASK-ABOUT> <FSET? ,PRSO ,PERSON>>>
<COND (<AND <==? ,NOW-TERRAIN ,SEA-TERRAIN> <==? ,HERE ,SUB>>
<PERFORM ,V?FIND ,PLAYER>
<RTRUE>)
(,SUB-IN-OPEN-SEA
<TELL
"Its location is stored in the " D ,AUTO-PILOT "'s computer memory." CR>)
(<AND <NOT ,SUB-IN-DOME>
<NOT <==? ,NOW-TERRAIN ,SEA-TERRAIN>>>
<TELL
"\"The " D ,AQUADOME " encloses the " ,URS " of " D
,IU-GLOBAL ", on the ocean floor off the Atlantic coast. Most " LN "
subs can reach it by " D ,AUTO-PILOT ".\"" CR>)>)
(<AND <VERB? EXAMINE> <NOT <L? ,DISTANCE-FROM-BAY ,AQUADOME-VISIBLE>>>
<SETG P-WON <>>
<TELL <GETP ,LOCAL-SUB ,P?TEXT> CR>)
(<VERB? LOOK-INSIDE LOOK-OUTSIDE>
<PERFORM ,PRSA ,WINDOW>
<RTRUE>)
(<VERB? THROUGH>
<COND (<EQUAL? ,HERE ,SUB ,CRAWL-SPACE>
<TELL "Wait until you're close enough." CR>)>)
(<VERB? WALK-AROUND>
<COND (<AND <GO-NEXT ,IN-DOME-AROUND> <NOT <==? ,WINNER ,PLAYER>>>
<OKAY>)>
<RTRUE>)
(<VERB? WALK-TO>
<COND ;(<==? ,NOW-TERRAIN ,SEA-TERRAIN>
<TELL "Use this information: ">
<PERFORM ,V?FIND ,PLAYER>
<RTRUE>)
(,SUB-IN-DOME
<TELL "You're in it!" CR>)
(,SUB-IN-OPEN-SEA ;<FSET? ,AUTO-PILOT ,ONBIT>
<TELL "Let the " D ,AUTO-PILOT " handle that." CR>)
(T <TELL "First you must reach the open sea." CR>)>)>>
<ROUTINE IN-DOME? (RM)
<COND (<EQUAL? .RM ,SUB ,CRAWL-SPACE> ,SUB-IN-DOME)
(<ZMEMQ .RM ,IN-DOME-AROUND> T)>>
<ROUTINE AIR-ROOM? (RM)
<OR <EQUAL? .RM ,FOOT-OF-RAMP ,AIRLOCK ,AIRLOCK-WALL>
<EQUAL? .RM ,CENTER-OF-DOME ,OUTSIDE-ADMIN-BLDG>
<EQUAL? .RM ,BLY-OFFICE ,SUB>>>
<ROUTINE THROUGH-ROOF? (RM "OPTIONAL" (HR <>))
<COND (<NOT .HR> <SET HR ,HERE>)>
<COND (<EQUAL? .HR ,SUB ,CRAWL-SPACE ,AIRLOCK>
<NOT <EQUAL? .RM ,SUB ,CRAWL-SPACE ,AIRLOCK>>)
(T <EQUAL? .RM ,SUB ,CRAWL-SPACE ,AIRLOCK>)>>
<OBJECT WINDOW
(IN LOCAL-GLOBALS)
(DESC "window")
(SYNONYM WINDOW)
(FLAGS NDESCBIT WINDOWBIT LOCKED)
(ACTION WINDOW-F)>
<ROUTINE WINDOW-F ("AUX" ;(RM <WINDOW-ROOM ,HERE ,PRSO>) POP)
<COND (<VERB? BRUSH>
<TELL
"The window is clean enough without your interference." CR>)
(<VERB? EXAMINE>
<TELL
"The window is a simple plastic sheet, giving a view of the dome outside."
CR>)
(<VERB? LOOK-INSIDE LOOK-OUTSIDE>
<COND (<0? ,SNARK-ATTACK-COUNT>
<TELL "You can see the dome outside." CR>)
(T
;<MOVE-HERE-NOT-SUB ,BLY>
<MOVE ,BLY ,HERE>
<TELL ;" to the southeast"
"The " D ,AQUADOME "'s search lights probe the ocean, but
the " D ,GLOBAL-WATER " is too murky for the beams to penetrate.|
\"Tip's right!\" " D ,BLY " says. \"That must be the " D ,SNARK " out there.
Its tentacles churned up silt from the seabed that way during its first
attack, "FN"!\"" CR>)>)
(<VERB? MUNG>
<TELL
"Vandalism is for vandals, not famous inventors!" CR>)
(<VERB? OPEN CLOSE LOCK UNLOCK>
<TELL "The window can't be opened." CR>)>>
<OBJECT EXERCISE-TRACK
(IN GLOBAL-OBJECTS)
(DESC "exercise track")
(ADJECTIVE RUNNING JOGGING EXERCISE)
(SYNONYM TRACK)
(FLAGS VOWELBIT)
(ACTION EXERCISE-TRACK-F)>
<ROUTINE EXERCISE-TRACK-F ()
<COND (<VERB? FIND THROUGH WALK-TO>
<COND (,SUB-IN-DOME ;<IN-DOME? ,HERE>
<TELL "You don't need exercise!" CR>)>)>>
[
<GLOBAL AIRLOCK-FULL T>
<ROOM AIRLOCK
(IN ROOMS)
(ADJECTIVE DOCKING)
(SYNONYM TANK AREA ROOM ;AIRLOCK DOCK)
(DESC ;"airlock" "docking tank")
(FLAGS RLANDBIT ONBIT)
(NORTH TO AIRLOCK-WALL IF AIRLOCK-ROOF IS OPEN)
(UP TO AIRLOCK-WALL IF AIRLOCK-ROOF IS OPEN)
(OUT TO AIRLOCK-WALL IF AIRLOCK-ROOF IS OPEN)
(DOWN TO SUB IF SUB-DOOR IS OPEN)
(IN TO SUB IF SUB-DOOR IS OPEN)
(SOUTH TO SUB IF SUB-DOOR IS OPEN)
(GLOBAL LOCAL-SUB SUB-DOOR AIRLOCK-RAMP AIR-SUPPLY-SYSTEM-GLOBAL)
(VALUE 1)
(ACTION AIRLOCK-F)>
<ROUTINE AIRLOCK-F ("OPTIONAL" (RARG <>))
<COND (<EQUAL? .RARG ,M-ENTER>
<COND (<OR ,GREENUP-ESCAPE ,GREENUP-TRAPPED>
<MOVE ,LOWELL ,HERE>
<MOVE ,ANTRIM ,HERE>
<TELL "Two of the crew are with you." CR>)>)
(<==? .RARG ,M-LOOK>
<TELL "You're now in the " D ,AIRLOCK", at the foot of the ramp." CR>)
(.RARG <RFALSE>)
(<AND <REMOTE-VERB?> <NOT <VERB? THROUGH WALK-TO>>>
<RFALSE>)
(<AND <NOT ,SUB-IN-DOME> <NOT <SUB-OUTSIDE-AIRLOCK?>>>
<NOT-HERE ,AIRLOCK>)
(<VERB? EMPTY>
<COND (<NOT ,AIRLOCK-FULL>
<ALREADY ,AIRLOCK "empty">)
(<FSET? ,AIRLOCK-HATCH ,OPENBIT>
<YOU-CANT <> ,AIRLOCK-HATCH "open">)
(<OR <EQUAL? ,HERE ,SUB ,CRAWL-SPACE>
<EQUAL? ,HERE ,BLY-OFFICE ,FOOT-OF-RAMP>>
<ENABLE <QUEUE I-AIRLOCK-EMPTY 2>>
<TELL "This will take 1 turn." CR>
;<COND (,GREENUP-ESCAPE
<COND (<G? 4 ,GREENUP-ESCAPE>
<TELL
"Meanwhile, Greenup can't get into the " D ,SUB " and escape. ">
<GREENUP-CUFF>)
(<G? 5 ,GREENUP-ESCAPE>
<QUEUE I-GREENUP-ESCAPE 0>
<SETG GREENUP-ESCAPE 0>
<SETG GREENUP-TRAPPED T>
<FCLEAR ,SUB-DOOR ,OPENBIT>
<TELL
"Meanwhile, the " D ,STATION-MONITOR
" reveals the " D ,SUB " resting in the cradle.
The " D ,SUB-DOOR " is closed.|
\"Looks as if Greenup is holed up inside the " D ,SUB ",\" says " D ,BLY ".
\"Shall I have the crew bring tools to force open the hatch?\"">
<COND (<YES?>
<TELL
"\"I have the tools, skipper,\" one of the crew reports moments later."
CR>)>)>)>
<RTRUE>)>)
(<VERB? FILL>
<COND (,AIRLOCK-FULL
<ALREADY ,AIRLOCK "full">
<RTRUE>)
(<NOT <FSET? ,AIRLOCK-ELECTRICITY ,ONBIT>>
<YOU-CANT <> ,AIRLOCK-ELECTRICITY "off">
<RTRUE>)
(<AIRLOCK-POP?>
<YOU-CANT <> ,AIRLOCK "full of people">
;<TELL
"You can't open the " D ,AIRLOCK-HATCH " with people in the " D ,AIRLOCK "!"
CR>
<RTRUE>)>
<COND (<NOT ,GREENUP-ESCAPE>
<COND (<FSET? ,SUB-DOOR ,OPENBIT>
<YOU-CANT <> ,SUB-DOOR "open">
;<TELL
"You can't open the " D ,AIRLOCK-HATCH " while the " D ,SUB-DOOR " is open."
CR>
<RTRUE>)>
<COND (<FSET? ,AIRLOCK-ROOF ,OPENBIT>
;<ENABLE <QUEUE I-DOME-FLOODED 2>>
<THIS-IS-IT ,AIRLOCK-ROOF>
<TELL
"A safety mechanism prevents it. The " D ,AIRLOCK-ROOF " is open!" CR>
<RTRUE>)>)>
<COND (<AND ,GREENUP-ESCAPE <G? 4 ,GREENUP-ESCAPE>>
<TELL
"Greenup is frantically scrambling back up the ladder to avoid being
swept off and drowned! ">
<GREENUP-CUFF>
<TELL
"Tip immediately empties the " D ,AIRLOCK " again." CR>)
(<OR <EQUAL? ,HERE ,SUB ,CRAWL-SPACE>
<EQUAL? ,HERE ,BLY-OFFICE ,FOOT-OF-RAMP>>
<ENABLE <QUEUE I-AIRLOCK-EMPTY 2>>
<TELL "This will take 1 turn." CR>
<RTRUE>)>)
(<VERB? OPEN CLOSE>
;<COND (<VERB? FILL>
<TELL ,I-ASSUME " open the " D ,AIRLOCK-HATCH ".)" CR>)>
<PERFORM ,PRSA ,AIRLOCK-HATCH>
<RTRUE>)
(<VERB? THROUGH WALK-TO>
<COND (<AND <NOT ,SUB-IN-DOME> <EQUAL? ,HERE ,SUB ,CRAWL-SPACE>>
<TOO-BAD-BUT ,PRSO "too far away">
;<TELL "It's too far away." CR>
<RTRUE>)>
<SETG PRSO ,AIRLOCK>
<CHEERS?>
;<DO-WALK ,P?SOUTH>
<RFALSE>)>>
<ROUTINE CHEERS? ()
<COND (<AND <==? ,WINNER ,PLAYER>
<ZMEMQ ,HERE ,IN-DOME-AROUND>
<NOT <EQUAL? ,HERE ,AIRLOCK ,AIRLOCK-WALL>>>
<COND (<READY-FOR-SNARK?>
<TELL
"Cheers follow as you start up the ladder into the " D ,AIRLOCK "." CR>)>)>>
<ROUTINE I-AIRLOCK-EMPTY ()
<COND (,AIRLOCK-FULL
<COND (<FSET? ,AIRLOCK-HATCH ,OPENBIT> <RFALSE>)>
<SETG AIRLOCK-FULL <>>
<TELL CR
"The " D ,AIRLOCK " is now clear of " D ,GLOBAL-WATER " and filled with
air at sea-level pressure.">
<COND (<FSET? ,ENGINE ,ONBIT>
<FCLEAR ,ENGINE ,ONBIT>
<TELL " The engine shuts off.">)>
<COND (T ;<EQUAL? ,HERE ,SUB>
<FSET ,AIRLOCK-ROOF ,OPENBIT>
<THIS-IS-IT ,SUB-DOOR>
<TELL CR
"The roof of the " D ,AIRLOCK " is sliding open, and the " D ,SUB
" is in dry dock.|
A ramp swings down from the top of the " D ,AIRLOCK "'s north wall to your "
D ,SUB-DOOR "." CR>
<RFATAL>)>)
(T
<SETG AIRLOCK-FULL T>
<TELL CR
"The " D ,AIRLOCK " is now filled with " D ,GLOBAL-WATER "." CR>
<COND (,SUB-IN-DOME
<TELL
"The adjustable cradle then releases the " D ,SUB "'s keel from its
grip." CR>)>)>>
<OBJECT GREENUP-LADDER
(IN AIRLOCK)
(DESC "emergency ladder")
(ADJECTIVE EMERGE)
(SYNONYM LADDER)
(FLAGS VOWELBIT NDESCBIT)
(ACTION GREENUP-LADDER-F)>
<ROUTINE GREENUP-LADDER-F ()
<COND (<VERB? BOARD ;ENTER CLIMB-DOWN CLIMB-ON CLIMB-UP THROUGH>
<TELL "The " D ,GREENUP-LADDER " is only for emergencies." CR>)>>
]
<OBJECT AIRLOCK-RAMP
(IN LOCAL-GLOBALS)
(DESC ;"airlock" "docking tank ramp")
(ADJECTIVE DOCKING TANK AIRLOCK)
(SYNONYM RAMP)
(ACTION AIRLOCK-RAMP-F)>
<ROUTINE AIRLOCK-RAMP-F ()
<COND (<AND <VERB? BOARD CLIMB-DOWN CLIMB-ON> <EQUAL? ,HERE ,AIRLOCK-WALL>>
<DO-WALK ,P?SOUTH>
<RTRUE>)
(<AND <VERB? BOARD CLIMB-UP CLIMB-ON> <EQUAL? ,HERE ,AIRLOCK>>
<DO-WALK ,P?NORTH>
<RTRUE>)>>
<ROOM AIRLOCK-WALL
(IN ROOMS)
(DESC ;"airlock" "docking tank entrance")
(ADJECTIVE DOCKING TANK AIRLOCK)
(SYNONYM ENTRANCE)
(FLAGS RLANDBIT ONBIT)
(DOWN "You can go down to the north or south.")
(SOUTH TO AIRLOCK IF AIRLOCK-ROOF IS OPEN)
(OUT TO AIRLOCK IF AIRLOCK-ROOF IS OPEN)
(IN TO FOOT-OF-RAMP)
(NORTH TO FOOT-OF-RAMP)
(GLOBAL LOCAL-SUB ;SUB-DOOR AIRLOCK-RAMP AIRLOCK-LADDER
AIR-SUPPLY-SYSTEM-GLOBAL)
(ACTION AIRLOCK-WALL-F)
;(LINE 2)
;(STATION FOOT-OF-RAMP)
(CORRIDOR *1000*)>
<ROUTINE AIRLOCK-WALL-F ("OPTIONAL" (ARG <>))
<COND (<==? .ARG ,M-LOOK>
<TELL
"You're now atop the north wall of the " D ,AQUADOME "'s " D ,AIRLOCK "."
CR>
<TELL
"This gives you a bird's-eye view of the whole " ,URS " of "
D ,IU-GLOBAL ".|
|
The dome is a transparent hemisphere made of plastic of great strength,
developed by you for this specific purpose. The dome encloses the four
attached buildings of the " ,URS ": the workshop/lab and dormitory in
the western half of the dome, and the administration and communication
buildings in the eastern half.|
">
<COND (<FSET? ,AIR-SUPPLY-SYSTEM ,MUNGBIT>
<TELL
"In the very center is the " D ,AIR-SUPPLY-SYSTEM ". This is in a cylinder that
runs from the floor to the top of the dome. It extracts oxygen from "
D ,GLOBAL-WATER "
and emits it through small holes around its base to keep the air fresh at all
times.|
">)>
<TELL
"A ladder goes from here down to the floor of the " D ,AQUADOME ",
outside the " D ,AIRLOCK "'s north wall.|
">
<COND (<AND <CREW-5-TOGETHER?>
<IN? ,CREW ,FOOT-OF-RAMP>
<NOT <FSET? ,BLY ,MUNGBIT>>>
<TELL D ,BLY " and her five " D ,CREW " are">
<COND (<NOT <FSET? ,FOOT-OF-RAMP ,TOUCHBIT>>
<TELL " waiting to greet you">)>
<TELL " at the foot of this ladder." CR>)>)>>
<OBJECT AIRLOCK-LADDER
(IN LOCAL-GLOBALS)
(DESC ;"airlock" "docking tank ladder")
(ADJECTIVE DOCKING TANK AIRLOCK)
(SYNONYM LADDER)
;(FLAGS VOWELBIT)
(ACTION AIRLOCK-LADDER-F)>
<ROUTINE AIRLOCK-LADDER-F ()
<COND (<AND <VERB? BOARD CLIMB-DOWN CLIMB-ON> <EQUAL? ,HERE ,AIRLOCK-WALL>>
<DO-WALK ,P?NORTH>
<RTRUE>)
(<AND <VERB? BOARD CLIMB-UP CLIMB-ON> <EQUAL? ,HERE ,FOOT-OF-RAMP>>
<DO-WALK ,P?SOUTH>
<RTRUE>)>>
<OBJECT CREW
(IN FOOT-OF-RAMP)
(DESC "Aquadome crew")
(ADJECTIVE AQUADOME ENTIRE)
(SYNONYM CREW DIVERS)
(FLAGS VOWELBIT NDESCBIT)
(ACTION CREW-F)>
<ROUTINE CREW-F ()
<COND (<AND <OR <NOT ,DOME-AIR-BAD?>
<NOT <FSET? ,AIR-SUPPLY-SYSTEM ,MUNGBIT>>>
<OR <AND <VERB? ASK-ABOUT>
<FSET? ,PRSO ,PERSON>
<IOBJ? CREW CREW-GLOBAL>>
<AND <VERB? WHAT> <DOBJ? CREW CREW-GLOBAL>>
<AND <VERB? TELL-ABOUT> <DOBJ? PLAYER>>>>
<TELL
"\"The crew consists of:|
Doctor Walt Horvak, marine biologist and first-aid medic;|
" D ,ANTRIM ", laser expert and frogman;|
" D ,SIEGEL ", electronics expert in charge of communications; and|
" D ,GREENUP " and " D ,LOWELL ", diver-technicians.\"" CR>)
(<AND <VERB? ASK ASK-ABOUT ASK-FOR TELL TELL-ABOUT>
<DOBJ? CREW>>
<TELL "You'd better talk to one crew member at a time." CR>
<RFATAL>)
(<AND <VERB? GOODBYE HELLO>
<DOBJ? CREW>>
<TELL D ,PRSO " nods at you." CR>)
(<VERB? DIAGNOSE EXAMINE>
<COND (,DOME-AIR-BAD?
<TELL
D ,BLY " and the two divers, Greenup and Lowell, are without
oxygen." CR>)
(T <TELL "All the crew members are okay now." CR>)>)>>
<OBJECT CREW-GLOBAL
(IN GLOBAL-OBJECTS)
(DESC "Aquadome crew")
(ADJECTIVE AQUADOME ENTIRE)
(SYNONYM CREW DIVERS)
(FLAGS VOWELBIT)
(ACTION CREW-GLOBAL-F)>
<ROUTINE CREW-GLOBAL-F ("AUX" L)
<COND (<AND <SPEAKING-VERB?>
<DOBJ? CREW-GLOBAL>>
<TELL "The " D ,CREW-GLOBAL>
<NOT-HERE-PERSON ,CREW>
<SETG P-CONT <>>
<RTRUE>)
(<VERB? WALK-TO>
<PERFORM ,PRSA ,CREW>
<RTRUE>)
(T <CREW-F>)>>
<OBJECT BADGE-GLOBAL
(IN GLOBAL-OBJECTS)
(DESC "badge")
(ADJECTIVE THIS THESE ;BILL BILL\'S GREENUP ;AMY AMY\'S LOWELL)
(SYNONYM BADGE BADGES)
(GENERIC GENERIC-BADGE-F)
(ACTION BADGE-GLOBAL-F)>
<OBJECT BADGE-GLOBAL-2
(IN GLOBAL-OBJECTS)
(DESC "badge")
(ADJECTIVE COMMANDER ;ZOE ZOE\'S BLY\'S ;MICK MICK\'S ANTRIM)
(SYNONYM BADGE BADGES)
(GENERIC GENERIC-BADGE-F)
(ACTION BADGE-GLOBAL-F)>
<OBJECT BADGE-GLOBAL-3
(IN GLOBAL-OBJECTS)
(DESC "badge")
(ADJECTIVE ;DOC DOC\'S ;WALT WALT\'S HORVAK ;MARV MARV\'S SIEGEL)
(SYNONYM BADGE BADGES)
(GENERIC GENERIC-BADGE-F)
(ACTION BADGE-GLOBAL-F)>
<ROUTINE GENERIC-BADGE-F (OBJ) ,BADGE-GLOBAL>
<ROUTINE BADGE-GLOBAL-F ()
<COND (<OR <NOT ,SUB-IN-DOME ;<IN-DOME? ,HERE>>
<NOT <FIND-FLAG ,HERE ,PERSON ,WINNER>>>
<NOT-HERE ,BADGE-GLOBAL-3>)
(<VERB? ANALYZE EXAMINE READ>
<EXAMINE-BADGE>
<CRLF>)>>
<ROUTINE EXAMINE-BADGE ()
<COND (,DOME-AIR-BAD?
<COND (<FSET? ,AIR-SUPPLY-SYSTEM ,MUNGBIT>
<TELL
"The badge is turning red! The air is becoming unbreathable!">)
(T <TELL
"The badge is less red now. The air is improving.">)>)
(T <TELL
"When a badge turns red, the air is no longer breathable.
It's not red now.">)>>
<GLOBAL DOME-AIR-BAD? <>>
<CONSTANT DOME-AIR-ONSET 11>
<CONSTANT INITIAL-DOME-AIR-BAD 1>
<CONSTANT EXCLAM-DOME-AIR-BAD 3>
<CONSTANT DOME-AIR-FIX-RATE 5>
<GLOBAL DOME-AIR-CRIME <>>
<GLOBAL HORVAK-FIXED-AIR <>>
<ROUTINE BAD-AIR? ()
<COND (<NOT ,DOME-AIR-BAD?> <RFALSE>)
(<NOT <FSET? ,AIR-SUPPLY-SYSTEM ,MUNGBIT>> <RFALSE>)
(<AIR-SUPPLY-VERB?> <RFALSE>)
(T
<TELL "Shouldn't you fix the " D ,AIR-SUPPLY-SYSTEM " first?" CR>)>>
<ROUTINE TROUBLE-BREATHING? ()
<COND (<VERB? WAIT-FOR WAIT-UNTIL>
<RFALSE>)
(<OR <NOT <IN? ,OXYGEN-GEAR ,PLAYER>>
<NOT <FSET? ,OXYGEN-GEAR ,ONBIT>>>
<TELL "You are having ">
<COND (<NOT <G? 13 ,DOME-AIR-BAD?>>
<TELL "real ">)>
<TELL "trouble breathing." CR>)>>
<ROUTINE TIP-REPORTS? ()
<COND (<AND <NOT <==? ,HERE ,CENTER-OF-DOME>>
<NOT <CORRIDOR-LOOK ,AIR-SUPPLY-SYSTEM>>>
<COND (<EQUAL? ,HERE ,SUB ,CRAWL-SPACE ,AIRLOCK>
<MOVE ,TIP ,AIRLOCK-WALL>)>
<TELL "Tip, who is standing near the exit, reports that ">)>>
<ROUTINE I-DOME-AIR ("OPTIONAL" (CALLED? <>) "AUX" X)
<COND (<FSET? ,AIR-SUPPLY-SYSTEM ,MUNGBIT>
<COND (<NOT ,DOME-AIR-BAD?>
<SETG DOME-AIR-BAD? ,INITIAL-DOME-AIR-BAD>
<SETG DOME-AIR-CRIME T>
;<COND (,DEBUG <TELL "[Air=" N ,DOME-AIR-BAD? "]" CR>)>
<ENABLE <QUEUE I-DOME-AIR -1>>
<SET X <VISIBLE? ,BLY>>
<FSET ,BLY ,MUNGBIT>
<FSET ,GREENUP ,MUNGBIT>
<FSET ,LOWELL ,MUNGBIT>
<COND (<NOT <TIP-REPORTS?>>
<TELL "Suddenly you realize that ">)>
<TELL
"Zoe is literally gasping for breath. Her face is turning reddish-purple!
She clutches her throat...|
Everyone">
<COND (.CALLED? T)
(<AND <IN? ,OXYGEN-GEAR ,PLAYER>
<FSET? ,OXYGEN-GEAR ,ONBIT>>
<TELL ", except you,">)
(T <TELL ", including yourself,">)>
<TELL " is having trouble breathing!" CR>
<RTRUE>)>
<TROUBLE-BREATHING?>
<SETG DOME-AIR-BAD? <+ 1 ,DOME-AIR-BAD?>>
;<COND (,DEBUG <TELL "[Air=" N ,DOME-AIR-BAD? "]" CR>)>
<COND (<==? 7 ,DOME-AIR-BAD?>
<TELL CR
"In 10 turns Bly, Greenup and Lowell, who were not carrying "
D ,OXYGEN-GEAR ", will suffocate from
lack of oxygen. In 20 turns, ">
<COND (<IN? ,OXYGEN-GEAR ,PLAYER> <TELL "you and the others">)
(T <TELL "those">)>
<TELL
" who do have " D ,OXYGEN-GEAR " will have exhausted their supply of
oxygen. Need we say more?" CR>)
(<==? 13 ,DOME-AIR-BAD?>
<TELL CR
"Zoe Bly and the two crew members without " D ,OXYGEN-GEAR " now
have only 4 TURNS left to live! Their lives depend on you, " FN "!" CR>
<COND (<AND <NOT <FSET? ,ACCESS-PLATE ,OPENBIT>>
<NOT <FSET? ,UNIVERSAL-TOOL ,TOUCHBIT>>>
<FSET ,UNIVERSAL-TOOL ,TOUCHBIT>
<FCLEAR ,UNIVERSAL-TOOL ,NDESCBIT>
<MOVE ,UNIVERSAL-TOOL ,PLAYER>
<TELL "Tip">
<COND (<NOT <IN? ,TIP ,HERE>>
<MOVE ,TIP ,HERE>
<TELL " runs up and">)>
<TELL
" gives you a " D ,UNIVERSAL-TOOL " and says, \"Here, " FN>
<COND (<FSET? ,CENTER-OF-DOME ,TOUCHBIT>
<TELL
", open the cylinder with this! It'll fit anything!\"" CR>)
(T <TELL
", maybe you can use this somehow.\"" CR>)>)>
<RTRUE>)
(<==? 17 ,DOME-AIR-BAD?>
<SET X <EQUAL? <LOC ,SPECIAL-TOOL> ,BLY-OFFICE ,HORVAK>>
<MOVE ,HORVAK ,CENTER-OF-DOME>
<TELL "|
At this desperate moment, ">
<TIP-REPORTS?>
<TELL D ,HORVAK " runs from the " D ,BLY-OFFICE>
<COND (<AND .X
<EQUAL? <LOC ,ELECTROLYTE-RELAY>
,AIR-SUPPLY-SYSTEM ,CENTER-OF-DOME ,HORVAK>>
<ENABLE <QUEUE I-BLY-PRIVATELY 3>>
<MOVE ,SPECIAL-TOOL ,HORVAK>
<FCLEAR ,SPECIAL-TOOL ,INVISIBLE>
<FSET ,SPECIAL-TOOL ,TOUCHBIT>
<REMOVE ,SPECIAL-TOOL-GLOBAL>
<FIX-AIR-SUPPLY>
<SETG HORVAK-FIXED-AIR T>
<TELL
". He's clutching an oddly-shaped gadget.|
">
<TIP-SAYS>
<TELL
"Hey, that's the " D ,SPECIAL-TOOL "!\"|
">
<COND (<NOT <FSET? ,ACCESS-PLATE ,OPENBIT>>
<FSET ,ACCESS-PLATE ,OPENBIT>
<FSET ,AIR-SUPPLY-SYSTEM ,OPENBIT>
<TELL
"Using the " D ,SPECIAL-TOOL ", " D ,HORVAK " quickly opens the "
D ,ACCESS-PLATE ". ">)>
<TELL
"Inside the cylinder, the " D ,ELECTROLYTE-RELAY " has come unscrewed and
fallen out of its socket. Horvak">
<COND (<NOT <IN? ,ELECTROLYTE-RELAY ,HORVAK>>
<TELL " takes it and">)>
<TELL
" screws it back in place; and within seconds, a fresh supply of oxygen
is flowing out into the " D ,AQUADOME "." CR>)
(T
<TELL ". He "
<COND (<==? ,HERE <LOC ,HORVAK>> "say")
(T "shout")>
"s, \"I never wanted it to go this far! I sabotaged the " D ,AIR-SUPPLY-SYSTEM
" to embarrass " D ,BLY ", but now I can't find the ">
<COND (.X <TELL D ,ELECTROLYTE-RELAY>)
(T <TELL D ,SPECIAL-TOOL>)>
<TELL
" to fix it!\"|
As Doc breaks down in tears and Bly suffocates, you realize there's no
point in continuing your mission.">
<FINISH>)>)>)
(T
<SETG DOME-AIR-BAD? <- ,DOME-AIR-BAD? ,DOME-AIR-FIX-RATE>>
;<COND (,DEBUG <TELL "[Air=" N ,DOME-AIR-BAD? "]" CR>)>
<COND (<NOT <L? 0 ,DOME-AIR-BAD?>>
<DISABLE <INT I-DOME-AIR>>
<ENABLE <QUEUE I-ANTRIM-TO-SUB 10>>
<SETG DOME-AIR-BAD? <>>
;<COND (,DEBUG <TELL "[Air=" N ,DOME-AIR-BAD? "]" CR>)>
<COND (<FSET? ,BLY ,MUNGBIT>
<FCLEAR ,BLY ,MUNGBIT>
<FCLEAR ,GREENUP ,MUNGBIT>
<FCLEAR ,LOWELL ,MUNGBIT>
<COND (<AND <VISIBLE? ,BLY>
<VISIBLE? ,GREENUP>
<VISIBLE? ,LOWELL>>
<COND (<NOT ,HORVAK-FIXED-AIR>
<TELL CR
D ,HORVAK " has just returned from the " D ,BLY-OFFICE ", where he went
to get Bly's " D ,OXYGEN-GEAR ", but it's no longer needed." CR>)>
<TELL CR
D ,BLY " is sitting up and her normal color has returned. Ditto
for Greenup and Lowell, who collapsed. All are recovering from their
temporary lack of air." CR>
<TELL-HINT 41 ;11 ,ELECTROLYTE-RELAY>
<RTRUE>)>)>)>)>>
<ROOM FOOT-OF-RAMP
(IN ROOMS)
(DESC "reception area")
(ADJECTIVE RECEPTION)
(SYNONYM AREA ROOM)
(FLAGS RLANDBIT ONBIT)
(NORTH TO CENTER-OF-DOME)
(SOUTH TO AIRLOCK-WALL)
(UP TO AIRLOCK-WALL)
(WEST TO OUTSIDE-DORM)
(EAST TO OUTSIDE-ADMIN-BLDG)
(ACTION FOOT-OF-RAMP-F)
(GLOBAL AIRLOCK-LADDER AIR-SUPPLY-SYSTEM-GLOBAL)
;(LINE 2)
;(STATION FOOT-OF-RAMP)
(CORRIDOR *3000*)>
<ROUTINE FOOT-OF-RAMP-F ("OPTIONAL" (ARG <>))
<COND (<==? .ARG ,M-BEG>
<COND (<VERB? WALK>
<COND (<DOBJ? P?SOUTH P?UP>
<CHEERS?>
<RFALSE>)>)>)
(<==? .ARG ,M-ENTER>
<COND (<OR <READY-FOR-SNARK?>
,GREENUP-ESCAPE
,GREENUP-TRAPPED>
<MOVE ,BLY ,HERE>
<MOVE ,ANTRIM ,HERE>
<MOVE ,HORVAK ,HERE>
<MOVE ,SIEGEL ,HERE>
<MOVE ,LOWELL ,HERE>
<COND (<OR ,GREENUP-ESCAPE ,GREENUP-TRAPPED>
<TELL
"The rest of the " D ,CREW " are with you." CR>)
(T <TELL
D ,BLY " and the others gather to shake your hand and wish you
luck on your perilous mission." CR>)>)
(<NOT ,BLY-WELCOMED>
<SETG BLY-WELCOMED T>
<TELL D ,BLY " says, \"">
<BLY-WELCOME>
<TELL "\"" CR>)>)
(<==? .ARG ,M-LOOK>
<COND (<AND <CREW-5-TOGETHER?>
<IN? ,CREW ,FOOT-OF-RAMP>
<NOT <FSET? ,BLY ,MUNGBIT>>>
<COND (<NOT <FSET? ,CREW ,TOUCHBIT>>
<FSET ,CREW ,TOUCHBIT>
<ENABLE <QUEUE I-BLY-PRIVATELY 15>>
<TELL
"You're now face-to-face with Zoe Bly and the " D ,CREW ". They are wearing
badges which show the air quality in the " D ,AQUADOME "." CR>)
(T
<TELL "You're at the foot of the ladder. ">
<COND (<IN? ,BLY ,FOOT-OF-RAMP>
<TELL "Zoe Bly and t">)
(T <TELL "T">)>
<TELL "he " D ,CREW " are still here." CR>)>)
(T <TELL
"You're now at the foot of the ladder." CR>)>)
(<AND <==? .ARG ,M-END>
<==? ,EXCLAM-DOME-AIR-BAD ,DOME-AIR-BAD?>
<FSET? ,AIR-SUPPLY-SYSTEM ,MUNGBIT>>
<CRLF>
<BADGES-RED T>
<RTRUE>)>>
<GLOBAL BADGES-RED-SAID? <>>
<ROUTINE BADGES-RED ("OPTIONAL" (SHOUT? <>))
<COND (<NOT ,BADGES-RED-SAID?>
<SETG BADGES-RED-SAID? T>
<COND (.SHOUT? <TELL "Someone shouts, ">)>
<TELL
"\"Our badges are turning red! The air's bad! Everyone use your "
D ,OXYGEN-GEAR "!\"" CR>)>>
<ROOM OUTSIDE-DORM
(IN ROOMS)
(DESC ;"dorm" "southwest deck")
(ADJECTIVE SW FEMALE MALE DORM DORMITORY)
(SYNONYM DECK PORCH ENTRANCE)
(FLAGS RLANDBIT ONBIT)
(NORTH TO OUTSIDE-WORKSHOP)
(EAST TO FOOT-OF-RAMP)
(NE TO CENTER-OF-DOME)
(WEST TO WOMENS-QUARTERS IF WOMENS-QUARTERS-DOOR IS OPEN)
(SOUTH TO MENS-QUARTERS IF MENS-QUARTERS-DOOR IS OPEN)
(GLOBAL AIR-SUPPLY-SYSTEM-GLOBAL
WOMENS-QUARTERS-DOOR MENS-QUARTERS-DOOR)
;(LINE 2)
;(STATION OUTSIDE-DORM)
(CORRIDOR *6400*)
(ACTION OUTSIDE-DORM-F)>
<ROUTINE OUTSIDE-DORM-F ("OPTIONAL" (RARG <>))
<COND (<==? .RARG ,M-LOOK>
<FROM-HERE ,P?WEST ,P?SOUTH ;"dorm">)>>
<ROUTINE FROM-HERE (DIR1 DIR2 ;PLACE)
<TELL "From here, you can go ">
<DIR-PRINT .DIR1 <>>
<TELL " or ">
<DIR-PRINT .DIR2 <>>
<TELL " into the building." CR>>
<OBJECT WOMENS-QUARTERS-DOOR
(IN LOCAL-GLOBALS)
(ADJECTIVE RED)
(SYNONYM DOOR)
(DESC "red door")
(FLAGS DOORBIT)>
<ROOM WOMENS-QUARTERS
(IN ROOMS)
(DESC "female dorm" ;" living quarters")
(ADJECTIVE FEMALE ;LIVING)
(SYNONYM DORM DORMITORY ;QUARTERS AREA ROOM)
(FLAGS RLANDBIT ONBIT)
(EAST TO OUTSIDE-DORM IF WOMENS-QUARTERS-DOOR IS OPEN)
(OUT TO OUTSIDE-DORM IF WOMENS-QUARTERS-DOOR IS OPEN)
(GLOBAL WINDOW CHAIR WOMENS-QUARTERS-DOOR)
;(LINE 2)
;(STATION DORM)
(ACTION WOMENS-QUARTERS-F)>
<ROUTINE WOMENS-QUARTERS-F ("OPTIONAL" (RARG <>))
<COND (<==? .RARG ,M-LOOK>
<QUARTERS-F ,WOMENS-QUARTERS "On each side">)>>
<OBJECT WOMENS-FURNITURE
(IN WOMENS-QUARTERS)
(DESC "furniture")
(ADJECTIVE COMMANDER ZOE\'S BLY\'S AMY\'S LOWELL)
(SYNONYM TABLE BUNK BED LOCKER)
(FLAGS SURFACEBIT NDESCBIT)
(CAPACITY 13)
(GENERIC GENERIC-FURNITURE-F)
(ACTION RANDOM-PSEUDO)>
<ROUTINE GENERIC-FURNITURE-F (OBJ)
<COND (,SUB-IN-TANK ,WORKBENCH) (T ,HORVAK-LOCKER)>>
<OBJECT MENS-QUARTERS-DOOR
(IN LOCAL-GLOBALS)
(ADJECTIVE BLUE)
(SYNONYM DOOR)
(DESC "blue door")
(FLAGS DOORBIT)>
[
<ROOM MENS-QUARTERS
(IN ROOMS)
(DESC "male dorm" ;" living quarters")
(ADJECTIVE MALE ;LIVING)
(SYNONYM DORM DORMITORY ;QUARTERS AREA ROOM)
(FLAGS RLANDBIT ONBIT)
(OUT TO OUTSIDE-DORM IF MENS-QUARTERS-DOOR IS OPEN)
(NORTH TO OUTSIDE-DORM IF MENS-QUARTERS-DOOR IS OPEN)
(GLOBAL WINDOW CHAIR MENS-QUARTERS-DOOR)
;(LINE 2)
;(STATION DORM)
(ACTION MENS-QUARTERS-F)>
<ROUTINE MENS-QUARTERS-F ("OPTIONAL" (RARG <>))
<COND (<==? .RARG ,M-LOOK>
<QUARTERS-F ,MENS-QUARTERS "In each corner">)>>
<ROUTINE QUARTERS-F (RM STR)
<TELL
"You're in the " D .RM ". " .STR " of the room is a
bunk and locker. In the center of the room are a table and chairs." CR>>
<OBJECT MENS-FURNITURE
(IN MENS-QUARTERS)
(DESC "furniture")
(ADJECTIVE DOC\'S ;WALT\'S HORVAK MARV\'S SIEGEL
MICK\'S ANTRIM BILL\'S GREENUP)
(SYNONYM TABLE BUNK BED FURNITURE ;LOCKER)
(FLAGS SURFACEBIT NDESCBIT)
(CAPACITY 13)
(GENERIC GENERIC-FURNITURE-F)
(ACTION RANDOM-PSEUDO)>
<OBJECT MENS-LOCKER
(IN MENS-QUARTERS)
(DESC "other locker")
(ADJECTIVE OTHER MARV\'S SIEGEL
MICK\'S ANTRIM BILL\'S GREENUP)
(SYNONYM LOCKER)
(FLAGS VOWELBIT NDESCBIT)
(GENERIC GENERIC-FURNITURE-F)
(ACTION RANDOM-PSEUDO)>
<OBJECT HORVAK-LOCKER
(IN MENS-QUARTERS)
(DESC "Horvak's locker")
(ADJECTIVE ;DOC DOC\'S ;WALT WALT\'S HORVAK DORM DORMITORY)
(SYNONYM LOCKER)
(FLAGS CONTBIT SEARCHBIT LOCKED NDESCBIT NARTICLEBIT)
(CAPACITY 13)
(GENERIC GENERIC-FURNITURE-F)
(ACTION HORVAK-LOCKER-F)>
<ROUTINE HORVAK-LOCKER-F ()
<COND (<AND <VERB? LOOK-INSIDE> <FSET? ,HORVAK-LOCKER ,OPENBIT>>
<TELL
"The locker contains mostly clothing, toilet articles and books.">
<COND (<IN? ,DIARY ,HORVAK-LOCKER>
<TELL " One of the books is labeled DIARY.">
<COND (<IN? ,PHOTO ,DIARY>
<FCLEAR ,PHOTO ,INVISIBLE>
<TELL
" Something has been inserted between its pages.">)>)>
<CRLF>)
(<AND <VERB? OPEN OPEN-WITH UNLOCK> <DOBJ? HORVAK-LOCKER>>
<COND (<FSET? ,HORVAK-LOCKER ,OPENBIT> <RFALSE>)
(<AND <FSET? ,HORVAK-LOCKER ,LOCKED>
<NOT <IOBJ? UNIVERSAL-TOOL>>>
<THIS-IS-IT ,HORVAK-KEY>
<TELL
"It's locked. The normal way to open its lock (which you yourself designed, " FN ") is with a key." CR>
<RTRUE>)>
<FCLEAR ,HORVAK-LOCKER ,LOCKED>
<FSET ,HORVAK-LOCKER ,OPENBIT>
<FSET ,DIARY ,TAKEBIT>
<PERFORM ,V?LOOK-INSIDE ,HORVAK-LOCKER>
<RTRUE>)>>
<OBJECT HORVAK-KEY
(IN GLOBAL-OBJECTS ;HORVAK)
(DESC "Horvak's key")
(ADJECTIVE ;DOC DOC\'S ;WALT WALT\'S HORVAK LOCKER)
(SYNONYM KEY)
(FLAGS TOOLBIT NDESCBIT NARTICLEBIT)
(ACTION HORVAK-KEY-F)>
<ROUTINE HORVAK-KEY-F ()
<COND (<OR <AND <IOBJ? HORVAK> <VERB? TAKE>>
<AND <DOBJ? HORVAK> <VERB? ASK-FOR SEARCH-FOR>>>
<COND (<==? ,WINNER ,PLAYER>
<TELL
"Be warned, " FN ", that he will never willingly surrender it.
You have no right to demand it without a search warrant.
The " D ,AQUADOME " is neither a military establishment
nor a ship at sea, so you could get in legal trouble." CR>)
(T
<HE-SHE-IT ,WINNER T "refuse">
<TELL
", " FN ". Do not pursue this any further, or you will lose the
respect and cooperation of the " D ,CREW ", and thereby abort your rescue
mission. If you attempt to use force, they may even mutiny and place you
under arrest." CR>)>)>>
<OBJECT DIARY
(IN HORVAK-LOCKER)
(DESC "diary")
(ADJECTIVE ;DOC DOC\'S ;WALT WALT\'S HORVAK)
(SYNONYM DIARY)
(FLAGS ;TAKEBIT CONTBIT SEARCHBIT READBIT)
(CAPACITY 5)
(ACTION DIARY-F)>
<ROUTINE DIARY-F ()
<COND (<AND <VERB? OPEN> <NOT <FSET? ,DIARY ,OPENBIT>> <IN? ,PHOTO ,DIARY>>
;<ENABLE <QUEUE I-TIP-SONAR-PLAN -1>>
<FSET ,DIARY ,OPENBIT>
<MOVE ,PHOTO ,HERE>
<TELL
"As you do so, a picture falls out. Oh, oh! It's a snapshot of Zoe Bly!" CR>)
(<VERB? READ LOOK-INSIDE>
<COND (<NOT <FSET? ,DIARY ,OPENBIT>>
<TELL "You must open it first." CR>)
(T <TELL
"You quickly discover references to Zoe Bly. It seems clear that "
D ,HORVAK " has fallen for Zoe. But her unsentimental manner is a
large obstacle.|
The last entry reads:|
\"If only I could find some way to break down that icy reserve of Zoe's,
and make her realize she's not just a scientific thinking machine or a
commanding officer...!|
There must be some way! She doesn't do everything by the rule book.
She even breaks regulations at times. If I can prove this and embarrass her,
maybe she'll realize she's just a human being like the rest of us -- and not
only a human being, but a warm, desirable woman...!\"|
">
<COND (<FSET? ,SPECIAL-TOOL ,TOUCHBIT> ;,DOME-AIR-CRIME
<TELL "|
Well! It sounds as if " D ,HORVAK " found the answer to his problem
by sabotaging the " D ,AIR-SUPPLY-SYSTEM " -- at a time when " D ,BLY
" was breaking regulations by not wearing her " D ,OXYGEN-GEAR
"!" CR>)>
<RTRUE>)>)>>
<OBJECT PHOTO
(IN DIARY)
(DESC "photograph")
(ADJECTIVE ;ZOE ZOE\'S BLY\'S ;DOC DOC\'S ;WALT WALT\'S HORVAK)
(SYNONYM PHOTO PHOTOGRAPH PICTURE SNAPSHOT)
(FLAGS TAKEBIT ;INVISIBLE)
(SIZE 1)
(ACTION PHOTO-F)>
<ROUTINE PHOTO-F ()
<COND (<VERB? ANALYZE EXAMINE ;READ TELL-ABOUT>
<TELL "It's a " D ,PHOTO " of " D ,BLY "." CR>)>>
]
<ROOM OUTSIDE-WORKSHOP
(IN ROOMS)
(DESC "northwest deck")
(ADJECTIVE NW WORKSHOP LAB LABORATORY)
(SYNONYM DECK PORCH ENTRANCE)
(FLAGS RLANDBIT ONBIT)
(EAST TO OUTSIDE-COMM-BLDG)
(SOUTH TO OUTSIDE-DORM)
(SE TO CENTER-OF-DOME)
(NORTH TO DOME-LAB IF DOME-LAB-DOOR IS OPEN)
(WEST TO WORKSHOP IF WORKSHOP-DOOR IS OPEN)
(GLOBAL AIR-SUPPLY-SYSTEM-GLOBAL WORKSHOP-DOOR DOME-LAB-DOOR)
;(LINE 3)
;(STATION OUTSIDE-WORKSHOP)
(CORRIDOR *14200*)
(ACTION OUTSIDE-WORKSHOP-F)>
<ROUTINE OUTSIDE-WORKSHOP-F ("OPTIONAL" (RARG <>))
<COND (<==? .RARG ,M-LOOK>
<FROM-HERE ,P?WEST ,P?NORTH ;"building">)>>
<OBJECT WORKSHOP-DOOR
(IN LOCAL-GLOBALS)
(ADJECTIVE WORKSHOP)
(SYNONYM DOOR)
(DESC "workshop door")
(FLAGS DOORBIT OPENBIT)>
<ROOM WORKSHOP
(IN ROOMS)
(DESC "workshop")
(ADJECTIVE WORK)
(SYNONYM WORKSHOP SHOP AREA ROOM)
(FLAGS RLANDBIT ONBIT)
(OUT TO OUTSIDE-WORKSHOP IF WORKSHOP-DOOR IS OPEN)
(EAST TO OUTSIDE-WORKSHOP IF WORKSHOP-DOOR IS OPEN)
(GLOBAL WINDOW CHAIR WORKSHOP-DOOR)
;(LINE 3)
;(STATION WORKSHOP)
(ACTION WORKSHOP-F)>
<ROUTINE WORKSHOP-F ("OPTIONAL" (RARG <>))
<COND (<==? .RARG ,M-LOOK>
<TELL
"The " D ,WORKSHOP " is equipped for mechanical repair work.
It contains assorted hand tools, machine tools, and spare parts." CR>)>>
<OBJECT WORKSHOP-STUFF
(IN WORKSHOP)
(ADJECTIVE ASSORTED HAND MACHIN SPARE WORKSHOP)
(SYNONYM TOOL ;TOOLS ;PART PARTS MATERIAL)
(DESC "workshop material")
(FLAGS NDESCBIT)
(GENERIC GENERIC-TOOL-F)
(ACTION WORKSHOP-STUFF-F)>
<ROUTINE WORKSHOP-STUFF-F ()
<COND (<VERB? MAKE>
<TELL
"That's too difficult, even for a famous young inventor." CR>)>>
<OBJECT DOME-LAB-DOOR
(IN LOCAL-GLOBALS)
(ADJECTIVE LABORATORY)
(SYNONYM DOOR)
(DESC "laboratory door")