-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathrooms.zil
1716 lines (1622 loc) · 58.5 KB
/
rooms.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
"ROOMS for
SUSPENDED
(c) Copyright 1982 Infocom, Inc. All Rights Reserved.
"
;"ROOM DESCS & DECLAR FOR SUSPENSION"
<ROOM CPU-ROOM
(IN ROOMS)
(DESC "Central Chamber")
(FLAGS RLANDBIT ONBIT)
(SYNONYM CHAMBER GLOBE)
(ADJECTIVE CENTRAL)
(WEST TO WEATHER-BANKS)
(EAST TO SERVO-SYSTEMS)
(SOUTH TO RTD-BANKS)
(NE TO CORRIDOR-1)
(GLOBAL WIRING)
(ROOMDESCS <PLTABLE
"I'm in a large room which looks like the inside of a globe. The walls seem sculptured with wiring, swirling around the room's perimeter, leading into a tall column. The column itself has a door on its face. Doorways lead to the west, south, east and northeast."
"Sonar indicates a large, spherical open area with a hollow column running from floor to ceiling. The column reflects sonar evenly indicating no distinguishing external characteristics."
"All around me charges flow, shaped by the very nature of this room. The electrons are being channeled into an electrical column, central to this environment."
"A small humming can be detected from a column which extends from floor to ceiling."
"It hops and skips and leaves a bit, and can't decide if it should quit. It tells the world what it should know, but doesn't know when it's been shown."
"The CLC indicates this area is tagged as the Central Processing Unit due to an object, the CPU, which sits in the center of the room.">)
(ACTION CPU-FCN)
(STATION CPU-ROOM)
(LINE 1)
(CORRIDOR 8)>
<ROUTINE CPU-FCN ("OPTIONAL" (RARG <>))
<COND (<EQUAL? .RARG ,M-BEG>
<COND (<AND <IRIS?>
<VERB? WALK>
<EQUAL? ,PRSO ,P?NE>>
<ROBOT-TELL
"I can't go in that direction. Internal mapping does not extend into those
areas.">
<RTRUE>)>)>>
<ROOM WEATHER-BANKS
(IN ROOMS)
(DESC "Weather Monitors")
(FLAGS RLANDBIT ONBIT)
(SYNONYM MONITO)
(ADJECTIVE WEATHE)
(EAST TO CPU-ROOM)
(WEST TO SUPPLIES-NORTH)
(SOUTH TO SUPPLIES-SOUTH)
(ACTION WEATHER-BANKS-FCN)
(ROOMDESCS <PLTABLE
"All around me I see meters indicating the state of the weather conditions on all three planet-side continents."
"This large area has smooth walls."
"My receptors detect huge electrical flow through the walls and meters all around me."
0
"They puff and billow and strain a bit, roar then ebb with time."
"I detect communication between devices here and the CLC.">)
(LINE 1)
(STATION WEATHER-BANKS)
(GLOBAL MONITOR)>
<ROUTINE WEATHER-BANKS-FCN ("OPTIONAL" (RARG <>) "AUX" STR)
<COND (<EQUAL? .RARG ,M-LOOK>
<LONG-DESCS>
<COND (<AND <IRIS?>
,IRIS-FIXED>
<COND (<L? ,DEGREES 31>
<COND (<L? ,WINDS 10>
<SET STR "snow">)
(<L? ,WINDS 30>
<SET STR "snowstorm">)
(<L? ,WINDS 60>
<SET STR "heavy snow">)
(<L? ,WINDS 80>
<SET STR "blinding snowstorm">)
(<L? ,WINDS 100>
<SET STR "blizzard">)
(ELSE
<SET STR "raging blizzard">)>)
(<L? ,DEGREES 41>
<COND (<L? ,WINDS 10>
<SET STR "light sleet">)
(<L? ,WINDS 20>
<SET STR "heavy sleet">)
(<L? ,WINDS 30>
<SET STR "blinding sleet">)
(<L? ,WINDS 40>
<SET STR "wall of sleet">)
(<L? ,WINDS 50>
<SET STR "torrential sleet">)
(ELSE
<SET STR "raging sleet storm">)>)
(ELSE
<COND (<L? ,WINDS 10>
<SET STR "fine, light mist">)
(<L? ,WINDS 20>
<SET STR "light drizzle">)
(<L? ,WINDS 30>
<SET STR "rain shower">)
(<L? ,WINDS 40>
<SET STR "downpour">)
(<L? ,WINDS 50>
<SET STR "wall of rain">)
(ELSE
<SET STR "hurricane-like storm">)>)>
<TELL
"The monitors for surface weather show:|
">
<FIXED-FONT-ON>
<TELL "|
TEMP: " N ,DEGREES " WINDS: " N ,WINDS "|
PRECIPITATION: a " .STR "|
TOWER PRESSURES: Tower 1 -- " N ,PRESSURE1 "|
Tower 2 -- " N ,PRESSURE2 "|
Tower 3 -- " N ,PRESSURE3>
<CRLF>
<FIXED-FONT-OFF>
<WEATHER-ROBOTS>)>
<RTRUE>)>>
<ROUTINE WEATHER-ROBOTS ("AUX" (COUNT 0) (OFFSET 0) OBJ CHECK-LOC)
<COND (<IN? ,IRIS ,WEATHER-BANKS>
<SET CHECK-LOC ,WEATHER>)
(<IN? ,IRIS ,RTD-BANKS>
<SET CHECK-LOC ,RTD>)
(T
<SET CHECK-LOC ,HYDRO>)>
<REPEAT ()
<COND (<IN? <GET ,NAME-TBL .OFFSET> .CHECK-LOC>
<SET COUNT <+ .COUNT 1>>)>
<COND (<G? <SET OFFSET <+ .OFFSET 1>> 5>
<RETURN>)>>
<COND (<EQUAL? .COUNT 0> <RTRUE>)>
<TELL "Through the monitors I can see ">
<SET OFFSET 0>
<REPEAT ()
<COND (<AND <IN? <SET OBJ <GET ,NAME-TBL .OFFSET>> .CHECK-LOC>
<NOT <EQUAL? ,WINNER .OBJ>>>
<TELL D .OBJ>
<COND (<EQUAL? .COUNT 1>
<RETURN>)
(<EQUAL? .COUNT 2>
<TELL " and ">)
(T <TELL ", ">)>
<SET COUNT <- .COUNT 1>>)>
<SET OFFSET <+ .OFFSET 1>>>
<TELL " in the " SD .CHECK-LOC "." CR>>
<ROOM SUPPLIES-SOUTH
(IN ROOMS)
(DESC "Sub Supply Room")
(FLAGS ONBIT RLANDBIT)
(SYNONYM SUPPLY)
(ADJECTIVE SUB)
(NORTH TO WEATHER-BANKS)
(WEST TO SUPPLIES-MID)
(GLOBAL DEBRIS)
(ROOMDESCS <PLTABLE
"I am in a sub-station of the supply rooms. The room is small, with debris littering the floor."
"Sonar detects totally irregular patterns on the walls as if shelving had been mounted there."
"The air here is still. No vibrational activity."
0
"It burns and wields tremendous light and makes our joints delight its might."
0>)
(LINE 1)
(STATION WEATHER-BANKS)>
<ROOM CORRIDOR-1
(IN ROOMS)
(DESC "Angling Corridor")
(FLAGS RLANDBIT ONBIT)
(SYNONYM CORRID)
(ADJECTIVE ANGLING)
(SW TO CPU-ROOM)
(NE TO CORRIDOR-2)
(ROOMDESCS <PLTABLE
"This is a long, angling corridor which continues to the northeast."
"I am in a narrow, long, straight tunnel with smooth walls."
0
"The steady hum of the air conditioning seems to drown out subtler noises."
"Through which it all flows, we are as one."
"I can feel the emanations of my parent machine, the CLC, nearby.">)
(LINE 1)
(STATION CORRIDOR-1)
(CORRIDOR 8)
(GLOBAL AIRCON)>
<ROOM SUPPLIES-MID
(IN ROOMS)
(DESC "Middle Supply Room")
(SYNONYM SUPPLY)
(ADJECTIVE MIDDLE)
(FLAGS RLANDBIT ONBIT)
(GLOBAL DEBRIS)
(NORTH TO SUPPLIES-NORTH)
(EAST TO SUPPLIES-SOUTH)
(ROOMDESCS <PLTABLE
"This is the middle of an L-shaped supply room. Scattered about on the floor
are all kinds of debris. Nothing looks salvageable."
"I keep bumping into all sorts of junk on the floor, none of which seems to
be intact." 0 0 "From junk we spring, to junk we go." 0 >)
(LINE 1)
(STATION SUPPLIES-MID)>
<ROOM SUPPLIES-NORTH
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Main Supply Room")
(SYNONYM SUPPLY)
(ADJECTIVE MAIN)
(ROOMDESCS <PLTABLE "foo">)
(EAST TO WEATHER-BANKS)
(SOUTH TO SUPPLIES-MID)
(ACTION SUPPLIES-N-FCN)
(GLOBAL DEBRIS)
(LINE 1)
(STATION SUPPLIES-NORTH)>
<GLOBAL LDSUPPLIES
<PLTABLE
"I'm in the northernmost portion of a large, messy area where debris is scattered about as if something had shaken it loose from the walls. Sitting near the wall is a machine which has a little orange button on its face. Beside the button are two small sockets, one red and one yellow"
"Moving about here is difficult due to the debris scattered about but I can detect a medium-sized object distinct from the jumble. Sonar detects two small depressions beside a raised spot in the object"
"A strange apparatus sits before me, processing electrons internally. This device seems active, though some internal mechanisms are exposed. There are two receptacles, designed to hold small circuitry, and a button beside them"
"I can hear the slight noise of machinery operating here"
"This is another fine mess you've got me into. Umm, umm umm! A processor sits on the floor, munching and spitting electrons. Button, button, who's got the button while the socks ablaze with color"
"CLC reports this area is abnormal in its arrangement. A GG-1 sits here, barely operating">>
<GLOBAL WIRE-FIRST
<PLTABLE
" The front panel is open and a "
" The front panel is open and a "
" The front panel is open and a "
""
" This thing has exposed itself, showing a "
" A front panel is open and a ">>
<GLOBAL WIRE-SECOND
<PLTABLE
" is exposed."
" is exposed."
" is exposed."
""
"."
" is exposed">>
<ROUTINE SUPPLIES-N-FCN ("OPTIONAL" (RARG <>) "AUX" OBJ)
<COND (<EQUAL? .RARG ,M-LOOK>
<COND (<AND <IRIS?> <NOT ,IRIS-FIXED>>
<TELL <PICK-ONE ,IRIS-BLIND> CR> <RFATAL>)
(T <TELL <GET ,LDSUPPLIES ,ROFF>>
<COND (<AND <SET OBJ <FIRST? ,SOCKET1>>
<NOT <AUDA?>>>
<TELL ". A " D .OBJ " sits in the " D ,SOCKET1>)
(<NOT <AUDA?>>
<TELL ". The " D ,SOCKET1 " is empty">)>
<COND (<AND <SET OBJ <FIRST? ,SOCKET2>>
<NOT <AUDA?>>>
<COND (<FIRST? ,SOCKET1>
<TELL ", and">)
(T
<TELL ", but">)>
<TELL " a " D .OBJ
" sits in the " D ,SOCKET2>)
(<NOT <AUDA?>>
<COND (<FIRST? ,SOCKET1>
<TELL
", but the " D ,SOCKET2 " is empty">)
(T
<TELL " as is the " D ,SOCKET2>)>)>
<TELL ".">
<COND (<AND <IN? ,ORANGE-WIRE ,MACHINE>
<FSET? ,MACHINE ,OPENBIT>>
<TELL <GET ,WIRE-FIRST ,ROFF> D ,ORANGE-WIRE
<GET ,WIRE-SECOND ,ROFF>>)>
<COND (<AND <IN? ,FUSE ,MACHINE>
<FSET? ,MACHINE ,OPENBIT>
<NOT <AUDA?>>>
<COND (<IRIS?> <TELL
" A small glass fuse it sits in the panel.">)
(<POET?> <TELL
" Meanwhile, a " D ,FUSE " monitors the situation.">)
(ELSE <TELL
" A " D ,FUSE " sits in the panel.">)>)>
<COND (<AND <FSET? ,MACHINE ,OPENBIT>
<NOT <AUDA?>>>
<TELL <GET ,CIRCLE-DESCS ,ROFF>>)>)>
<COND (<AND <IN? ,NEWCHIP0 ,SOCKET1>
<IN? ,NEWCHIP2 ,SOCKET2>>
<COND (<OR <SENSA?> <POET?> <AUDA?>
<AND <IRIS?> ,IRIS-FIXED>>
<TELL " " <GET ,FLASHING ,ROFF>>)>)>
<CRLF>
<RTRUE>)>>
<GLOBAL CIRCLE-DESCS
<PLTABLE
" On the front panel is a series of eight circles."
" On the front panel a series of eight raised circles is visible."
" I can sense a delicate tracery of circuitry going into eight circles on the front panel."
" "
" On the exposed panel is a little piano with only eight circle keys."
" The panel has eight circles mounted in it.">>
<GLOBAL FLASHING
<PLTABLE
"The orange button is flashing."
""
"Electricity pulses through the button."
"Metal parts click and gears whir."
"Button flashes while time passes."
"">>
<ROOM CORRIDOR-2
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Bending Corridor")
(SYNONYM CORRID)
(ADJECTIVE BENDING)
(SW TO CORRIDOR-1)
(EAST TO HALLWAY-JUNCTION)
(ROOMDESCS <PLTABLE
0
"I've approached a bend in the tube. One section continues to the east, while
the other section goes to the southwest."
"Vibrational activity picked up, though intensity too slight to determine
locational fix at this point."
"With audio sensors on full power I can detect some 'background' noise coming
from the east."
"Into all lives the flow proceeds, weaving its web of mystery like that of an
enigmatic spider."
"My source signals become stronger and clearer to the east.">)
(LINE 1)
(STATION CORRIDOR-2)
(CORRIDOR 24)>
<ROOM RTD-BANKS
(IN ROOMS)
(DESC "Transit Monitors")
(SYNONYM MONITO)
(ADJECTIVE TRANSI)
(FLAGS RLANDBIT ONBIT)
(NORTH TO CPU-ROOM)
(ROOMDESCS <PLTABLE
0
"Sonar indicates these walls are filled with irregularities which could be
monitors."
"Surges of electrical flow can be detected from small units mounted on the
walls, most probably meters."
0
"They bounce back and forth like metro's gnomes."
"The CLC is not linked to these devices.">)
(ACTION TRANSIT-MONITOR-FCN)
(LINE 1)
(STATION CPU-ROOM)
(GLOBAL MONITOR)>
<ROUTINE TRANSIT-MONITOR-FCN ("OPTIONAL" (RARG <>))
<COND (<EQUAL? .RARG ,M-LOOK>
<LONG-DESCS>
<COND (<OR <NOT <IRIS?>>
<AND <IRIS?>
<NOT ,IRIS-FIXED>>>
<RTRUE>)>
<TELL
"All around I can see monitors which show the status of the Transit Systems on the surface of the planet. The monitors describe the following situation:|
">
<FIXED-FONT-ON>
<TELL "|
FLOATERS AIRBORNE: " N ,FLOATERS "000|
TAXIS IN USE: " N ,TAXIS "000|
GLIDE RAMP SPEEDS: " N ,RAMP-SPEED " mph|
FLOATER CRASH RATE: " N ,CRASH-RATE "0|
TAXI ACCIDENT RATE: " N ,COLLISIONS "0|
GLIDE RAMP CASUALTIES: " N ,RAMP-KILLS "0|
">
<FIXED-FONT-OFF>
<WEATHER-ROBOTS>)>>
<ROOM SERVO-SYSTEMS
(IN ROOMS)
(FLAGS ONBIT RLANDBIT)
(WEST TO CPU-ROOM)
(DESC "Hydroponics Monitors")
(SYNONYM MONITO)
(ADJECTIVE HYDROP)
(ACTION HYDROMONITORS-FCN)
(GLOBAL MONITOR)
(ROOMDESCS <PLTABLE 0
"This area has walls with irregular protrusions, most likely some kind of
monitors or meters."
"Meters and electrons within this room seem extremely variable with each
passing second."
"I hear a voice saying, \"Food, food for the truth\"."
"They move like snakes, without a bone."
"Nothing here is linked to the CLC.">)
(LINE 1)
(STATION CPU-ROOM)>
<ROUTINE HYDROMONITORS-FCN ("OPTIONAL" (RARG <>) "AUX" STRW STRM STRL WL ML LL)
<COND (<EQUAL? .RARG ,M-LOOK>
<COND (<NOT <IRIS?>>
<LONG-DESCS>
<RTRUE>)
(<NOT ,IRIS-FIXED>
<LONG-DESCS>
<RTRUE>)>
<SET WL <+ <ABS <- ,WATER-LEVEL ,WATER-OPT>> 0>>
<SET ML <+ <ABS <- ,MINERALS ,MINERALS-OPT>> 0>>
<SET LL <+ <ABS <- ,WATTS ,WATTS-OPT>> 0>>
<COND (<G? ,WATER-LEVEL ,WATER-OPT>
<SET STRW "high">)
(<EQUAL? ,WATER-LEVEL ,WATER-OPT>
<SET STRW " =">)
(<SET STRW "low">)>
<COND (<G? ,MINERALS ,MINERALS-OPT>
<SET STRM "high">)
(<EQUAL? ,MINERALS ,MINERALS-OPT>
<SET STRM " =">)
(<SET STRM "low">)>
<COND (<G? ,WATTS ,WATTS-OPT>
<SET STRL "high">)
(<EQUAL? ,WATTS ,WATTS-OPT>
<SET STRL " =">)
(<SET STRL "low">)>
<TELL
"Through the monitors I can see the following information:|
">
<FIXED-FONT-ON>
<TELL "|
LEVEL SETTING OUTPUT|
WATER: "> <NUMBER-PRINT ,WATER-LEVEL>
<NUMBER-PRINT <GET ,DIALSETS 4>>
<TELL .STRW CR>
<TELL "MINERALS: ">
<NUMBER-PRINT ,MINERALS>
<NUMBER-PRINT <GET ,DIALSETS 5>>
<TELL .STRM CR>
<TELL "LIGHTING: ">
<NUMBER-PRINT ,WATTS>
<NUMBER-PRINT <GET ,DIALSETS 6>>
<TELL .STRL CR>
<TELL "FOOD TONS: ">
<COND (<AND <L? ,FOOD-TONS 100>
<G? ,FOOD-TONS 9>>
<TELL " ">)
(<L? ,FOOD-TONS 10>
<TELL " ">)>
<TELL N ,FOOD-TONS>
<TELL " ">
<COND (<G? ,FOOD-TONS 75>
<TELL "optimal">)
(<G? ,FOOD-TONS 50>
<TELL " fair">)
(<G? ,FOOD-TONS 25>
<TELL " poor">)
(T <TELL "critical">)>
<CRLF>
<FIXED-FONT-OFF>
<WEATHER-ROBOTS>
<RTRUE>)>>
<ROUTINE FIXED-FONT-ON () <PUT 0 8 <BOR <GET 0 8> 2>>>
<ROUTINE FIXED-FONT-OFF() <PUT 0 8 <BAND <GET 0 8> -3>>>
<ROUTINE NUMBER-PRINT (NUM)
<COND (<L? .NUM 10>
<TELL " ">)
(<L? .NUM 100>
<TELL " ">)>
<TELL N .NUM>
<TELL " ">
<RFALSE>>
<ROOM NORTH-ENTRY
(IN ROOMS)
(DESC "Hallway T")
(SYNONYM T)
(ADJECTIVE HALLWAY)
(NORTH TO STERILE-AREA)
(WEST TO DEAD-END-1)
(EAST TO HALL-STOP1)
(FLAGS RLANDBIT ONBIT)
(ROOMDESCS <PLTABLE 0
"I have reached a T intersection in the east/west hallway."
"I can detect a lot of electrical movement to the west from this location. A strong bath of ultraviolet can also be detected."
"A low whirring noise, barely audible, can be detected from the west."
"Intersections, like the choices of life, are metered by the flow."
"Warning: CLC communique indicates approaching Off-Limits area.">)
(LINE 3)
(STATION NORTH-ENTRY)
(CORRIDOR 2)>
<ROOM DEAD-END-1
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(SYNONYM END)
(ADJECTIVE DEAD)
(DESC "Dead End")
(EAST TO NORTH-ENTRY)
(ROOMDESCS <PLTABLE
0
"I have reached the end of the western passage."
"I have reached the end of the western passage."
"I have reached the end of the western passage."
"I have reached the end of the western passage."
"I have reached the end of the western passage.">)
(LINE 3)
(STATION DEAD-END-1)
(CORRIDOR 2)>
<ROOM DECON-CHAMBER
(IN ROOMS)
(DESC "Decontamination Chamber")
(SYNONYM CHAMBER)
(ADJECTIVE DECONT)
(WEST TO STERILE-AREA)
(EAST TO ENTRY-AREA)
(FLAGS RLANDBIT ONBIT)
(ROOMDESCS <PLTABLE 0
"I have entered a small room. Overhead a small nozzle extends down from
the ceiling, and doorways can be detected to the west and east."
"A quick analysis of the molecular structure of the air in this area shows the
vestiges of a sterilization compound. In addition, an ultraviolet source can be
detected directly overhead."
"A small hissing can be detected overhead, as if a small port leaked a
semi-liquid compound."
"To be barren in more ways than one is an indication of our lot in life,
such as we know life."
"Warning: CLC communique indicates too close to Off-Limits area.">)
(LINE 4)
(STATION DECON-CHAMBER)
(CORRIDOR 1)>
<ROOM STERILE-AREA
(IN ROOMS)
(DESC "Sterilization Chamber")
(SYNONYM CHAMBER)
(ADJECTIVE STERIL)
(WEST "CLC WARNING!! Further westward movement prohibited to all robots.")
(SOUTH TO NORTH-ENTRY)
(EAST TO DECON-CHAMBER)
(FLAGS RLANDBIT ONBIT)
(ROOMDESCS <PLTABLE 0
"A thorough scanning of this area indicates I am at some kind of a dead
end. There is some kind of structure, probably a set of benches, extending from the north wall."
"I can detect a lot of electrical movement to the west from this location. A strong bath of ultraviolet can also be detected from the east."
"A loud whirring noise can be detected from the west."
"We all reach the ends of our life lines at some point."
"Warning: CLC communique indicates we are at the Off-Limits area.">)
(LINE 4)
(STATION STERILE-AREA)
(CORRIDOR 1)>
<ROOM ENTRY-AREA
(IN ROOMS)
(DESC "Entry Area")
(SYNONYM ENTRY)
(EAST TO TOOL-AREA)
(WEST TO DECON-CHAMBER)
(FLAGS RLANDBIT ONBIT)
(ROOMDESCS <PLTABLE 0
"I am in a small, square room with no distinguishing features detectable."
"I can detect a lot of electrical movement from the west. A strong bath
of ultraviolet can also be detected."
"A low, whirring noise, barely detectable, can be heard from the west."
"The crux, the mandible mandella of humane existence, is like the
patterns all around me."
"Warning!! CLC communique indicates off-limits area nearby!">)
(LINE 4)
(STATION ENTRY-AREA)
(CORRIDOR 1)>
<ROOM TOOL-AREA
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Small Supply Room")
(SYNONYM SUPPLY)
(ADJECTIVE SMALL)
(WEST TO ENTRY-AREA)
(EAST TO REC-AREA)
(ROOMDESCS <PLTABLE 0
"I can detect a small area, cluttered with things which extend from the
walls. Doorways lead to the east and the west."
"A strange container exists by the east wall of this room which is being fed electrical vibrations."
"The air here is very still."
"Tools for industry, tools for the dead."
"CLC indicates this area not for robot use.">)
(LINE 4)
(STATION TOOL-AREA)
(CORRIDOR 1)>
<ROOM HALL-STOP1
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Hallway")
(WEST TO NORTH-ENTRY)
(EAST TO HALL-STOP2)
(ROOMDESCS <PLTABLE
0
"I am near the start of a long, straight passageway."
"I can perceive small vibrations emanating from the north. This general
area seems to be chemically active."
"I can hear some slight noise coming from the north and the west, though
it is too distant to accurately describe."
"All things continue given their right place and the correct opportunity."
"I am moving toward an area which the CLC warns is not normally within
the realm of the robot maintenance crew.">)
(LINE 3)
(STATION HALL-STOP1)
(CORRIDOR 2)>
<ROOM HALL-STOP2
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(WEST TO HALL-STOP1)
(EAST TO HALL-STOP3)
(DESC "Hallway")
(ROOMDESCS <PLTABLE 0
"Sonar detects the hallway continuing east and west."
"There are no abnormal disturbances to report within the permanent
environment in this area." 0
"All things must enter, as all things must leave."
"CLC referencing indicates I am not empowered to take actions within
this general area.">)
(LINE 3)
(STATION HALL-STOP2)
(CORRIDOR 2)>
<ROOM HUMAN-ENTRY
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Sloping Corridor")
(SYNONYM CORRID)
(ADJECTIVE SLOPING)
(SOUTH PER WEDGE-FCN)
(NORTH TO HALL-STOP3)
(GLOBAL STEP)
(ROOMDESCS <PLTABLE 0
"Sonar detects the corridor descends to the north in a gentle slope. The
intersection to the south is raised above this level."
"Sensory units detect a strong energy flow in the intersection to the
south."
0
"Oh, the travesty of descent, the joyousness of having one's spirit
lifted beyond measure to another glorious level."
"CLC can be detected to the south. Its signals reach me in a straight line. Signal intensity 5.">)
(ACTION JUNCTION-FCN)
(LINE 3)
(STATION HUMAN-ENTRY)
(CORRIDOR 4)>
<ROUTINE WEDGE-FCN ()
<COND (<EQUAL? ,WEDGE-PLACED 2>
<COND (<EQUAL? ,WINNER-HERE ,HALLWAY-JUNCTION>
,HUMAN-ENTRY)
(<EQUAL? ,WINNER-HERE ,HUMAN-ENTRY>
,HALLWAY-JUNCTION)>)
(ELSE
<ROBOT-TELL "I can't climb the step.">
<RFALSE>)>>
<ROOM HALLWAY-JUNCTION
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Hallway Junction")
(SYNONYM JUNCTION)
(ADJECTIVE HALLWAY)
(WEST TO CORRIDOR-2)
(EAST TO CORRIDOR-3)
(SOUTH TO OUTSIDE-CLC)
(NORTH PER WEDGE-FCN)
(ROOMDESCS <PLTABLE 0
"Sonar detects an intersection here, with a small dropoff to the north."
"I detect a strong flux of energy here -- transmissions of all types meeting as
if at the hub of some giant wheel."
"I can tell I've reached an intersection by the way sounds bounce off the
walls."
"Life is filled with choice. Decisions always make my eyes moist."
"Request directions which would send me in a southerly direction as linkup
seems imminent.">)
(GLOBAL STEP)
(ACTION JUNCTION-FCN)
(LINE 1)
(STATION HALLWAY-JUNCTION)
(CORRIDOR 20)>
<ROUTINE JUNCTION-FCN ("OPTIONAL" (RARG <>))
<COND (<EQUAL? .RARG ,M-BEG>
<COND (<EQUAL? ,WEDGE-PLACED 2>
<FSET ,WEDGE ,NDESCBIT>
<MOVE ,WEDGE ,WINNER-HERE>)> ;"New Code"
<RFALSE>)
(<EQUAL? .RARG ,M-LOOK>
<LONG-DESCS>
<COND (<AND <EQUAL? ,WEDGE-PLACED 2>
<NOT <AUDA?>>>
<TELL
"The " D ,WEDGE " is positioned by the step." CR>
<MOVE ,WEDGE ,WINNER-HERE>)
(ELSE <FCLEAR ,WEDGE ,NDESCBIT>)>)
(<EQUAL? .RARG ,M-ENTER>
<COND (<EQUAL? ,WEDGE-PLACED 2>
<MOVE ,WEDGE ,WINNER-HERE>)
(ELSE <FCLEAR ,WEDGE ,NDESCBIT>)>)>>
<ROOM OUTSIDE-CLC
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Outer Library Area")
(SYNONYM LIBRARY)
(ADJECTIVE OUTER)
(SOUTH TO PERIPH-1)
(NORTH TO HALLWAY-JUNCTION)
(ROOMDESCS <PLTABLE 0
"Sonar indicates a closed-in area to the south, with small pedestals extending
up from the floor. The hallway goes on to the north."
"I can sense strong data emanations coming from the south, channeling through
this hallway to the northern junction."
"The air to the south is still within a closed chamber, while the air to the
north circulates freely."
"Akin to knowledge is only freedom."
"CLC identifier tagging detected directly to the south.">)
(LINE 1)
(STATION OUTSIDE-CLC)>
<ROOM PERIPH-1
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Index Peripheral")
(SYNONYM PERIPH)
(ADJECTIVE INDEX)
(SW TO PERIPH-4)
(SE TO PERIPH-2)
(SOUTH TO CLC-CORE)
(NORTH TO OUTSIDE-CLC)
(ROOMDESCS <PLTABLE 0
"Before me is a pedestal, rising from the ground."
"The pedestal before me emanates tremendous data flows and transmits a radio homing signal, no doubt aimed toward Whiz."
"I can still detect the air changes to the north, indicating there is an
exit in that direction for me."
"The root of all knowledge, of all existence, lies before us for the taking."
"CLC identifier shows the object before me as the Index pedestal.">)
(LINE 1)
(STATION PERIPH-1)>
<ROOM PERIPH-2
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Technical Peripheral")
(SYNONYM PERIPH)
(ADJECTIVE TECHNI)
(SW TO PERIPH-3)
(NW TO PERIPH-1)
(WEST TO CLC-CORE)
(ROOMDESCS <PLTABLE 0
"Before me stands another pedestal."
"This pedestal emits the same kind of data flow as the others."
"I sense I am getting further away from the air currents which are readable
to me."
"Another grasp of the all-knowing Universe stands before me. Ah, to be able to
learn what it holds, the might of the mind is like no other."
"CLC tagged object before me indicates it is the Technical pedestal.">)
(LINE 1)
(STATION PERIPH-2)>
<ROOM PERIPH-3
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Advisory Peripheral")
(SYNONYM PERIPH)
(ADJECTIVE ADVISO)
(NW TO PERIPH-4)
(NE TO PERIPH-2)
(NORTH TO CLC-CORE)
(ROOMDESCS <PLTABLE 0
"Before me stands a third unit similar in all outward appearances to the
others."
"This object too emits an incredible homing signal and transmits data."
"I am further away from detectable air currents than I should be."
"Giving advice is easy. Taking advice isn't."
"CLC tagged object indicates it is the Advisory pedestal before me.">)
(LINE 1)
(STATION PERIPH-3)>
<ROOM PERIPH-4
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Historical Peripheral")
(SYNONYM PERIPH)
(ADJECTIVE HISTOR)
(NE TO PERIPH-1)
(SE TO PERIPH-3)
(EAST TO CLC-CORE)
(ROOMDESCS <PLTABLE 0
"Another pedestal structure lies before me."
"More data flows detected within this area, especially directly before me."
"The air within this area is still, though the object before me emits a faint
high-frequency tinging."
"Complicated life, like that of the Chinese Mandarin, continues to obscure."
"CLC tagged object before me is the Historical pedestal.">)
(LINE 1)
(STATION PERIPH-4)>
<ROOM CLC-CORE
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Central Core")
(SYNONYM CLC CORE)
(ADJECTIVE CENTRAL)
(WEST TO PERIPH-4)
(EAST TO PERIPH-2)
(NORTH TO PERIPH-1)
(SOUTH TO PERIPH-3)
(ROOMDESCS <PLTABLE 0
"Sonar detects a small railing, most likely for safety purposes, directly
before me. Beyond that railing is a huge cavern."
"I can feel a tremendous flow of energy within this area. It is unlike
anything else in its intensity and scope."
"Small updrafts can be heard as minute air currents directly before me."
"The root of our beings, the truth behind all of our existence, lies before
me."
"Directly before me is the Central Core. There is no available plug-in device within this area.">)
(LINE 1)
(STATION CLC-CORE)>
<ROOM CORRIDOR-3
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(WEST TO HALLWAY-JUNCTION)
(EAST TO CORRIDOR-4)
(SE TO ROBOT-PASSAGE)
(DESC "Southeast Junction")
(SYNONYM JUNCTION)
(ADJECTIVE SOUTHE)
(ROOMDESCS <PLTABLE 0
"I perceive another passageway heading off to the southeast from here."
"Friendly vibrations can be detected from the southeast." 0
"To forgive is innocent, but to repair is all mine."
"CLC indicates I've gone too far to the east for an interface.">)
(LINE 2)
(STATION CORRIDOR-3)
(CORRIDOR 16)>
<ROOM ROBOT-PASSAGE
(IN ROOMS)
(NW TO CORRIDOR-3)
(SE TO ROBOT-Z)
(DESC "Southeast Passage")
(SYNONYM PASSAGE)
(ADJECTIVE SOUTHE)
(ROOMDESCS <PLTABLE 0
"This tubular passageway continues to the southeast. I can detect a bend in it
toward the south."
"My receptors are picking up strong data transmissions to the west of here.
Overhead I can trace an electrical flow that continues to the southeast."
0
"There once was a cowboy named Mix|
Who managed just one shot in six|
He looked quite surpised|
When he opened his eyes|
And saw that his gun wasn't fixed."
"CLC tags indicate a robot-oriented area exists to the southeast.">)
(FLAGS RLANDBIT ONBIT)
(LINE 2)
(STATION ROBOT-PASSAGE)>
<ROOM ROBOT-Z
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(DESC "Bending Passage")
(SYNONYM PASSAGE)
(ADJECTIVE BENDING)
(ROOMDESCS <PLTABLE
0
"Sonar detects a large area to the south with many obstacles within the
structure."
"The data transmissions are still detectable from the west. This area is
filled with all kinds of electrical devices and what seems like motors."
0
"Did you ever have the feeling you were running on a treadmill? Sometimes life is like that."
"CLC tagged area indicates robot repair mechanisms close by.">)
(NW TO ROBOT-PASSAGE)
(SOUTH TO REPAIR1)
(LINE 2)
(STATION ROBOT-Z)>
<ROOM REPAIR1
(IN ROOMS)
(DESC "Alpha Repair")
(SYNONYM REPAIR)
(ADJECTIVE ALPHA)
(GLOBAL STEP)
(FLAGS RLANDBIT ONBIT)
(NORTH TO ROBOT-Z)
(SOUTH TO REPAIR2)
(ROOMDESCS <PLTABLE 0
"Before me is a walkway which has wheels and all sorts of odd protuberances which my sonar has a hard time deciphering. Sonar also detects a small step at the base of it."
"Strong electrical interference can be detected within this environment."
"I can hear the sound of gears and cogs, coming from a noisy walkway."
"Running, running, getting nowhere amid the hustle and bustle of life."
"I am in what the CLC describes as a repair area for robot units.">)
(ACTION REPAIRX-FCN)
(LINE 2)
(STATION REPAIR1)>
<ROOM REPAIR2
(IN ROOMS)
(DESC "Beta Repair")
(SYNONYM REPAIR)
(ADJECTIVE BETA)
(FLAGS RLANDBIT ONBIT)
(NORTH TO REPAIR1)
(SOUTH TO REPAIR3)
(ROOMDESCS <PLTABLE 0
"I'm in the center of a large area with a walkway in the center."
"I detect slight vibrational activity from a conveying mechanism."
"I can hear the meshing of gears and cogs, coming from a noisy walkway."
"We're getting nowhere fast, glider, but at least we're not getting there slowly."
"CLC indicators coming from the west.">)
(ACTION REPAIRX-FCN)
(LINE 2)
(STATION REPAIR2)>
<ROOM REPAIR3
(IN ROOMS)
(NORTH TO REPAIR2)
(ROOMDESCS <PLTABLE 0
"I have reached the south end of this area. The walkway ends here."
"Vibrational activity and electrical emanations detected from the north are
stronger than those in the immediate vicinity."
"Noise of machinery can be detected coming from the north."
"Oh, to reach the end of one's previous existence, to travel the roadways of
life when they are most needed, only to end up here, reborn."
"The CLC indicates that this is the end of the Robot Repair area.">)
(DESC "Gamma Repair")
(SYNONYM REPAIR)
(ADJECTIVE GAMMA)
(FLAGS RLANDBIT ONBIT)
(ACTION REPAIRX-FCN)
(GLOBAL WIRING)
(LINE 2)
(STATION REPAIR3)>
<ROUTINE REPAIRX-FCN ("OPTIONAL" (RARG <>) "AUX" OBJ)
<COND (<EQUAL? .RARG ,M-BEG>
<COND (<EQUAL? ,WEDGE-PLACED 1>
<FSET ,WEDGE ,NDESCBIT>)>
<RFALSE>)
(<EQUAL? .RARG ,M-LOOK>
<LONG-DESCS>
<TELL "The " D ,CONVEYERBELTA " is ">
<COND (<NOT ,BELT-ON>
<TELL "not ">)>
<TELL "in motion">
<COND (<AND <EQUAL? ,WINNER-HERE ,REPAIR1>
<SET OBJ <FIRST? ,CONVEYERBELTA>>>)
(<AND <EQUAL? ,WINNER-HERE ,REPAIR2>
<SET OBJ <FIRST? ,CONVEYERBELTB>>>)
(<AND <EQUAL? ,WINNER-HERE ,REPAIR3>
<SET OBJ <FIRST? ,CONVEYERBELTC>>>)>
<COND (.OBJ
<TELL ", moving ">
<COND (<NOT <GETP .OBJ ,P?ROBOT>>
<TELL "a ">)>
<TELL D .OBJ>)>
<TELL "." CR>
<COND (<AND <EQUAL? ,WEDGE-PLACED 1>
<EQUAL? ,WINNER-HERE ,REPAIR1>>
<TELL "The " D ,WEDGE
" is positioned at the base of the "
D ,CONVEYERBELTA "." CR>)
(ELSE <FCLEAR ,WEDGE ,NDESCBIT>)>)>>
<ROOM HALL-STOP3
(IN ROOMS)
(FLAGS RLANDBIT ONBIT)
(SOUTH TO HUMAN-ENTRY)
(EAST TO HALL-STOP4)
(WEST TO HALL-STOP2)
(ROOMDESCS <PLTABLE 0
"I have reached a junction in the hallway. The east/west hallway meets with a southern corridor."
"Photonic sensors detect a shift in reflective activity indicating a corridor
which starts to the south."
0
"East side, west side, all around the south."
"Standard robotic areas can be detected to the south.">)
(DESC "Access Hallway")
(SYNONYM HALLWAY)
(ADJECTIVE ACCESS)
(LINE 3)
(STATION HALL-STOP3)
(CORRIDOR 6)>
<ROOM REC-AREA
(IN ROOMS)
(DESC "Activities Area")
(SYNONYM ACTIVI)
(FLAGS RLANDBIT ONBIT)
(ROOMDESCS <PLTABLE 0