Implement additional description for North and West of cabin. Fix some overly long...
authorJason Self <j@jxself.org>
Tue, 31 May 2022 01:22:13 +0000 (18:22 -0700)
committerJason Self <j@jxself.org>
Tue, 31 May 2022 01:22:13 +0000 (18:22 -0700)
src/snowed-in.inf

index 3bdf7102f3e4ca6dccf4ec40769c2f687babec95..20d62252760a95a4dc95cbb4df854080dfc216fd 100644 (file)
@@ -477,11 +477,15 @@ Object  snowsuit "snowsuit" suitcase
             }
           Wear:
             if (snowshoes in player && snowshoes has worn) {
-                print_ret "The snowsuit can't fit over the snowshoes.";
+                print_ret 
+                    "The snowsuit can't fit over the 
+                    snowshoes.";
             }
           Disrobe, Remove:
             if (snowshoes in player && snowshoes has worn) {
-                print_ret "The snowsuit can't be taken off over the snowshoes.";
+                print_ret 
+                    "The snowsuit can't be taken off over the 
+                    snowshoes.";
             }
         ],
         daemon [;
@@ -508,13 +512,15 @@ Object  snowsuit "snowsuit" suitcase
             && location ~= thedark && snowsuit hasnt worn) {
                 switch (body_temperature) {
                   19:
-                    "The feeling of cold overwhelms you. Surely the cold will get to 
-                    you before anything else does. Right?";
+                    "The feeling of cold overwhelms you. Surely the 
+                    cold will get to you before anything else does. 
+                    Right?";
                   18:
-                    "You can feel yourself getting colder and colder.";
+                    "You can feel yourself getting colder and 
+                    colder.";
                   17:
-                    "You can see your own breath freezing in the air, forming little 
-                    clouds.";
+                    "You can see your own breath freezing in the air, 
+                    forming little clouds.";
                   16:
                     "You shiver in the cold.";
                   15:
@@ -524,26 +530,27 @@ Object  snowsuit "snowsuit" suitcase
                   13:
                     "You continue shivering in order to keep warm.";
                   12:
-                    "Your shivering grows worse as your body becomes colder by the
-                    minute.";
+                    "Your shivering grows worse as your body becomes 
+                    colder by the minute.";
                   11:
-                    "Your teeth begin to chatter as you desperately try to warm 
-                    yourself up.";
+                    "Your teeth begin to chatter as you desperately 
+                    try to warm yourself up.";
                   10:
-                    "Your shivering intensifies as your body begins to freeze over 
-                    from the cold.";
+                    "Your shivering intensifies as your body begins 
+                    to freeze over from the cold.";
                   9:
-                    "Your fingers become stiff and you feel sharp pains all over your
-                    body.";
+                    "Your fingers become stiff and you feel sharp 
+                    pains all over your body.";
                   8:
-                    "The cold has gotten to a point where it is too much for you. You 
-                    begin to shiver uncontrollably.";
+                    "The cold has gotten to a point where it is too 
+                    much for you. You begin to shiver 
+                    uncontrollably.";
                   7:
-                    "Your eyesight begins to fade and you can't even feel yourself 
-                    shivering anymore.";
+                    "Your eyesight begins to fade and you can't even 
+                    feel yourself shivering anymore.";
                   6:
-                    "You can feel your body shutting down from the cold as you slowly 
-                    begin to lose consciousness.";
+                    "You can feel your body shutting down from the 
+                    cold as you slowly begin to lose consciousness.";
                 }
             }
         ],
@@ -709,14 +716,14 @@ Object  flashlight "flashlight" backpack
           4:
             print_ret 
                 "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.";
+                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 
                 "You think you might can see a large figure stepping 
@@ -763,11 +770,11 @@ Object  flashlight "flashlight" backpack
                 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 
+                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 
@@ -880,8 +887,8 @@ Object  forest "Forest"
         }
     if (location has light)
         print 
-            "The snow stings your face and you can barely see three feet in 
-            front of you. ";
+            "The snow stings your face and you can barely see three 
+            feet in front of you. ";
     if (snowshoes in player && snowshoes has worn) {
         print 
             "The snowshoes are doing their job by making sure 
@@ -931,12 +938,21 @@ Object  roof "Roof"
         cant_go "Walking off the edge of a roof seems unwise.";
 
 Object  northofcabin "North Of Cabin"
-  with  description 
-            "You're on the north side of the cabin. The wind is 
-            howling and the snow is coming down; falling too fast to 
-            see well. The snow buildup here is so great that it's 
-            almost level with the cabin's roof, which is to the 
-            south.",
+  with  description [;
+            print 
+                "You're on the north side of the cabin. The wind is 
+                howling and the snow is coming down; falling too fast 
+                to see well.";
+            if (northofcabin hasnt visited)
+                print 
+                    " That might be a tree in the distance or a 
+                    shadowy figure - It's hard to tell in this 
+                    storm.";
+            print_ret 
+                " The snow buildup here is so great that it's 
+                almost level with the cabin's roof, which is to the 
+                south.";
+        ],
         n_to westofcabin,
         s_to roof,
         w_to westofcabin,
@@ -952,10 +968,18 @@ Object  northofcabin "North Of Cabin"
         ];
 
 Object  westofcabin "West 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. The snow buildup gets taller to the north.",
