Update to serial 211120
authorJason Self <j@jxself.org>
Sat, 18 Dec 2021 00:51:25 +0000 (16:51 -0800)
committerJason Self <j@jxself.org>
Sat, 18 Dec 2021 00:51:25 +0000 (16:51 -0800)
src/snowed-in.inf

index 012d7d6c5f8877752dd18292ca96d55081ce7b2a..2012cfe827b57505390ba8cea3c49567b1d74ce1 100644 (file)
@@ -37,7 +37,7 @@ Constant Headline
 Include "parser";
 Include "verblib";
 Release 0;
 Include "parser";
 Include "verblib";
 Release 0;
-Serial "210823";
+Serial "211120";
 
 Object  mainroom "Main Room"
   with  description 
 
 Object  mainroom "Main Room"
   with  description 
@@ -262,8 +262,8 @@ Object  office "Office"
             if (noun == e_obj) {
                 if (snowshoes has worn)
                     print_ret 
             if (noun == e_obj) {
                 if (snowshoes has worn)
                     print_ret 
-                        "You can't fit through the window while wearing the snow 
-                        shoes.";
+                        "You can't fit through the window while 
+                        wearing the snow shoes.";
             }
         ],
         w_to mainroom,
             }
         ],
         w_to mainroom,
@@ -461,8 +461,7 @@ Object  snowsuit "snowsuit" suitcase
   with  name 'snowsuit' 'snow' 'suit',
   with  description 
             "The snowsuit is blue, decorated with white and purple 
   with  name 'snowsuit' 'snow' 'suit',
   with  description 
             "The snowsuit is blue, decorated with white and purple 
