1 ! Copyright (C) 2019 Jason Self <j@jxself.org>
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.
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 living room. It's very a
19 traditional but modern as far as the style of rooms go. It
20 has a certain bourgeois feeling, although it doesn't seem
21 very large. There's a couch in the middle of the room
22 facing a television. Pictures hang from the other walls.
23 The pictures were commissioned by your family, but a lot
24 of people claim they painted them. You can hear the sound
25 of vehicles driving by outside. The kitchen is to the
26 west. The front door is to the east. Your bedroom is to
30 print "You can hear the sound of vehicles driving by outside.^";
34 "Since when did you get the ability to walk through
35 walls? The kitchen is to the west. The front door is to
36 the east. Your bedroom is to the south.",
42 Object picture "pictures" livingroom
44 "The pictures in the room consist of a landscape painting
45 showing a strangely geometric mountain, another of a
46 still life painting of a table laid out with a feast and
47 the third is a portrait of an unknown man. He has a full
48 beard, is wearing a black robe and no shoes. On his head
49 is a large 1970s-era hard disk platter.",
50 name 'picture' 'photo' 'photos' 'frame' 'frames' 'pictures'
55 "They look so nice, perhaps it's better to leave them
58 has scenery pluralname;
60 Object man "man" livingroom
61 with description "It's a painting of Richard Stallman dressed as
63 name 'man' 'disk' 'hard' 'platter' 'robe' 'rms' 'Richard' 'Stallman'
64 'robe' 'black' 'image' 'images',
68 "The painting looks so nice, perhaps it's better to
69 leave it where it is.";
73 Object television "television" livingroom
74 with name 'television' 'tv',
76 "It's big, gray, and one of those old-fashioned CRT
77 models. It looks very heavy.",
81 if (television has on) {
82 self.watch_count = self.watch_count + 1;
83 switch (self.watch_count) {
86 "It's big, gray, and one of those
87 old-fashioned CRT models. It looks very
88 heavy.^The TV is currently switched on. Your
89 favorite news program is on: U.S. News And
90 Grue Report.^The news anchor is saying ~In
91 other news, authorities continue to
92 investigate the missing persons case.~^";
97 "The news anchor continues by saying ~We're
98 told the that number of missing people is now
99 up to as many as 5.~^";
104 "The news anchor concludes their coverage by
105 saying ~We'll have more as the story continues
111 "It's big, gray, and one of those
112 old-fashioned CRT models. It looks very
113 heavy.^The TV is currently switched on. Your
114 favorite news program is on: U.S. News And
120 Take, Pull, Push, PushDir:
121 print_ret (The) self, " is too heavy for that.";
126 "The television comes to life. Your favorite news
127 program is on: U.S. News And Grue Report.^";
128 if (television hasnt visited) {
130 give television visited;
134 has scenery static switchable;
136 Object couch "couch" livingroom
137 with name 'couch' 'sofa',
139 "It looks like a throwback from the 1970s but has held up
142 Take, Pull, Push, PushDir:
143 print_ret (The) self, " is too heavy for that.";
148 "The couch makes a nauseating, high-pitched groan as
149 your weight is added.^";
152 print "The couch makes a muted snort as your weight is removed.^";
155 has scenery static supporter enterable;
157 Object frontdoor "front door" livingroom
158 with name 'door' 'front',
160 "Cinnamon brown in color it appears to be a very solid
163 if (location == livingroom)
164 print "door to the outside";
166 print "door to your house";
169 found_in livingroom sidewalk,
171 if (location == sidewalk)
177 if (location == sidewalk)
182 has scenery door openable;