8a8611a05006d7f991d75ca95e9b02359928781a
[homeland.git] / src / objects / intro / sidewalk.inf
1 ! Copyright (C) 2019, 2020 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  Sidewalk "Sidewalk"
17   with  description 
18             "You are standing on the sidewalk in front of your house. 
19             The street is normally quiet, but it's been very busy 
20             today like trying to get through a busy movie theater, 
21             and the sound of the traffic has been particularly 
22             noticeable. The traffic is a good sign of what going on 
23             in the city as a whole today. It is barely cloudy and 
24             already hot this morning. Smaller branches of trees are in 
25             motion from the light wind, which helps to provide some 
26             relief from the heat. Your home is to the west. Your 
27             neighbor's home is to the northwest.",
28         n_to 
29             "Some inconsiderate person parked their car on the 
30             sidewalk which blocks your path. It might be nice to call 
31             Parking Enforcement so they can get a ticket for creating 
32             an obstruction but you don't have a phone.",
33         s_to 
34             "You arrive at an intersection. Lots of traffic drives 
35             past at high speed creating a small breeze that makes your 
36             shirt ripple. You decide it is better to not risk being 
37             run over and go back.",
38         e_to 
39             "As you start to step out into the street a car quickly 
40             zooms by at high speed. You jump back to avoid becoming 
41             part of the pavement.",
42         se_to 
43             "As you start to step out into the street a car honks 
44             impatiently for you to get out of the way. You go back to 
45             your old spot.",
46         ne_to 
47             "The street is very busy. Surely you'd be hit by a moving 
48             vehicle if you went there.",
49         nw_to frontporch,
50         sw_to "A rock wall blocks your path.",
51         w_to frontdoor,
52   has   light;
53
54 Object  sun "sun" sidewalk
55   with  name 'sun',
56         found_in sidewalk backyard campsite,
57   has   scenery;
58
59 Object  clouds "clouds" sidewalk
60   with  name 'cloud' 'clouds',
61         found_in sidewalk backyard,
62   has   scenery;
63
64 Object  tree "tree" sidewalk
65   with  name 'tree' 'trees' 'evergreen' 'evergreen' 'leaves' 'leaf',
66         found_in sidewalk backyard campsite,
67         description 
68             "Standing strong, majestic and tall, as if reaching for 
69             the sky. There are countless numbers of sun-drenched 
70             leaves, each a deep green.",
71         before [;
72           Climb:
73             print_ret 
74                 "Despite your best efforts you're not able to. 
75                 There's no branch low enough to grab.";
76           Taste:
77             print_ret "It tastes like wood.";
78           Touch:
79             print_ret "The trunk of the free feels rough to the touch.";
80           Take, Pull, Push, PushDir, Turn:
81             print_ret 
82                 "The tree is firmly anchored into the ground by a 
83                 healthy root system. It's not going anywhere.";
84           Drink:
85             print_ret "The tree is not a liquid.";
86           Blow:
87             print_ret "You huff and you puff but nothing happens.";
88           Burn:
89             print_ret "Only you can prevent forest fires.";
90           Buy:
91             print_ret "The tree is not for sale.";
92           JumpOver:
93             print_ret 
94                 "Since when did you gain the ability to jump over 
95                 trees in a single bound?";
96         ],
97   has   scenery;
98
99 Object  street "street" sidewalk
100   with  name 'street' 'road',
101         description "It's your typical street.",
102   has   scenery;
103
104 Object  rockwall "rock wall" sidewalk
105   with  name 'rock' 'wall' 'stone' 'rock' 'boulder' 'stonework' 
106         'cobblestone' 'mortar' 'stones' 'rocks' 'walls',
107          description 
108             "Made up of assorted stones of various sizes and shapes, 
109             with a healthy dose of mortar between them to fill and 
110             seal the irregular gaps between them, it serves as a wall 
111             separating your property from someone else's.",
112   has   scenery;
113
114 Object  car "car" sidewalk
115   with  name 'car' 'vehicle' 'automobile',
116         description 
117             "It's a white two-door car. The license plate holder says 
118             FrobozzCo International.",
119         before [;
120           Unlock:
121             print_ret "The car is locked, and there is apparently no key.";
122           Open:
123             print_ret "The car is locked, and there is apparently no key.";
124           Climb:
125             print_ret 
126                 "I'm not sure that FrobozzCo International would 
127                 appreciate people climbing on one of their cars.";
128           Take:
129             print_ret 
130                 "I doubt that FrobozzCo International would 
131                 appreciate someone taking one of their cars.";
132           Pull, Push, PushDir, Turn:
133             print_ret (The) self, " is too heavy for that.";
134         ],
135   has   scenery;
136
137 Object  licenseplateframe "license plate holder" sidewalk
138   with  name 'license' 'plate' 'frame' 'holder',
139         description "It says FrobozzCo International in white letters 
140                     on a black frame.",
141         Before [;
142           Take, Pull, Push, PushDir, Turn:
143             print_ret (The) self, " is firmly attached to the car.";
144         ],
145   has   scenery;