1 ! Copyright (C) 2021 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/
15 Constant DEATH_MENTION_UNDO;
16 Constant Story "Snowed In";
18 "^A work of interactive fiction.
19 ^If you get stuck try typing HELP.
20 ^Ongoing development: https://jxself.org/git/?p=snowed-in.git
21 ^Send bugs and feedback by email to j@@64jxself.org.
22 ^IFID DE9FA2E5-4EC7-4166-9218-E56EFA1DF40F
23 ^Copyright (C) 2021 Jason Self
24 ^You can change and share this game under the terms of the GNU
25 Affero General Public License as published by the Free Software
26 Foundation (FSF), either version 3 of the License, or (at your
27 option) any later version published by the FSF. See the GNU Affero
28 General Public License for more details.^^You should have received
29 a copy of this game's source code along with a copy of the GNU
30 Affero General Public License so that you can know your rights.
31 If not, contact the place you got it from.^^";
37 Object mainroom "Main Room"
39 "This room is a total wreck - it looks like a major fight
40 happened in here. There's a ripped up sofa and a broken
41 old coffee table in the middle of the room. A flat-screen
42 TV is mounted against the wall, with the screen dangling
43 out. A bare light bulb hangs from the ceiling, but no other
44 lights are on. There's a doorway in the south wall leading
48 Object sofa "sofa" mainroom
49 with name 'sofa' 'couch',
51 "The sofa is in poor shape. The upholstery is ripped and
52 there are several holes in it.",
54 Take, Pull, Push, PushDir, Turn:
55 print_ret (The) self, " is too heavy for that.";
57 has scenery supporter enterable;
59 Object coffeetable "coffee table" mainroom
60 with name 'coffee' 'table',
62 "The old coffee table looks as if it's had quite a bit
63 of use. There are burn marks covering it and the paint is
64 worn off in most places.",
66 Take, Pull, Push, PushDir, Turn:
67 print_ret (The) self, " is too heavy for that.";
69 has scenery supporter enterable;
71 Object television "flat-screen TV" mainroom
72 with name 'TV' 'television' 'flat' 'screen' 'flat-screen',
74 "The flat-screen TV looks fairly modern but it's broken
75 in a fight and the screen is dangling out.",
77 Take, Pull, Push, PushDir, Turn:
78 print_ret (The) self, " is firmly mounted to the wall.";
80 if (television hasnt visited) {
82 "Despite the significant damage, the television
83 comes to life in one last valiant attempt to be
84 useful. Your favorite news program is on: U.S.
85 News And Grue Report. The news anchor is giving a
86 warning of Grue sightings in the area of the
87 forest before the television finally dies.^";
88 give television visited;
92 "The television is broken and can't be turned
97 has scenery switchable;
102 "You're trapped in a snowstorm while visiting the forest
103 during your vacation to a small rural town. This is the worst
104 snowstorm in more than 40 years. If only you has listened to
105 the news. Well, it's too late for that. The snow has been
106 falling for the past seven hours and shows no signs of
107 stopping anytime soon. You need to get back to your hotel in
108 the town. You finally manage to find an old cabin in the
109 woods and get inside but have no idea where you are. You're
110 not dressed for this weather.^";
115 "^If you need help try some of the commands from:
116 ^http://pr-if.org/doc/play-if-card/^";
120 print "Nothing obvious happens.^";