1 ! Copyright (C) 2019 Jason Self <j@jxself.org>
3 ! This file is free software: you may copy, redistribute gand/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.
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.
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/
16 Object kitchen "Kitchen"
18 "You are in the kitchen and in front of the window that
19 looks out on to your neighbor's back yard. It's a small
20 simple kitchen, but adequately lit by natural light from
21 the outside. The walls are painted a buttery yellow and
22 broken up by celery green curtains on the windows, which
23 move slightly in a small breeze you cannot feel. The floor
24 is highly polished, having received a fresh coat
25 yesterday afternoon. The livingroom is to the east.",
27 cant_go "You walk smack into one of those buttery yellow
32 if (chair in player) {
33 print_ret "The chair is too awkward to do that while
39 Object wall "wall" kitchen
40 with name 'yellow' 'wall' 'walls',
42 if (location == kitchen)
44 "The walls are painted a buttery yellow and
45 broken up by celery green curtains on the windows,
46 which move slightly in a small breeze you cannot
49 print "You see nothing special about the walls.^";
51 found_in kitchen livingroom bedroom neighborkitchen neighborlivingroom,
54 Object chair "chair" kitchen
55 with name 'chair' 'backrest' 'seat',
57 "It seems to be your average kitchen chair: Four chrome
58 legs and a backrest with a yellow seat that matches the
63 print_ret "As awkward as it is, you take the chair.";
65 has scenery supporter enterable;
67 Object table "table" kitchen
68 with name 'table' 'kitchen table' 'formica',
70 "It looks like something right out of the 1950s: Green
71 formica and chrome legs.",
73 Take, Pull, Push, PushDir, Turn:
74 print_ret (The) self, " is too heavy for that.";
76 has scenery supporter enterable;
78 Object newspaper "newspaper" table
79 with name 'newspaper' 'paper',
81 "It's your favorite newspaper: U.S. News And Grue Report,
82 which also airs on TV.";
84 Object window "window" kitchen
85 with name 'window' 'windows',
87 "Framed by celery green curtains it seems almost large
88 enough to climb through.",
90 if (location == kitchen)
91 print "window to your neighbor's back yard";
93 print "window to your kitchen";
96 found_in kitchen backyard,
98 if (location == kitchen)
104 if (location == kitchen)
111 if (curtains has open) {
112 print "You see your neighbor's backyard.^";
116 print "The curtains are closed, and you can't see
121 if (window hasnt visited) {
126 if (window hasnt visited) {
132 has scenery door openable;
134 Object curtains "curtains" kitchen
135 with name 'curtain' 'curtains' 'green curtains' 'celery' 'celery green'
136 'celery green curtains',
137 description "Celery green in color, you see nothing special
138 about the curtains.",
140 Take, Pull, Push, PushDir:
141 print_ret "Don't you think they look nice where they are?";
143 has scenery open openable pluralname;
145 Object legs "legs" kitchen
146 with name 'leg' 'legs',
147 found_in kitchen neighborkitchen,