From 735fee4eb23eb74e08102a2e56f785dac0ae899d Mon Sep 17 00:00:00 2001 From: Jason Self Date: Sat, 5 Jun 2021 09:32:19 -0700 Subject: [PATCH] Update to serial 210605 --- src/forest.inf | 20 ++++++++++++++++++++ src/snowed-in.inf | 25 ++++++++++++++++++------- 2 files changed, 38 insertions(+), 7 deletions(-) create mode 100644 src/forest.inf diff --git a/src/forest.inf b/src/forest.inf new file mode 100644 index 0000000..f621e7f --- /dev/null +++ b/src/forest.inf @@ -0,0 +1,20 @@ +! Copyright (C) 2021 Jason Self +! +! 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; diff --git a/src/snowed-in.inf b/src/snowed-in.inf index 30b8043..98bf07e 100644 --- a/src/snowed-in.inf +++ b/src/snowed-in.inf @@ -23,7 +23,7 @@ Constant Headline ^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 ^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 @@ -35,7 +35,9 @@ Constant Headline Include "parser"; Include "verblib"; Release 0; -Serial "210501"; +Serial "210605"; + +Include "src/forest.inf"; Object mainroom "Main Room" with description @@ -463,7 +465,6 @@ Object snowsuit "snowsuit" suitcase 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 || @@ -547,7 +548,7 @@ Object snowshoes "snowshoes" bedroom ], 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) @@ -560,9 +561,10 @@ Object southofcabin "South Of Cabin" ], 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) { @@ -586,6 +588,15 @@ Object eastofcabin "East Of Cabin" 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 = @@ -668,9 +679,9 @@ Object grue "grue" thedark 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: -- 2.31.1