-            designs. On the chest is a large emblem with the letters 
-            ~CE~ in purple.",
+            designs. On the chest are the letters ~CE~ in purple.",
         before [;
           Wear:
             if (snowshoes in player && snowshoes has worn) {
         before [;
           Wear:
             if (snowshoes in player && snowshoes has worn) {
@@ -611,171 +610,190 @@ Object  truck "blue and white pickup truck" truckspot
         ],
   has   scenery supporter enterable openable;
 
         ],
   has   scenery supporter enterable openable;
 
+Object  backpacklocation "Forest"
+  with  description
+            "You keep walking and walking. The snowfall is still as 
+            heavy as ever. As you continue trudging through the snow, 
+            you wonder if you're actually moving in the right 
+            direction. You can't see anything through the blizzard. 
+            You wonder if you might be going in circles and end up 
+            wandering around forever, never finding your way out of 
+            this white void. You're unsure of which way to go. The 
+            snowfall is so thick that you can barely see your hand if 
+            you hold it right in front of your face. You have no idea 
+            how far you've come or in what direction.",
+        before [;
+          Go:
+            forest_location = forest_location++;
+            PlayerTo(forest,1);
+        ];
+
+Object  backpack "back pack" backpacklocation
+  with  name 'back' 'pack',
+  with  description
+            "The backpack looks new, black, of medium size, with three 
+            white stripes running vertically on the back. The middle 
+            stripe is broken up by a red line running down the center 
+            of it toward the bottom of the backpack. On the side are 
+            the letters ~CE~ in purple.",
+  has   clothing container openable;
+
+Object  flashlight "flashlight" backpack
+  with  name 'flash' 'light' 'torch',
+        description
+            "It looks like a cheap red plastic model, about eight 
+            inches long.",
+        before [;
+          SwitchOn:
+                give flashlight light;
+          SwitchOff:
+            give lantern ~light;
+        ],
+  has   switchable;
+
 [ print_forest_description;
     if (location ~= thedark) {
         switch (forest_location) {
           1:
             print_ret 
 [ print_forest_description;
     if (location ~= thedark) {
         switch (forest_location) {
           1:
             print_ret 
-                "It's not getting any easier to move in this 
-                blizzard. You can barely see five feet ahead of you. 
-                The wind is really strong. You try to remember the 
-                survival tips you've read on the internet, but 
-                frankly, you don't remember most of them right now. 
-                You just want this awful nightmare to end.";
+                "You push on despite the bitter cold and the heavy 
+                snowfall as you come to a fork. There are two ways to 
+                go here, one is going up a hill to the south. The 
+                other way is continuing through the woods to the 
+                north.";
           2:
             print_ret 
           2:
             print_ret 
-                "You can't see anything through the blizzard. The 
-                snow is drifting and piling up around you, making 
-                movement almost impossible. You can't see your hand 
-                in front of your face. The wind is bitterly cold. The 
-                situation is looking very grim. Your life feels as if 
-                it is slowly ebbing away in the relentless grip of 
-                the snowstorm.";
+                "The wind is bitterly cold. You plow through the 
+                snowfall, which is still as heavy as ever. You can 
+                barely see where you are going, making it hard to 
+                tell which direction is which. Out of the corner of 
+                your eye, you spot a tall, shadowy figure lingering 
+                at the edge of your vision. When you turn to look at 
+                it directly, however, it disappears. You continue 
+                walking. The wind is howling louder than ever. The 
+                endless snowfall makes it difficult to see where 
+                you're going. You can't tell where the white sky and 
+                white ground begin and end.";
           3:
           3:
-            print_ret 
-                "You plow through the heavy snowfall. You're cold, 
-                tired, miserable, and desperate to get out of this 
-                mess. The wind is howling like a banshee. You can 
-                barely keep moving. You wish you had the powers of a 
-                superhero right now. You try to persevere. You push 
-                on despite the bitter cold and the heavy snowfall as 
-                you come to a fork. There are two ways to go here, 
-                one is going up a hill to the south. The other way is 
-                continuing through the woods to the north.";
+            PlayerTo(truckspot);
           4:
             print_ret 
           4:
             print_ret 
-                "You trudge through the snow. The wind is howling 
-                louder than ever. It's almost as if you're lost in a 
-                white, endless void.";
+                "You trudge through the snow. The wind is really 
+                strong and howling like a banshee. You hear a horrible 
+                howl in the distance or is it the wind? Looking 
+                around you see nothing in this barren landscape but 
+                snow. You're not sure what to make of it, but you 
+                don't want to stick around to find out. The whole 
+                world is white. You can barely see five feet ahead of 
+                you. You hope you're going the right way. This place 
+                is so desolate and barren.";
           5:
             print_ret 
           5:
             print_ret 
-                "You continue your way through the snowy white void, 
-                what with the snow piling up around you. This is 
-                getting really old, really fast. It's hard to tell 
-                which direction is which. You wonder if you might be 
-                going in circles and end up wandering around forever, 
-                never finding your way out of this white void.";
+                "You trudge through the snow. The wind is really 
+                strong and howling like a banshee. You hear a horrible 
+                howl in the distance or is it the wind? Looking 
+                around you see nothing in this barren landscape but 
+                snow. You're not sure what to make of it, but you 
+                don't want to stick around to find out. The whole 
+                world is white. You can barely see five feet ahead of 
+                you. You hope you're going the right way. This place 
+                is so desolate and barren. There's no left, right, 
+                backward or forward. There's nothing but endless, 
+                unchanging whiteness.";
           6:
           6:
-            print_ret 
-                "You wander around in the impenetrable white void. 
-                The snowfall is still as heavy as ever. You're unsure 
-                of which way to go. There's no left, right, backward 
-                or forward. There's nothing but endless, unchanging 
-                whiteness. You could be wandering aimlessly in any 
-                direction right now and you wouldn't know the 
-                difference.";
+            PlayerTo(backpacklocation);
           7:
           7:
-            PlayerTo(truckspot);
+            print_ret
+                "It feels like you're lost in a maze of snow without 
+                a map. You keep trudging through the heavy snowfall, 
+                not knowing if you're even going in any particular 
+                direction anymore. The wind is really picking up now 
+                and the snowfall is getting heavier. You have to keep 
+                going. You can't let the snowstorm get the best of 
+                you. You can't give up. You must find a way out of 
+                this frozen wasteland. The snowstorm has made it 
+                impossible to see anything more than a few feet in 
+                front of you.";
           8:
             print_ret 
           8:
             print_ret 
-                "You keep wandering through endless whiteness. It 
-                feels like you've been wandering for hours, but 
-                that's probably just your perception of time slipping 
-                away. You keep trudging through the heavy snowfall, 
-                not knowing if you're even going in any particular 
-                direction anymore. You hope that, as long as you keep 
-                moving, you'll eventually find a way out of this 
-                frozen wasteland.";
+                "The wind is now a shrieking banshee, freezing and 
+                relentless, as it throws the snow into your face, 
+                blinding you. It's hard to walk against the brutal 
+                winds. You can't see anything, but you must keep 
+                going. There is no choice. You continue your way 
+                through the snowy white void, what with the snow 
+                piling up around you. The wind screams in your ears 
+                and you can't see anything. Can't go back. Can't go 
+                forward. You can't even see where you are. You hope 
+                that, as long as you keep moving, you'll eventually 
+                find a way out of this frozen wasteland.";
           9:
             print_ret 
           9:
             print_ret 
-                "You wander around through the white void. There's 
-                nothing here but you, the snowfall, and the fierce 
-                wind howling through this frozen landscape. You start 
-                to get disoriented. You don't know if you're going in 
-                circles or what, but you start to feel that this 
-                frozen, lifeless landscape is sucking away your very 
-                life force.";
+                "The blizzard rages, but you continue to press on. 
+                There's nothing here but you, the snowfall, and the 
+                fierce wind howling through this frozen landscape. 
+                This isn't just a place of cold and ice - it's 
+                other-worldly. You trudge on and try to keep your 
+                spirits up and not let the snowstorm get to you. Every 
+                step is an effort. You wish you had the powers of a 
+                superhero right now. You can barely see where you are 
+                going. The wind knocks you down on your hands and 
+                knees. You get back up, but you're slipping and 
+                sliding all over the place.";
           10:
             print_ret 
           10:
             print_ret 
-                "This isn't just a place of cold and ice - it's 
-                other-worldly. You're in danger here. You have to 
-                keep moving. Sleep is not an option when you're in a 
-                place like this. You have to escape. Somehow, you 
-                know that staying here is a death sentence.";
+                "You wander around in the impenetrable white void. 
+                The wind is howling louder than ever. You try to 
+                persevere. You don't know if you're going in circles 
+                or what, but you start to feel that this frozen, 
+                lifeless landscape is sucking away your very life 
+                force. You can't see your hand in front of your face. 
+                You can barely keep moving. Every step you take is 
+                hard-fought. You just want this awful nightmare to 
+                end. You begin to feel sleepy but you're in danger 
+                here. You have to keep moving. Sleep is not an option 
+                when you're in a place like this.";
           11:
             print_ret 
           11:
             print_ret 
-                "The wind starts starts to pick up as it begins 
-                howling louder than ever. You look around the barren 
-                landscape, but there's nothing nearby except snow. 
-                You don't even see any trees to break the force of 
-                this terrible wind. The snowfall is still as heavy as 
-                ever. You can barely see where you are going.";
+                "You try to remember the survival tips you've read 
+                on the internet, but frankly, you don't remember most 
+                of them right now. As you walk you try to keep your 
+                mind occupied with anything other than the storm. 
+                Nothing makes any sense and you feel like you're 
+                starting to go in circles. The wind starts starts to 
+                pick up as it begins howling louder than ever. You're 
+                determined to live but the blizzard doesn't seem to 
+                care whether you live or die. It just keeps howling 
+                and shrieking. It's not getting any easier to move in 
+                this blizzard.";
           12:
             print_ret 
           12:
             print_ret 
-                "The snowfall is still as heavy as ever. The wind is 
-                howling louder than ever. You can barely see where 
-                you are going. This place is so desolate and barren. 
-                As you continue trudging through the snow, you wonder 
-                if you're actually moving in the right direction.";
+                "You keep walking. The snow is drifting and piling 
+                up around you, making movement almost impossible. You 
+                look around the barren landscape, but there's nothing 
+                nearby except snow. It's almost as if you're lost in 
+                a white, endless void. You start to get disoriented. 
+                You don't even know if you're walking in a circle or 
+                not. The situation is looking very grim. Your life 
+                feels as if it is slowly ebbing away in the 
+                relentless grip of the snowstorm. It feels like 
+                you've been wandering for hours, but that's probably 
+                just your perception of time slipping away.";
           13:
             print_ret 
           13:
             print_ret 
-                "The endless snowfall makes it difficult to see where 
-                you're going. It feels like you're lost in a maze of 
-                snow without a map. Out of the corner of your eye, 
-                you spot a tall, shadowy figure lingering at the edge 
-                of your vision. When you turn to look at it directly, 
-                however, it disappears. You think you're going mad.";
+                "You can barely see anything, and you stumble 
+                forward. You could be wandering aimlessly in any 
+                direction right now and you wouldn't know the 
+                difference. It's as if you're in a sea of white. 
+                You're not sure that you're going in the right 
+                direction but you can't stop now. There has to be 
+                something here besides endless snow. You know that 
+                staying here is a death sentence. You have to escape. 
+                You're cold, tired, miserable, and desperate to get 
+                out of this mess. You have no idea where you are. You 
+                keep wandering through endless whiteness. You won't 
+                give up.";
           14:
           14:
-            print_ret 
-                "You continue walking. You're not sure that you're 
-                going in the right direction but you can't stop now. 
-                You must find a way out of this frozen wasteland. 
-                There has to be something here besides endless snow. 
-                You won't give up. You can't give up.";
-          15:
-            print_ret 
-                "You hear a horrible howl in the distance or is it 
-                the wind? Looking around you see nothing in this 
-                barren landscape but snow. You're not sure what to 
-                make of it, but you don't want to stick around to 
-                find out. You keep walking. The wind is really 
-                picking up now and the snowfall is getting heavier.";
-          16:
-            print_ret 
-                "The wind is now a shrieking banshee, freezing and 
-                relentless, as it throws the snow into your face, 
-                blinding you. Every step you take is hard-fought. The 
-                whole world is white. You can't see anything, but you 
-                must keep going. There is no choice. You have no idea 
-                where you are.";
-          17:
-            print_ret 
-                "The blizzard rages, but you continue to press on. 
-                It's hard to walk against the brutal winds. Every 
-                step is an effort. You can barely see anything, and 
-                you stumble forward. You're determined to live but 
-                the blizzard doesn't seem to care whether you live or 
-                die. It just keeps howling and shrieking.";
-          18:
-            print_ret 
-                "The wind screams in your ears and you can't see 
-                anything. It's as if you're in a sea of white. You 
-                trudge on and try to keep your spirits up and not let 
-                the snowstorm get to you. The wind knocks you down on 
-                your hands and knees. You get back up, but you're 
-                slipping and sliding all over the place.";
-          19:
-            print_ret 
-                "Can't go back. Can't go forward. You can't even see 
-                where you are. The snowstorm has made it impossible 
-                to see anything more than a few feet in front of you. 
-                Nothing makes any sense and you feel like you're 
-                starting to go in circles.";
-          20:
-            print_ret 
-                "You hope you're going the right way. You can't let 
-                the snowstorm get the best of you. You have to keep 
-                going. As you walk you try to keep your mind occupied 
-                with anything other than the storm. You really have 
-                no idea how far you've come or in what direction.";
-          21:
-            print_ret 
-                "You keep walking and walking. You can't tell where 
-                the white sky and white ground begin and end. You 
-                don't even know if you're walking in a circle or not. 
-                The snowfall is so thick that you can barely see your 
-                hand if you hold it right in front of your face.";
-          22:
             deadflag = 2;
             print_ret 
                 "You see something in the distance but can't make it 
             deadflag = 2;
             print_ret 
                 "You see something in the distance but can't make it