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 livingroom "Livingroom"
18 "You are in a modestly furnished livingroom. Pictures
19 hang from the walls. You can hear the sound of vehicles
20 driving by outside. The kitchen is to the west. The front
21 door is to the east. Your bedroom is to the south.",
24 print "You can hear the sound of vehicles driving by outside.^";
28 "Since when did you get the ability to walk through
29 walls? The kitchen is to the west. The front door is to
30 the east. Your bedroom is to the south.",
36 Object picture "pictures" livingroom
38 "The pictures in the room consist of a landscape painting
39 showing a strangely geometric mountain, another of a
40 still life painting of a table laid out with a feast and
41 the third is a portrait of an unknown man. He has a full
42 beard, is wearing a black robe and no shoes. On his head
43 is a large 1970s-era hard disk platter.",
44 name 'picture' 'photo' 'photos' 'frame' 'frames' 'pictures'
49 "They look so nice, perhaps it's better to leave them
52 has scenery pluralname;
54 Object man "man" livingroom
55 with description "It's a painting of Richard Stallman dressed as
57 name 'man' 'disk' 'hard' 'platter' 'robe' 'rms' 'Richard' 'Stallman'
58 'robe' 'black' 'image' 'images',
62 "The painting looks so nice, perhaps it's better to
63 leave it where it is.";
67 Object television "television" livingroom
68 with name 'television' 'tv',
70 "It's big, gray, and one of those old-fashioned CRT
71 models. It looks very heavy.",
75 if (television has on) {
76 self.watch_count = self.watch_count + 1;
77 switch (self.watch_count) {
80 "It's big, gray, and one of those
81 old-fashioned CRT models. It looks very
82 heavy.^The TV is currently switched on. Your
83 favorite news program is on: U.S. News And
84 Grue Report.^The news anchor is saying ~In
85 other news, authorities continue to
86 investigate the missing persons case.~^";
91 "The news anchor continues by saying ~We're
92 told the that number of missing people is now
93 up to as many as 5.~^";
98 "The news anchor concludes their coverage by
99 saying ~We'll have more as the story continues
105 "It's big, gray, and one of those
106 old-fashioned CRT models. It looks very
107 heavy.^The TV is currently switched on. Your
108 favorite news program is on: U.S. News And
114 Take, Pull, Push, PushDir:
115 print_ret (The) self, " is too heavy for that.";
120 "The television comes to life. Your favorite news
121 program is on: U.S. News And Grue Report.^";
122 if (television hasnt visited) {
124 give television visited;
128 has static switchable;
130 Object couch "couch" livingroom
131 with name 'couch' 'sofa',
133 "It looks like a throwback from the 1970s but has held up
136 Take, Pull, Push, PushDir:
137 print_ret (The) self, " is too heavy for that.";
142 "The couch makes a nauseating, high-pitched groan as
143 your weight is added.^";
146 print "The couch makes a muted snort as your weight is removed.^";
149 has static supporter enterable;
151 Object frontdoor "front door" livingroom
152 with name 'door' 'front',
154 "Cinnamon brown in color it appears to be a very solid
157 if (location == livingroom)
158 print "door to the outside";
160 print "door to your house";
163 found_in livingroom sidewalk,
165 if (location == sidewalk)
171 if (location == sidewalk)
176 has scenery door openable;