Update to serial 210328
[homeland.git] / src / overworld.inf
1 ! Copyright (C) 2019, 2020, 2021 Jason Self <j@jxself.org>
2 !
3 ! This file is free software: you may copy, redistribute and/or 
4 ! modify it under the terms of the GNU Affero General Public License 
5 ! as published by the Free Software Foundation, either version 3 of 
6 ! the License, or (at your option) any later version.
7 !
8 ! This file is distributed in the hope that it will be useful, but
9 ! WITHOUT ANY WARRANTY; without even the implied warranty of
10 ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ! Affero General Public License for more details.
12 !
13 ! You should have received a copy of the GNU Affero General Public
14 ! License along with this file. If not, see https://gnu.org/licenses/
15
16 Object  bridge1 "Bridge"
17   with  description
18             "This part of the bridge seems sturdy enough, although 
19             there are signs of rot and termite damage.",
20         n_to bridge2,
21   has   light;
22
23 Object  bridge2 "Bridge"
24   with  description
25             "The rot and termite damage is more serious in this area 
26             and there are clear signs that nails are missing.",
27         s_to bridge1,
28         n_to bridge3,
29   has   light;
30
31 Object  bridge3 "Bridge"
32   with  description
33             "The entire bridge swings slightly from side to side.
34             It seems certain that this bridge is going to crack and 
35             break.",
36         s_to bridge2,
37         n_to bridge4,
38   has   light;
39
40 Object  bridge4 "Bridge"
41   with  description [;
42             print
43                 "You are nearly halfway across. Everything seems fine 
44                 for a moment but then there is a horrible cracking 
45                 sound as the entire bridge lurches to the side and all 
46                 of the planks fall. You look down and see the water 
47                 rapidly approaching.";
48         deadflag = 1;
49         ],
50   has   light;
51
52 Object  campsite "Campsite"
53   with  description 
54             "You are at an old campsite set among some low-lying hills 
55             and grassy fields. The sun shines brightly from above, 
56             casting its golden glow in all directions to illuminate 
57             the camping area. The healthy, dark green grass carpets 
58             the field except around an old fire pit. The fire pit 
59             appears to have been used recently and you smell smoke in 
60             the air. It is still intact and there are no ashes. The 
61             hills and grassy fields appears to continue on in all 
62             directions, leading to some trees in the distance in an 
63             area that appears to be heavily wooded.",
64         n_to g59,
65         nw_to g58,
66         ne_to g60,
67         w_to westofcampsite,
68         e_to h70,
69         s_to g79,
70         se_to h80,
71         sw_to h78,
72         before [;
73           Listen:
74             print_ret 
75                 "You listen and hear several raspy coughs nearby... 
76                 all coming from the log. You also hear chanting from 
77                 right behind you but looking around you see no one is 
78                 there.";
79         ],
80         u_to 
81             "That's the sky. Not sure how you plan to get there but 
82             maybe you know something I don't.",
83         d_to "That's the ground. Since when are you able to move through it?",
84   has   light;
85
86 Object  firepit "firepit" campsite
87   with  name 'fire' 'firepit' 'pit',
88         description 
89             "The fire pit is small and nothing more than an 
90             indentation in the ground. It reeks of old campfires.",
91   has   scenery;
92
93 Object  log "log" campsite
94   with  name 'log' 'wood',
95         description 
96             "It's the remnant of a tree trunk uprooted by a storm. 
97             About 6 feet long and 2 feet thick, someone has taken the 
98             time to shape it flat and square for sitting. The log is 
99             dry but heavy for its size and would be difficult to move 
100             without some kind of vehicle. Slightly recessed into the 
101             ground, it's a combination of cinnamon and caramel brown. 
102             Deep scratches and ominous stains mar the surface.",
103   has   supporter enterable static;
104
105 Object  diary "diary"
106   with  name 'diary' 'book',
107         description 
108             "The diary is old and worn. The pages are tattered and 
109             yellowed, and most of the writing has faded due to 
110             exposure to the elements over the years. In reviewing the 
111             pages you can make out a single passage: ~The humming... 
112             the humming... I can't make it stop.~",
113   has   ;
114
115 Object  lantern "copper lantern" log
116   with  name 'lantern' 'copper',
117         description 
118             "This is an exceptionally beautiful oil lamp. About 
119             eleven inches high, with a base of about 5 inches or so in 
120             diameter and a large, brass-closed hook at the top. The 
121             glass in the lamp has a Fresnel type of design, which is 
122             used to distribute light widely. The words ~Manufactured 
123             By The Frobozz Magic Lantern Company~ are engraved in the 
124             base.",
125         after [;
126           SwitchOn:
127             give lantern light;
128           SwitchOff:
129             give lantern ~light;
130         ],
131   has   switchable;
132
133 Object  westofcampsite "West Of Campsite"
134   with  description [;
135             print "You're in an area of sweet smelling green ankle 
136             high grass just east of a forest. Livestock tracks form a 
137             well-worn path next to a creek, both coming from the 
138             northeast, and ending at a small pond. Filled with water 
139             lilies, the pond seems quiet and serene. You look to the 
140             forest edge and see a clear path east and northeast 
141             leading deep into the forest. On both sides there is 
142             dense undergrowth with only a small path through it. The 
143             trees are ancient with thick vines hanging from them and 
144             across the path. All other directions take you to 
145             low-lying hills and grassy fields.";
146             if (westofcampsite hasnt visited)
147                 print
148                     " A flock of birds fly overhead and disappear into 
149                     the forest.";
150             new_line;
151         ],
152         before [;
153           Listen:
154             print_ret 
155                 "You hear strange unintelligible whispers but looking 
156                 around see no one.^";
157         ],
158         e_to campsite,
159   has   light;
160
161 Object  pond "pond" westofcampsite
162   with  name 'pond' 'water',
163         description 
164             "Filled with water lilies, the pond seems quiet 
165             and serene.",
166         before [;
167           ThrownAt:
168             "Probably not a good idea. You might need that.";
169           Taste, Drink:
170             print_ret "The water tastes dirty.";
171           Touch:
172             print_ret "You touch the water, creating ripples.";
173           Take, Pull, Push, PushDir, Turn:
174             print_ret 
175                 "I'm not sure how 
176                 you'd do that with a pond.";
177           Blow:
178             print_ret "You huff and you puff but nothing happens.";
179           Burn:
180             print_ret "One can burn water?";
181           Buy:
182             print_ret "The pond is not for sale.";
183           JumpOver:
184             print_ret "The pond is too large to jump over.";
185         ],
186   has   scenery;
187
188 Object  vines "vines" westofcampsite
189   with  name 'vine' 'vines',
190   has   scenery;
191
192 Object  shed "Shed"
193   with  description 
194             "This small shed is a rickety-looking building made of 
195             thin wood. It has no windows but there's a large opening 
196             where a door should be. The exit is to the east.",
197         e_to g60,
198   has   light;
199
200 Object  oldhouse "House"
201   with  description 
202             "It's an old, two-story rectangular house built with white 
203             stones tan brick. One large chimney sits at the side of 
204             the house and small, rounded windows have been added to 
205             in a very asymmetric way. The second floor is the same 
206             size as the first, but part of it hangs over the edge,
207             creating an overhang on one side and a balcony on the 
208             other. The roof is tall and spindly, like it's ready to 
209             collapse inward from old age at any moment. The interior 
210             of the house is dark and quiet compared to the bright 
211             afternoon outside.";
212
213 Object  grandlibrary "Grand Library, Main Lobby"
214   with  description 
215             "The Grand Library, with its high ceiling, has been 
216             abandoned for many years. Despite being heavily looted 
217             there may still be some valuable items left behind. The 
218             walls are lined with empty shelves that seem to reach all 
219             the way to the high ceiling. All of the furniture is 
220             gone, and on the west wall, there is a curtained off 
221             area. This room looks considerably less damaged than any 
222             other part of this building although the dilapidated 
223             condition makes the library quite a dangerous place to 
224             wander around in.";
225
226 Object  g58 "Grassy Meadow"
227   with  description 
228             "The sky is bright and blue and you can feel the warmth 
229             of the sun. You hear birds singing and see the glowing 
230             colors of day. The lush grass is soft. A small wind blows 
231             the grass around, creating an illusion of shifting 
232             colors. The area is very picturesque and everything about 
233             it feels very natural. There's a slight incline but not 
234             anything that would make it difficult. To the north and 
235             east, a forest obscures the horizon. The trees cast 
236             shadows on the grass. There are small hills and grassy 
237             fields in all other directions.",
238         s_to westofcampsite,
239         e_to g59,
240         se_to campsite,
241   has   light;
242
243 Object  g59 "Grassy Meadow"
244   with  description 
245             "A garden overflows from the east. All around you are 
246             beautiful flowers of many colors, red, yellow, blue, 
247             purple, and brown. Some are pastel, others darker. The 
248             sun is brightly shining through it all, enveloping the 
249             entire setting in rich and warm color. Everything feels 
250             strong and substantial here, a wonderland from a 
251             fairytale garden. The air is crisp and cool. Birds can be 
252             heard in the distance, as their beautiful melodies call 
253             to you. Well-worn livestock tracks come from the 
254             northeast and join up with a slow-moving creek from the 
255             east. Both go to the southwest. There's a forest to the 
256             north.",
257         s_to campsite,
258         se_to h70,
259         e_to g60,
260         w_to g58,
261         sw_to westofcampsite,
262   has   light;
263
264 Object  g60 "Grassy Meadow"
265   with  description 
266             "It's a beautiful sunny day. The sky is a brilliant blue 
267             without a cloud in sight. Nearby is a large oak tree, 
268             with a small shed and a small garden. The tree has a 
269             twisted, heavy trunk. The branches are splashed with 
270             green and yellow leaves as the tree reaches toward the 
271             sky, casting its shadow around the meadow. The area smells 
272             fresh and has a peaceful feel about it. A high ridge to 
273             the east appears unclimbable. A creek slowly moves down 
274             the ridge and winds through the grassy meadow toward the 
275             east.",
276         s_to h70,
277         e_to 
278             "The ridge is so steep that you'd first need to find 
279             climbing equipment to be able to continue in that 
280             direction.",
281         up_to 
282             "The ridge is so steep that you'd first need to find 
283             climbing equipment to be able to continue in that 
284             direction.",
285         w_to g59,
286         sw_to campsite,
287   has   light;
288
289 Object  garden "small garden" g60
290   with  name 'garden' 'flowers',
291         found_in g59 g60,
292         description 
293             "The garden contains beautiful flowers of many colors, 
294             red, yellow, blue, purple, and brown. Some are pastel, 
295             others darker.",
296   has   scenery;
297
298 Object  shed2 "shed" g60
299   with  name 'shed',
300         description 
301             "It's a rickety-looking building made of thin wood. It 
302             has no windows but there's a large opening where a door 
303             should be. It's possible to enter the shed.",
304         before [;
305           Enter:
306             PlayerTo(shed);
307             rtrue;
308         ],
309   has   scenery;
310
311 Object  oaktree "oak tree" g60
312   with  name 'oak' 'tree',
313         description 
314             "The tree has a twisted, heavy trunk. The branches are 
315             splashed with green and yellow leaves as the tree reaches 
316             toward the sky, casting its shadow around the meadow.",
317         before [;
318           Climb:
319             print_ret 
320                 "As soon as you make it halfway up the tree, your 
321                 muscles begin to tremble and shake violently, throwing 
322                 your entire body against the bark of the tree and 
323                 making it difficult to continue to ascend, especially 
324                 without the use of climbing equipment. You go back 
325                 down to the ground.";
326           Taste:
327             print_ret "It tastes like wood.";
328           Touch:
329             print_ret "The trunk of the free feels rough to the touch.";
330           Take, Pull, Push, PushDir, Turn:
331             print_ret 
332                 "The tree is firmly anchored into the ground by a
333                 healthy root system. It's not going anywhere.";
334           Drink:
335             print_ret "The tree is not a liquid.";
336           Blow:
337             print_ret "You huff and you puff but nothing happens.";
338           Burn:
339             print_ret "Only you can prevent forest fires.";
340           Buy:
341             print_ret "The tree is not for sale.";
342           JumpOver:
343             print_ret 
344                 "Since when did you gain the ability to jump over
345                 trees in a single bound?";
346         ],
347   has   scenery;
348
349 Object  h70 "Grassy Meadow"
350   with  description [;
351             print 
352                 "The sun shines brightly in a cloudless sky of a 
353                 brilliant blue. You feel the sun's rays creating a 
354                 pleasant warmth. A soft breeze comes from the south, 
355                 bringing a delicate clean-smelling spring fragrance. 
356                 It smells very inviting. The grass feels warm and safe 
357                 as it moves slightly in rhythm with the breeze. The 
358                 grass feels slightly moist. This area seems very 
359                 peaceful. A high ridge to the east appears 
360                 unclimbable. Perched high up on the ridge is a single 
361                 tan and maroon building. There are words carved into a 
362                 large stone block to turn it into a distinct ~no 
363                 trespassing~ sign.";
364             if (h70 hasnt visited)
365                 print 
366                     " The only sound is the cry from a small pink and 
367                     blue bird as it scuttles about on the ground. 
368                     Startled at your approach, it flies away.";
369             new_line;
370         ],
371         n_to g60,
372         s_to h80,
373         e_to 
374             "The ridge is so steep that you'd first need to find 
375             climbing equipment to be able to continue in that 
376             direction.",
377         up_to
378             "The ridge is so steep that you'd first need to find
379             climbing equipment to be able to continue in that
380             direction.",
381         w_to campsite,
382         nw_to g59,
383         sw_to g79,
384   has   light;
385
386 Object  tanmaroonbuilding "tan and maroon building" h70
387   with  name 'tan' 'maroon' 'building',
388         description 
389             "The tan and maroon building appears to be very solidly 
390             constructed. The roof is steeply pitched. The windows are 
391             very narrow and deep set yet still reveal someone walking 
392             around inside.",
393 before [;
394           Enter:
395             print_ret
396                 "The tan and maroon building is so far up the high 
397                 ridge that you'd first need to find climbing equipment 
398                 to be able to do that.";
399 ],
400   has   scenery;
401
402 Object  largestoneblock "large stone block" h70
403   with  name 'large' 'stone' 'block',
404         description
405             "There are words carved into a large stone block that 
406             read: ~No Trespassing!~.",
407         before [;
408           Take, Pull, Push, PushDir, Turn:
409             print_ret
410                 "You're unable. The large stone block is too heavy.";
411 ],
412   has   scenery;
413
414 Object  h74 "Dirt Road"
415   with  description 
416             "You're standing on an empty dirt road that seems to be 
417             in reasonable condition. It runs in an east-west 
418             direction. The wind blows gently and steadily. The sky is 
419             a pale blue with a few wispy clouds. The sun hangs in the 
420             center of the sky and warms your skin. There seems to be 
421             a mixture of calmness and energy all around you. There is 
422             a large grassy field to the north, and you can hear a few 
423             birds singing from that direction. The south is blocked by 
424             a large stone wall.",
425         e_to g75,
426         s_to "The forest is so dense that you'd first need to find
427              a machete to be able to continue in that direction.",
428   has   light;
429
430 Object  stonewall "stone wall" h74
431   with  name 'stone' 'wall',
432         description 
433             "The wall is thick and high. It's definitely a man-made 
434             structure but the age is hard to tell. It looks like it 
435             was built during the medieval times but maybe older. Most 
436             of the stones seem quite ordinary but others have 
437             unrecognizable symbols carved into them.",
438   has   static;
439
440 Object  g75 "Grassy Meadow"
441   with  description 
442             "There is a gentle breeze and you can hear the wind   
443             blowing through the high grass near your feet. Everything 
444             seems very quiet and peaceful. The breeze is crisp and 
445             refreshing, and it brings a scent of flowers and grass. 
446             The cool blades of grass sway slightly as the wind blows  
447             through. The grass looks slightly greener than usual, and 
448             the lush green field stretches out to the north and east. 
449             The trees to the south are tall and seem to protect the 
450             land from whatever dangers lie beyond. A dirt road is to 
451             the east.",
452         e_to h76,
453         s_to "The forest is so dense that you'd first need to find
454              a machete to be able to continue in that direction.",
455   has   light;
456
457 Object  h76 "Grassy Meadow"
458   with  description 
459             "You are standing in a grassy meadow on top of a small 
460             hill, which has several little hills surrounding it. The 
461             sun is shining brightly, and the air smells of flowers. 
462             The sky is dark blue and there isn't a cloud in the sky. 
463             There's no wind either. The sun is high enough that you 
464             can see all around you, but not so high as to be 
465             blinding. This place feels quiet and serene; as if you 
466             have stepped into picturesque moment where time seems to 
467             stand still. To the south is the Grand Library.",
468         s_to grandlibrary,
469   has   light;
470
471 Object  g77 "Grassy Meadow"
472   with  description 
473             "You are standing in a grassy meadow. Sunlight beats 
474             down on you. It is nearly 70 degrees. The crystal clear 
475             sky is a rich hue of blue and perfect for gazing at. The 
476             soft green grass wafts gently in the breeze. You are 
477             completely enveloped in the wonder of nature yet there is 
478             a sense of eeriness in the air. To the north, a large 
479             forest obscures the horizon. A narrow and winding road 
480             leads to the northwest. A steep hill is to the south. 
481             Other than the road, the area seems completely 
482             untouched.",
483         s_to 
484             "The ridge is so steep that you'd first need to find
485             climbing equipment to be able to continue in that
486             direction.",
487         e_to h78,
488         ne_to westofcampsite,
489   has   light;
490
491 Object  h78 "Small Hill"
492   with  description 
493             "You are on a small hill, and from here it feels as if 
494             you can see for miles around. It feels like a quiet and 
495             beautiful place. The sky is clear except for some large 
496             white clouds far away on the horizon in the bright 
497             expanse of sky. The wind blows through your hair as if in 
498             blessing. In the far distance is a lake surrounded by 
499             trees and hills. It is so beautiful, you feel as if 
500             you can see your reflection in the still water. There's a 
501             dense forest to the south.",
502         n_to westofcampsite,
503         ne_to campsite,
504         e_to g79,
505         w_to g77,
506         s_to "The forest is so dense that you'd first need to find 
507                 a machete to be able to continue in that direction.",
508   has   light;
509
510 Object  greenstone "thin green stone" h78
511   with  name 'thing' 'green' 'stone',
512         description
513             "The thin green stone is engraved with a message: ~Know 
514             that it is everywhere. Know that it is yours alone and 
515             that it will go on forever.~";
516
517 Object  lake "lake" h78
518   with  name 'lake' 'water',
519   has   scenery;
520
521 Object  g79 "Small Hill"
522   with  description 
523             "You are on a small hill, and from here it feels as if you 
524             can see for miles around. A garden used to exist here, now 
525             overgrown. Under the foliage are hundreds of stands of 
526             wildflowers, along with yellow hedges. The wind causes a 
527             100-foot-high metal spiral to slowly rotate and make a 
528             low, whistling sound. A rusty metal bench is here, which 
529             faces out over the former garden. There's a dense forest 
530             to the south. The height of this hill makes it possible 
531             to see farmland in the distance with an orchard and 
532             evidence of old animal activity.",
533         n_to campsite,
534         e_to h80,
535         w_to h78,
536         ne_to h70,
537         nw_to westofcampsite,
538         cant_go "The forest is so dense that you'd first need to find 
539                 a machete to be able to continue in that direction.",
540   has   light;
541
542 Object  garden2 "garden" g79
543   with  name 'garden',
544         description
545             "It's an old garden, now overgrown.",
546   has   scenery;
547
548 Object  wildflowers "wildflowers" g79
549   with  name 'wild' 'flower' 'flowers' 'foliage',
550   has   scenery;
551
552 Object  yellowhedges "yellow hedges" g79
553   with  name 'yellow' 'hedge' 'hedges',
554         description
555             "They look like they need trimming but they are doing 
556             their best. The wind is just making them dance a little.",
557   has   scenery pluralname;
558
559 Object  rustymetalbench "rusty metal bench" g79
560   with  name 'metal' 'bench',
561         description
562             "You can't see it very well since it is partly hidden by 
563             some of the overgrowth but it's so rusty that you might 
564             get tetanus just from looking at it.",
565   has   scenery supporter enterable static;
566
567 Object  spiral "100-foot-high metal spiral" g79
568   with  name 'metal' 'spiral',
569         description
570             "It seems so old and rusted that it could fall at any 
571             minute as it slowly rotates in the wind.",
572   has   scenery;
573
574 Object  h80 "Grassy Meadow"
575   with  description 
576             "This is a pretty, quiet place. There are wide swaths of 
577             open space with green fields and blue skies that seem to 
578             meander on to the north and west, and a densely packed 
579             forest to the south and east. The air is warm. The forest 
580             seems sleepy while the sun shines through the trees, but 
581             there's something wrong. Something is happening to the 
582             landscape around you; it is changing. You hear an eerie 
583             breeze coming from the direction of the forest, which is 
584             in direct opposition to the normal wind direction of this 
585             area.",
586         before [;
587           Listen:
588             print_ret 
589                 "You hear an audible moan nearby but looking around 
590                 see no one.^";
591         ],
592         n_to h70,
593         nw_to campsite,
594         w_to g79,
595         cant_go "The forest is so dense that you'd first need to find 
596                 a machete to be able to continue in that direction.",
597   has   light;