+  with  description [;
+            print 
+                "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.";
+            if (westofcabin hasnt visited)
+                print 
+                    " Then you hear a shuffling noise in the snow. 
+                    There was something there and now it's gone. Or 
+                    was it always there and you just never saw it?";
+            print_ret " The snow buildup gets taller to the north.";
+        ],
         s_to southofcabin,
         n_to northofcabin,
         cant_go 
@@ -976,7 +1000,8 @@ Object  westofcabin "West Of Cabin"
         stopping any time soon. You need to get back to your hotel in 
         the town. You finally manage to find an old cabin in the 
         woods and get inside but have no idea where you are. You're 
-        not dressed for this weather, and it's getting dark outside.^";
+        not dressed for this weather, and it's getting dark 
+        outside.^";
     StartDaemon(lantern);
     StartDaemon(snowshoes);
     StartDaemon(snowsuit);
@@ -1038,20 +1063,23 @@ Object  grue "grue" thedark
             if (location == thedark) {
                 switch (++(self.grue_active_in_the_dark)) {
                   1:
-                    "^You hear horrible gurgling sounds in the dark.";
+                    "^You hear horrible gurgling sounds in the 
+                    dark.";
                   2:
-                    "^You hear the clink of razor-sharp claws nearby.";
+                    "^You hear the clink of razor-sharp claws 
+                    nearby.";
                   3:
                     deadflag = 1;
-                    "^Your last memory is of the slavering fangs of the 
-                    horrible Grue as it claims you for a meal.";
+                    "^Your last memory is of the slavering fangs of 
+                    the horrible Grue as it claims you for a meal.";
                 }
             }
             if (location == mainroom || location == office || location ==
             kitchenette || location == bedroom) {
                 switch (++(self.grue_active_around_cabin)) {
                   1:
-                    "^You hear the wind howling outside, if it is the wind.";
+                    "^You hear the wind howling outside, if it is the 
+                    wind.";
                   2:
                     "^You hear horrible gurgling sounds outside.";
                   3:
@@ -1061,21 +1089,32 @@ Object  grue "grue" thedark
                   5:
                     "^You hear something sniffing around the cabin.";
                   6:
-                    "^You hear a deep guttural sound from outside that sends a chill down your spine.";
+                    "^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.";
+                    "^You hear something scratching on the cabin 
+                    walls from outside.";
                   8:
-                    "^You hear something howl outside. It's a chilling, mournful wail that sends a chill down your spine.";
+                    "^You hear something howl outside. It's a 
+                    chilling, mournful wail that sends a chill down 
+                    your spine.";
                   9:
-                    "^A thunderous CRACK can be heard coming from outside.";
+                    "^A thunderous CRACK can be heard coming from 
+                    outside.";
                   10:
-                    "^There's a sudden crashing sound as something is thrown against the cabin walls.";
+                    "^There's a sudden crashing sound as something is 
+                    thrown against the cabin walls.";
                   11:
-                    "^Something begins to beat against the walls of the cabin, as if trying to to break in. It makes a loud, thunderous noise.";
+                    "^Something begins to beat against the walls of 
+                    the cabin, as if trying to to break in. It makes a 
+                    loud, thunderous noise.";
                   12:
-                    "^The wind is howling and the walls are being beaten so hard it feels like the cabin is shaking.";
+                    "^The wind is howling and the walls are being 
+                    beaten so hard it feels like the cabin is 
+                    shaking.";
                   13:
-                    "^Suddenly, there's ominous silence from outside the cabin.";
+                    "^Suddenly, there's ominous silence from outside 
+                    the cabin.";
                 }
             }
             if (location == mainroom || location == office || location ==
@@ -1170,4 +1209,4 @@ Extend 'climb'
     * 'through' / 'out' / 'via' noun -> Go;
 
 Extend 'go'
-    * 'through' / 'out' / 'via' noun -> Go;
+    * 'through' / 'out' / 'via' noun -> Go;
\ No newline at end of file