-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathalice.zil
599 lines (548 loc) · 15.8 KB
/
alice.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
"ALICE for
Mini-Zork II: The Wizard of Frobozz
(c) Copyright 1988 Infocom, Inc. All Rights Reserved."
<ROOM RIDDLE-ROOM
(IN ROOMS)
(DESC "Riddle Room")
(NW TO CAROUSEL-ROOM)
(EAST TO CIRCULAR-ROOM IF RIDDLE-DOOR IS OPEN)
(FLAGS RLANDBIT)
(ACTION RIDDLE-ROOM-F)
(PSEUDO "RIDDLE" RIDDLE-PSEUDO)>
<ROUTINE RIDDLE-ROOM-F (RARG)
<COND (<EQUAL? .RARG ,M-LOOK>
<TELL
"This bare room has an exit in the northwest corner. To the east is a great ">
<COND (<FSET? ,RIDDLE-DOOR ,OPENBIT>
<TELL "open">)
(T
<TELL "closed">)>
<TELL
" door of stone. Above it is written: \"No one shall pass without solving
this riddle:" CR CR ,RIDDLE-TEXT>)
(<EQUAL? .RARG ,M-BEG>
<COND (<VERB? SAY>
<COND (<FSET? ,RIDDLE-DOOR ,OPENBIT>
<RFALSE>)
(<OR <EQUAL? <GET ,P-LEXV ,P-CONT> ,W?WELL>
<EQUAL? <GET ,P-LEXV <+ ,P-CONT 2>> ,W?WELL>>
<SETG SCORE <+ ,SCORE 5>>
<FSET ,RIDDLE-DOOR ,OPENBIT>
<TELL
"With a deafening clap of thunder, the door opens." CR>)
(T
<TELL "A hollow laugh comes from the door." CR>)>
<SETG P-CONT <>>
<SETG QUOTE-FLAG <>>
<RTRUE>)>)>>
<ROUTINE RIDDLE-PSEUDO ()
<COND (<VERB? EXAMINE READ>
<TELL ,RIDDLE-TEXT>)>>
<OBJECT RIDDLE-DOOR
(IN RIDDLE-ROOM)
(DESC "stone door")
(SYNONYM DOOR)
(ADJECTIVE GREAT STONE)
(FLAGS DOORBIT CONTBIT NDESCBIT)
(ACTION RIDDLE-DOOR-F)>
<ROUTINE RIDDLE-DOOR-F ()
<COND (<OR <AND <VERB? OPEN>
<NOT <FSET? ,RIDDLE-DOOR ,OPENBIT>>>
<AND <VERB? CLOSE>
<FSET? ,RIDDLE-DOOR ,OPENBIT>>>
<TELL "It won't budge." CR>)>>
<ROOM CIRCULAR-ROOM
(IN ROOMS)
(DESC "Circular Room")
(LDESC
"This is a tall, damp room with brick walls. There are some etchings on
the walls. A passage leads west.")
(WEST TO RIDDLE-ROOM)
(UP "The walls cannot be climbed.")
(FLAGS RLANDBIT NONLANDBIT)
(GLOBAL WELL ETCHINGS)>
<OBJECT ETCHINGS
(IN LOCAL-GLOBALS)
(DESC "wall with etchings")
(SYNONYM ETCHINGS WALL)
(FLAGS READBIT NDESCBIT)
(ACTION ETCHINGS-F)>
<ROUTINE ETCHINGS-F ()
<COND (<VERB? EXAMINE READ>
<FIXED-FONT-ON>
<TELL " o b o" CR>
<COND (<EQUAL? ,HERE ,CIRCULAR-ROOM>
<TELL CR
" A G I|
|
E L||">)
(T
<TELL
" r z|
f M A G I C z|
|
c W E L L y|
o n|">)>
<TELL " m p a">
<FIXED-FONT-OFF>
<CRLF>
<RTRUE>)>>
<OBJECT PEARL-NECKLACE
(IN CIRCULAR-ROOM)
(DESC "pearl necklace")
(SYNONYM NECKLACE TREASURE)
(ADJECTIVE PEARL)
(SIZE 10)
(VALUE 15)
(FLAGS TAKEBIT)>
<OBJECT BUCKET
(IN CIRCULAR-ROOM)
(DESC "wooden bucket")
(LDESC
"There is a wooden bucket here, 3 feet in diameter and 3 feet high.")
(SYNONYM BUCKET)
(ADJECTIVE WOODEN)
(CAPACITY 100)
(SIZE 100)
(FLAGS VEHBIT OPENBIT CONTBIT)
(CONTFCN BUCKET-CONT)
(ACTION BUCKET-F)>
<ROUTINE BUCKET-CONT ()
<COND (<AND <VERB? TAKE>
<NOT <IN? ,WINNER ,BUCKET>>>
<TELL "You must get in the bucket to reach it." CR>)>>
<ROUTINE BUCKET-F ("OPTIONAL" (RARG ,M-BEG))
<COND (<EQUAL? .RARG ,M-BEG>
<COND (<AND <VERB? BURN>
<EQUAL? ,PRSO ,BUCKET>>
<TELL "The bucket appears to be fireproof." CR>)
(<AND <VERB? DROP PUT>
<EQUAL? ,PRSO ,WATER>
<EQUAL? ,PRSI ,BUCKET>
<IN? ,BUCKET ,CIRCULAR-ROOM>
<NOT <IN? ,WINNER ,BUCKET>>>
<MOVE ,BUCKET ,TOP-OF-WELL>
<MOVE ,WATER ,BUCKET>
<SETG BUCKET-TOP-FLAG T>
<ENABLE <QUEUE I-BUCKET 100>>
<TELL "The bucket swiftly rises up, and is gone." CR>)
(<VERB? OPEN CLOSE>
<TELL "The bucket has no lid." CR>)
(<VERB? KICK>
<JIGS-UP "If you insist.">)>)
(<EQUAL? .RARG ,M-END>
<COND (<AND <IN? ,WATER ,BUCKET>
<NOT ,BUCKET-TOP-FLAG>>
<TELL "The bucket rises and" ,STOPS>
<SETG BUCKET-TOP-FLAG T>
<SETG EVAPORATED <>>
<PASS-THE-BUCKET ,TOP-OF-WELL>
<ENABLE <QUEUE I-BUCKET 100>>
<RTRUE>)
(<AND ,BUCKET-TOP-FLAG
<NOT <IN? ,WATER ,BUCKET>>>
<COND (,EVAPORATED
<TELL
"The last of the water evaporates, and the bucket descends." CR CR>)
(T
<TELL "The bucket descends and" ,STOPS>)>
<SETG BUCKET-TOP-FLAG <>>
<PASS-THE-BUCKET ,CIRCULAR-ROOM>)>)>>
<ROUTINE PASS-THE-BUCKET (R)
<MOVE ,BUCKET .R>
<COND (<IN? ,WINNER ,BUCKET>
<GOTO .R>)>>
<GLOBAL BUCKET-TOP-FLAG <>>
<GLOBAL EVAPORATED <>>
<ROUTINE I-BUCKET ()
<COND (<IN? ,WATER ,BUCKET>
<SETG EVAPORATED T>
<REMOVE ,WATER>)>
<RFALSE>>
<OBJECT WELL
(IN LOCAL-GLOBALS)
(DESC "well")
(SYNONYM WELL)
(ADJECTIVE MAGIC)
(FLAGS NDESCBIT)
(ACTION WELL-F)>
<ROUTINE WELL-F ()
<COND (<AND <VERB? THROW PUT DROP>
<FSET? ,PRSO ,TAKEBIT>>
<MOVE ,PRSO ,CIRCULAR-ROOM>
<TELL "The " D ,PRSO " is now at the bottom of the well." CR>
<NOW-DARK?>)
(<VERB? CLIMB CLIMB-DOWN>
<TELL "You can't climb the well." CR>)>>
<ROOM TOP-OF-WELL
(IN ROOMS)
(DESC "Top of Well")
(LDESC
"You have made it to the top. Well done. There are etchings on the well. A
crack runs across the floor at the doorway to the east, but it can be crossed
easily. Another doorway leads northeast.")
(EAST TO TEA-ROOM)
(NE TO MACHINE-ROOM)
(DOWN "It's a long way down.")
(VALUE 10)
(FLAGS RLANDBIT NONLANDBIT ALICEBIT)
(GLOBAL WELL ETCHINGS)
(PSEUDO "CRACK" CRACK-PSEUDO)>
<ROUTINE CRACK-PSEUDO ()
<COND (<VERB? EXAMINE>
<TELL "It's a small, uninteresting crack." CR>)>>
<OBJECT ROBOT
(IN TOP-OF-WELL)
(DESC "robot")
(SYNONYM ROBOT)
(FLAGS ACTORBIT CONTBIT OPENBIT)
(ACTION ROBOT-F)>
<ROUTINE ROBOT-F ()
<COND (<EQUAL? ,WINNER ,ROBOT>
<COND (<VERB? SGIVE>
<RFALSE>)
(<VERB? FOLLOW>
<TELL
"\"I'm too primitive. I can walk in any direction you order, though.\"" CR>)
(<AND <VERB? RAISE TAKE MOVE>
<EQUAL? ,PRSO ,CAGE-OBJECT>>
<TELL "The robots pulverizes the cage to dust." CR CR>
<DISABLE <INT I-CAGE-DEATH>>
<SETG WINNER ,ADVENTURER>
<FCLEAR ,ROBOT ,NDESCBIT>
<FSET ,PALANTIR-1 ,TAKEBIT>
<MOVE ,ROBOT ,DINGY-CLOSET>
<SETG CAGE-SOLVE-FLAG T>
<GOTO ,DINGY-CLOSET>)
(<VERB? DROP PUT THROW>
<COND (<NOT <ACCESSIBLE? ,ROBOT>>
<RFALSE>)
(T
<TELL ,B-W-C>
<COND (<IN? ,PRSO ,ROBOT>
<TELL "\"" CR>
<RFALSE>)
(T
<TELL " I don't have that!\"" CR>)>)>)
(<OR <VERB? WALK>
<AND <VERB? TAKE PUSH>
<NOT <FSET? ,PRSO ,ACTORBIT>>>>
<COND (<NOT <ACCESSIBLE? ,ROBOT>>
<RFALSE>)
(T
<TELL ,B-W-C "\"" CR>)>
<RFALSE>)
(T
<COND (<ACCESSIBLE? ,ROBOT>
<TELL
"\"My programming is insufficient for that task.\"" CR>)>
<RTRUE>)>)
(<VERB? OPEN LOOK-INSIDE CLOSE>
<TELL "The robot has no access panel." CR>)
(<AND <VERB? GIVE>
<EQUAL? ,PRSI ,ROBOT>>
<MOVE ,PRSO ,ROBOT>
<TELL "The robot accepts the " D ,PRSO ,PERIOD-CR>)
(<VERB? THROW MUNG>
<TELL
"The robot (being of shoddy construction) disintegrates before your eyes." CR>
<REMOVE-CAREFULLY ,ROBOT>)>>
<OBJECT ROBOT-LABEL
(IN TOP-OF-WELL)
(DESC "green piece of paper")
(SYNONYM PAPER PIECE)
(ADJECTIVE GREEN)
(SIZE 3)
(FLAGS READBIT TAKEBIT BURNBIT)
(TEXT
"This robot was trained at GUE Tech to perform simple household functions. To
activate, say:|
>ROBOT, <thing to do>|
A product of the Frobozz Magic Robot Company.")>
<ROOM MACHINE-ROOM
(IN ROOMS)
(DESC "Machine Room")
(LDESC
"This room is full of assorted machinery, whirring noisily. On one wall is a
triangular button labelled, \"DANGER -- HIGH VOLTAGE.\" There are exits to the
south and southwest.")
(SOUTH TO DINGY-CLOSET)
(SW TO TOP-OF-WELL)
(FLAGS RLANDBIT ONBIT ALICEBIT)>
<OBJECT TRIANGULAR-BUTTON
(IN MACHINE-ROOM)
(DESC "triangular button")
(SYNONYM BUTTON)
(ADJECTIVE TRIANGULAR)
(FLAGS NDESCBIT)
(ACTION TRIANGULAR-BUTTON-F)>
<GLOBAL CAROUSEL-ON T>
<ROUTINE TRIANGULAR-BUTTON-F ()
<COND (<VERB? PUSH>
<COND (<EQUAL? ,WINNER ,ADVENTURER>
<JIGS-UP "You are instantly electrocuted.">)
(T
<SETG CAROUSEL-ON <NOT ,CAROUSEL-ON>>
<COND (<FSET? ,VIOLIN ,INVISIBLE>
<FCLEAR ,VIOLIN ,INVISIBLE>
<FCLEAR ,CAROUSEL-ROOM ,TOUCHBIT>
<TELL "You hear a distant thump." CR>)
(T
<TELL "Click." CR>)>)>)>>
<ROOM DINGY-CLOSET
(IN ROOMS)
(DESC "Dingy Closet")
(LDESC
"This is a former broom closet. A larger room lies to the north. Chiselled
on the wall are the words \"Protected by the Frobozz Magic Alarm Company.\"")
(OUT TO MACHINE-ROOM)
(NORTH TO MACHINE-ROOM)
(FLAGS ONBIT RLANDBIT ALICEBIT)>
<OBJECT CAGE-OBJECT
(IN DINGY-CLOSET)
(DESC "solid steel cage")
(SYNONYM CAGE)
(ADJECTIVE STEEL SOLID)
(FLAGS INVISIBLE)>
<ROOM CAGE
(IN ROOMS)
(DESC "Cage")
(LDESC "You are trapped in a solid steel cage.")
(FLAGS RLANDBIT ONBIT ALICEBIT)>
<GLOBAL CAGE-SOLVE-FLAG <>>
<ROUTINE I-CAGE-DEATH ()
<COND (<EQUAL? ,HERE ,DINGY-CLOSET ,CAGE>
<FSET ,PALANTIR-1 ,INVISIBLE>
<JIGS-UP "The poison gas takes effect.">)>>
<ROOM TEA-ROOM
(IN ROOMS)
(DESC "Tea Room")
(LDESC
"An oblong table here is set for afternoon tea. It is clear that the users
were indeed mad. To the east is a small hole (perhaps four inches high). A
doorway leads west.")
(EAST "Only a mouse could fit.")
(WEST TO TOP-OF-WELL)
(FLAGS RLANDBIT ONBIT ALICEBIT)
(PSEUDO "HOLE" ALICE-HOLE)>
<ROUTINE ALICE-HOLE ()
<COND (<VERB? ENTER EXAMINE>
<DO-WALK ,P?EAST>)
(<VERB? LOOK-INSIDE>
<TELL ,ONLY-DARKNESS>)
(<AND <VERB? PUT>
<EQUAL? ,PRSI ,PSEUDO-OBJECT>>
<TELL "It doesn't fit." CR>)>>
<OBJECT PORTRAIT
(IN TEA-ROOM)
(DESC "portrait of J. Pierpont Flathead")
(FDESC "A rare portrait of J. Pierpont Flathead hangs on the wall.")
(SYNONYM PORTRAIT PAINTING TREASURE)
(ADJECTIVE RARE FLATHEAD)
(SIZE 25)
(VALUE 20)
(FLAGS TAKEBIT BURNBIT)>
<OBJECT ALICE-TABLE
(IN TEA-ROOM)
(DESC "table")
(SYNONYM TABLE)
(ADJECTIVE OBLONG)
(CAPACITY 50)
(FLAGS CONTBIT SURFACEBIT OPENBIT)>
<OBJECT GREEN-CAKE
(SIZE 4)
(IN ALICE-TABLE)
(DESC "cake frosted with green letters")
(SYNONYM CAKE ICING CAKES LETTER)
(ADJECTIVE GREEN FROSTED)
(FLAGS READBIT TAKEBIT FOODBIT)
(TEXT "The icing spells, \"Eat Me.\"")
(ACTION GREEN-CAKE-F)>
<ROUTINE GREEN-CAKE-F ("AUX" F N)
<COND (<AND <VERB? EAT>
<EQUAL? ,PRSO ,GREEN-CAKE>
<EQUAL? ,HERE ,TEA-ROOM>>
<REMOVE ,GREEN-CAKE>
<FSET ,ALICE-TABLE ,INVISIBLE>
<FSET ,ROBOT ,INVISIBLE>
<SET F <FIRST? ,HERE>>
<REPEAT ()
<COND (<NOT .F>
<RETURN>)>
<SET N <NEXT? .F>>
<COND (<AND <NOT <EQUAL? .F ,ADVENTURER>>
<FSET? .F ,TAKEBIT>>
<COND (<FSET? .F ,TRYTAKEBIT>
<FSET .F ,RLANDBIT>)>
<FSET .F ,NONLANDBIT>
<FSET .F ,TRYTAKEBIT>
<MOVE .F ,POSTS-ROOM>)>
<SET F .N>>
<TELL
"Suddenly, the room becomes huge (although your possessions retain their
normal size)." CR CR>
<GOTO ,POSTS-ROOM>)
(T
<CAKE-CRUMBLE>)>>
<OBJECT BLUE-CAKE
(IN ALICE-TABLE)
(DESC "cake frosted with blue letters")
(SYNONYM CAKE ICING CAKES LETTER)
(ADJECTIVE BLUE FROSTED)
(SIZE 4)
(FLAGS READBIT TAKEBIT FOODBIT)
(ACTION CAKE-F)>
<OBJECT ORANGE-CAKE
(IN ALICE-TABLE)
(DESC "cake frosted with orange letters")
(SYNONYM CAKE CAKES ICING LETTER)
(ADJECTIVE ORANGE FROSTED)
(SIZE 4)
(FLAGS READBIT TAKEBIT FOODBIT)
(ACTION CAKE-F)>
<OBJECT RED-CAKE
(IN ALICE-TABLE)
(DESC "cake frosted with red letters")
(SYNONYM CAKE CAKES ICING LETTER)
(ADJECTIVE RED FROSTED)
(SIZE 4)
(FLAGS READBIT TAKEBIT FOODBIT)
(ACTION CAKE-F)>
<ROUTINE CAKE-F ("AUX" F N)
<COND (<VERB? READ>
<COND (<FSET? ,PRSO ,NONLANDBIT>
<TELL "The cake is now too tall to read." CR>)
(T
<TELL
"The letters are tiny; all you can make out is \"E">
<COND (<EQUAL? ,PRSO ,RED-CAKE>
<TELL "VA">)
(<EQUAL? ,PRSO ,ORANGE-CAKE>
<TELL "XP">)
(T
<TELL "NL">)>
<TELL "\"." CR>)>)
(<AND <VERB? EAT>
<EQUAL? ,HERE ,TEA-ROOM ,POSTS-ROOM ,POOL-ROOM>>
<REMOVE ,PRSO>
<COND (<EQUAL? ,PRSO ,ORANGE-CAKE>
<JIGS-UP
"You are blasted to smithereens (wherever they are).">)
(<EQUAL? ,PRSO ,RED-CAKE>
<JIGS-UP "Taste: yum. Effect: massive dehydration.">)
(T ;<EQUAL? ,PRSO ,BLUE-CAKE>
<TELL "The room shrinks." CR CR>
<COND (<EQUAL? ,HERE ,POSTS-ROOM>
<FCLEAR ,ROBOT ,INVISIBLE>
<FCLEAR ,ALICE-TABLE ,INVISIBLE>
<FSET ,POSTS ,INVISIBLE>
<SET F <FIRST? ,HERE>>
<REPEAT ()
<COND (<NOT .F>
<RETURN>)>
<SET N <NEXT? .F>>
<COND (<AND <NOT <EQUAL? .F ,ADVENTURER>>
<FSET? .F ,TAKEBIT>>
<FCLEAR .F ,NONLANDBIT>
<COND (<NOT <FSET? .F ,RLANDBIT>>
<FCLEAR .F ,TRYTAKEBIT>)>
<FCLEAR .F ,RLANDBIT>
<MOVE .F ,TEA-ROOM>)>
<SET F .N>>
<GOTO ,TEA-ROOM>)
(T
<JIGS-UP
"The room is now too small to hold you, and the walls are tougher
than your body.">)>)>)
(<AND <VERB? THROW PUT>
<EQUAL? ,PRSO ,ORANGE-CAKE>
<EQUAL? ,HERE ,TEA-ROOM ,POSTS-ROOM ,POOL-ROOM>>
<REMOVE ,PRSO>
<JIGS-UP
"You are blasted to smithereens (wherever they are).">)
(<AND <VERB? THROW PUT>
<EQUAL? ,PRSI ,POOL>>
<COND (<EQUAL? ,PRSO ,BLUE-CAKE>
<TELL "\"Splash!\"" CR>
<REMOVE ,PRSO>
<RTRUE>)>
<MOVE ,PRSO ,HERE>
<REMOVE ,PRSI>
<FCLEAR ,CANDY ,INVISIBLE>
<TELL
"The pool evaporates, leaving a damp (but still valuable) package of
rare candies." CR>)
(T
<CAKE-CRUMBLE>)>>
<ROUTINE CAKE-CRUMBLE ("AUX" CAKE)
<COND (<FSET? ,PRSO ,FOODBIT>
<SET CAKE ,PRSO>)
(T
<SET CAKE ,PRSI>)>
<COND (<FSET? ,HERE ,ALICEBIT>
<RFALSE>)
(T
<REMOVE .CAKE>
<TELL "The " D .CAKE " crumbles to dust." CR>)>>
<ROOM POSTS-ROOM
(IN ROOMS)
(DESC "Posts Room")
(LDESC
"In the center of this enormous room, four wooden posts support a huge
oblong roof. To the east is a large hole; to the west a gaping chasm.")
(EAST TO POOL-ROOM)
(WEST "A chasm blocks your way.")
(FLAGS RLANDBIT ONBIT ALICEBIT)
(VALUE 5)
(GLOBAL CHASM)
(ACTION POSTS-ROOM-F)>
<ROUTINE POSTS-ROOM-F (RARG)
<COND (<AND <EQUAL? .RARG ,M-BEG>
<VERB? TAKE>
<FSET? ,PRSO ,NONLANDBIT>>
<TELL
"The " D ,PRSO " is now huge. You have no hope of taking it." CR>)>>
<OBJECT POSTS
(IN POSTS-ROOM)
(DESC "group of wooden posts")
(SYNONYM POSTS POST)
(ADJECTIVE WOODEN)
(FLAGS NDESCBIT)>
<ROOM POOL-ROOM
(IN ROOMS)
(DESC "Pool Room")
(LDESC "The far half of this room is depressed. The only exit is west.")
(OUT TO POSTS-ROOM)
(WEST TO POSTS-ROOM)
(FLAGS RLANDBIT ALICEBIT)>
<OBJECT POOL
(IN POOL-ROOM)
(DESC "pool")
(LDESC
"The depressed area is filled with water. There is something hazy at the
deepest part of the pool.")
(SYNONYM POOL WATER)
(ACTION POOL-F)>
<ROUTINE POOL-F ()
<COND (<VERB? DRINK-FROM>
<HIT-SPOT>)
(<VERB? LOOK-UNDER>
<TELL "You can't make out what's below the surface." CR>)
(<VERB? ENTER>
<V-SWIM>)>>
<OBJECT CANDY
(IN POOL-ROOM)
(DESC "package of candy")
(LDESC "There is a package of candied insects here.")
(SYNONYM PACKAGE CANDY INSECTS)
(ADJECTIVE CANDIED RARE)
(SIZE 8)
(VALUE 15)
(FLAGS FOODBIT TAKEBIT INVISIBLE READBIT)
(TEXT
"\"Frobozz Magic Candy Company -- Special Assortment! Candied Grasshoppers,
Chocolated Ants, and Worms Glacee!\"")
(ACTION CANDY-F)>
<ROUTINE CANDY-F ()
<COND (<VERB? EAT OPEN>
<TELL "It's too rich for your tastes." CR>)>>