--- /dev/null
+! Copyright (C) 2021 Jason Self <j@jxself.org>
+!
+! This file is free software: you may copy, redistribute and/or
+! modify it under the terms of the GNU Affero General Public License
+! as published by the Free Software Foundation, either version 3 of
+! the License, or (at your option) any later version.
+!
+! This file is distributed in the hope that it will be useful, but
+! WITHOUT ANY WARRANTY; without even the implied warranty of
+! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+! Affero General Public License for more details.
+!
+! You should have received a copy of the GNU Affero General Public
+! License along with this file. If not, see https://gnu.org/licenses/
+Class Forest;
+
+Object snow "snow" forest
+ with name 'snow' 'flake' 'flakes',
+ found_in forest,
+ has scenery;
^Ongoing development: https://jxself.org/git/?p=snowed-in.git
^Send bugs and feedback by email to j@@64jxself.org.
^IFID DE9FA2E5-4EC7-4166-9218-E56EFA1DF40F
- ^Copyright (C) 2021 Jason Self
+ ^Copyright (C) 2021 Jason Self <j@@64jxself.org>
^You can change and share this game under the terms of the GNU
Affero General Public License as published by the Free Software
Foundation (FSF), either version 3 of the License, or (at your
Include "parser";
Include "verblib";
Release 0;
-Serial "210501";
+Serial "210605";
+
+Include "src/forest.inf";
Object mainroom "Main Room"
with description
kitchenette && location ~= bedroom && location ~= thedark &&
snowsuit hasnt worn) {
body_temperature = --body_temperature;
- print body_temperature;
}
if (location == mainroom || location == office || location ==
kitchenette || location == bedroom || location ~= thedark ||
],
has pluralname clothing;
-Object southofcabin "South Of Cabin"
+Forest southofcabin "South Of Cabin"
with description [;
print "The wind is howling, and there's snow flying everywhere.";
if (snowsuit hasnt worn)
],
n_to frontdoor,
e_to eastofcabin,
+ w_to westofcabin,
has light;
-Object eastofcabin "East Of Cabin"
+Forest eastofcabin "East Of Cabin"
with description [;
print "It's dark outside. ";
if (lightbulb has on) {
s_to southofcabin,
has light;
+Forest westofcabin "Westh Of Cabin"
+ with description
+ "The snow is falling so fast that you can barely see
+ anything. You can't even be sure you're going in the right
+ direction.",
+ s_to southofcabin,
+ has light;
+
+
[ Initialise;
Location = mainroom;
thedark.description =
4:
"^You hear the sound of shuffling feet outside.";
5:
- "^You hear a deep guttural sound from outside that sends a chill down your spine.";
- 6:
"^You hear something sniffing around the cabin.";
+ 6:
+ "^You hear a deep guttural sound from outside that sends a chill down your spine.";
7:
"^You hear something scratching on the cabin walls from outside.";
8: