1 ! Copyright (C) 2019 Jason Self <j@jxself.org>
3 ! This file is free software: you may copy, redistribute and/or modify
4 ! it under the terms of the GNU Affero General Public License as
5 ! published by the Free Software Foundation, either version 3 of the
6 ! 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 Constant Story "The Mall";
19 ^If you get stuck try typing HELP.^
20 ^Source code: https://jxself.org/git/?p=the-mall.git^
21 Send bugs and feedback by email to j@@64jxself.org.^
22 Copyright (C) 2019 Jason Self^
23 This game gives you freedom; you can change and share it under
24 the terms of the GNU Affero General Public License as published by
25 the Free Software Foundation, either version 3 of the License, or
26 (at your option) any later version. See the GNU Affero General
27 Public License for details.^
28 IFID 1AB626D5-E03F-4F03-836C-50F65B643B9B^";
34 Object bank "Bank of Zork"
36 "The local branch of the Bank of Zork, the largest banking
37 institution of the Great Underground Empire. The walls are
38 redpainted and there is a distinct wash of pine and
39 sandalwood that hovers in the air. Beyond the lobby of the
40 bank, to the north, lies the vault. The air there is
41 dark-- almost heavy-- and thick with the scents of fresh
42 paper and silver and copper. A darkened office sits to the
43 south. As with all branches of the Bank of Zork, a
44 portrait of J. Pierpont Flathead hangs on the wall.",
50 Object closet "Closet"
52 "In the closet of the workshop, it is mostly dark. Here
53 lie the new supplies waiting to be taken out to customers
54 to make new teddy bears. Their beady eyes glisten as they
55 reflect the light from the workshop, their bodies deflated
56 in some places, bulging unnaturally in others.",
60 Object bears "teddy bears" closet
61 with name 'bear' 'bears' 'teddy' 'teddies' 'ted' 'eye' 'eyes'
62 'supply' 'supplies' 'bulge' 'bulges',
64 Take, Pull, Push, PushDir:
65 print_ret "Shoplifting isn't the answer.";
69 Object cookhouse "Cookhouse"
71 "The glowing letters atop indicate that this restaurant is
72 called ~The Cookhouse.~ There's a light smokiness in the
73 air, and the tables are covered in soft-looking linen
74 tablecloths. Although, since the mall closed, all of the
79 Object table2 "table" cookhouse
80 with name 'table' 'tables',
81 has scenery supporter;
83 Object tablecloth "tablecloth" table2
84 with name 'tablecloth' 'linen' 'cloth',
85 description "It's made of soft-looking linen.",
87 Take, Pull, Push, PushDir:
88 print_ret "Shoplifting isn't the answer.";
92 Object securityoffice "Security Office"
94 "A small office belonging to the bank's security officer.
95 You scan the room, seeing a table and a large bulky
100 Object television "television" securityoffice
101 with name 'television' 'tv' 'screen' 'monitor',
103 "It's big, gray, and one of those old-fashioned CRT
108 if (television has on) {
109 self.watch_count = self.watch_count + 1;
110 switch (self.watch_count) {
113 "It's big, gray, and one of those
114 old-fashioned CRT models. It looks very
115 heavy.^The TV is currently switched on. It's
116 showing grainy footage at odd angles from the
117 vault's security cameras.^";
122 Take, Pull, Push, PushDir:
123 print_ret "The television is firmly attached to the wall.";
128 "The television comes to life, showing grainy footage
129 at odd angles from the vault's security cameras.^";
132 has scenery switchable;
134 Object table "table" securityoffice
137 "Made from metal, it looks to be a solid and hefty table.",
138 has scenery supporter;
140 Object coppercoin "copper coin" table
141 with name 'copper' 'coin' 'zorkmid',
143 "The coin seems to be very old, in very poor condition,
144 and somewhat irregular in shape. The only things clearly
145 visible are what appears to be a name on one side: Belwit
146 The Flat and a date on the other: 699 GUE.";
148 Object keycard "keycard" table
149 with name 'keycard' 'key' 'card',
150 description "The keycard is used to open things.";
154 "You're in the main walkway. It's bright and clean with
155 stores all around. Pale light glimmers off the polished
156 tile like sunlight on water. The quietness of the closed
157 mall floats by as if on the wind. The mall's exit is to
166 Object tile "tile" mall
167 with name 'tile' 'tiles',
170 Object walkway "walkway" mall
171 with name 'walkway' 'hallway',
174 Object stores "stores" mall
175 with name 'store' 'stores' 'shop' 'shops',
178 Object mallexit "door" mall
179 with name 'door' 'exit' 'glass',
181 "A revolving door to the outside world, with the word
182 ~Exit~ written above. Sunlight streams crisply in through
190 has scenery door lockable openable locked;
192 Object portrait "portrait" bank
193 with name 'portrait' 'picture' 'photo',
195 "It's a portrait of J. Pierpont Flathead. His portrait
196 adorns every branch of the Bank of Zork.",
198 Take, Pull, Push, PushDir:
199 print_ret (The) self, " is firmly attached to the wall.";
205 print "You've just sauntered into a salon.";
206 if (salon hasnt visited)
208 " Suddenly you bump your head
209 on the ceiling, but it's not such a bad bump that
210 it's going to prevent you from looking at
212 if (salon has visited)
214 " Remembering the low ceiling,
215 you take care not to bump your head.";
217 " Behind the reception desk is a small display made up
218 of backlit shampoos and conditioners in various shades
219 of translucent blue. Continuing to the west is another
227 Object desk "reception desk" salon
228 with name 'desk' 'reception',
231 Object shampoo "shampoos" salon
232 with name 'shampoo' 'shampoos' 'display',
234 Take, Pull, Push, PushDir:
235 print_ret "Shoplifting isn't the answer.";
239 Object conditioner "conditioners" salon
240 with name 'conditioner' 'conditioners',
242 Take, Pull, Push, PushDir:
243 print_ret "Shoplifting isn't the answer.";
247 Object salon2 "Salon"
249 "This is a tranquil glasslit room where the stylists
250 would work on peoples' hair. You can imagine the sounds of
251 clipping shears and buzzing razors resounding through the
252 air with the clarity of a ringing bell when this place is
257 Object vaultdoor "vault door" bank
258 with name 'vault' 'safe',
260 "A large, circular, and hefty door. The words
261 ~Manufactured By The Frobozz Magic Vault Company~ are
262 engraved around the edge.",
263 has scenery door openable locked;
265 Object workshop "Bear Workshop"
267 "A workshop for making stuffed bears although by now
268 everything is put away. The workshop retains a pleasant
269 atmosphere. You should try going west.",
276 "^You fell asleep in the mall. Now it's closed, and the exit's
277 locked. Can you get out?";
281 "Nothing obvious happens.";
285 "If you need help try some of the commands from:
286 ^http://pr-if.org/doc/play-if-card/";