+++ /dev/null
-! Copyright (C) 2019, 2020 Jason Self <j@jxself.org>
-!
-! This file is free software: you may copy, redistribute and/or
-! modify it under the terms of the GNU Affero General Public License
-! as published by the Free Software Foundation, either version 3 of
-! the License, or (at your option) any later version.
-!
-! This file is distributed in the hope that it will be useful, but
-! WITHOUT ANY WARRANTY; without even the implied warranty of
-! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-! Affero General Public License for more details.
-!
-! You should have received a copy of the GNU Affero General Public
-! License along with this file. If not, see https://gnu.org/licenses/
-
-Object backyard "Back Yard"
- with description
- "You are in your neighbor's back yard. It is barely cloudy
- and already hot this morning. Some shade from the sun
- would be nice but the closest tree is at the sidewalk, on
- the other side of the building and the sun is causing all
- of the shadows to go in the wrong direction. The healthy,
- dark green grass is well manicured. It looks like a nice
- place. You hear some dogs barking in the distance. A high
- wooden fence encompasses the area, painted a burnt umber.
- Their back door is to the east. Your kitchen window is to
- the south.",
- before [;
- Go:
- if (noun == s_obj) {
- print
- "Climbing over the fence you squeeze back through
- your kitchen window.^";
- }
- ],
- s_to window,
- n_to "Their fence is too high to climb over in that direction.",
- e_to backdoor,
- w_to "Their fence is too high to climb over in that direction.",
- has light;
-
-Object leaves "leaves" backyard
- with name 'leaf' 'leaves',
- found_in backyard sidewalk,
- has scenery;
-
-Object scratches "scratches" backyard
- with name 'scratch' 'scratches' 'mark' 'marks' 'marking' 'markings',
- found_in backyard neighborkitchen,
- has scenery;
-
-Object house "neighbor's house" backyard
- with name 'neighbor' 'neighbors' 'house' 'home' 'building',
- found_in backyard frontporch kitchen sidewalk,
- has scenery;
-
-Object backdoor "back door" backyard
- with name 'door' 'back' 'backdoor',
- description
- "Burgundy in color it seems a solid and hefty door. It
- has scratches along the bottom, as if from a pet long
- forgotten.",
- short_name [;
- if (location == backyard)
- print "door to your neighbor's house";
- else
- print "door to the back yard";
- return true;
- ],
- found_in backyard neighborkitchen,
- door_dir [;
- if (location == backyard)
- return e_to;
- else
- return w_to;
- ],
- door_to [;
- if (location == backyard)
- return neighborkitchen;
- else
- return backyard;
- ],
- has scenery door openable;
\ No newline at end of file