Include "parser";
Include "verblib";
Release 0;
-Serial "210605";
+Serial "210617";
Include "src/forest.inf";
Object mainroom "Main Room"
give kitchenette light;
give bedroom light;
give eastofcabin light;
+ give southofcabin light;
}
],
has scenery container transparent open;
give kitchenette light;
give bedroom light;
give eastofcabin light;
+ give southofcabin light;
}
else {
print_ret
give kitchenette ~light;
give bedroom ~light;
give eastofcabin ~light;
+ give southofcabin ~light;
],
has switchable on;
body_temperature = --body_temperature;
}
if (location == mainroom || location == office || location ==
- kitchenette || location == bedroom || snowsuit has worn
- && body_temperature < 20) {
+ kitchenette || location == bedroom || snowsuit has worn && body_temperature
+ < 20) {
body_temperature = ++body_temperature;
}
if (body_temperature == 0) {
print
" It's really cold and
you're not dressed for this weather.";
- print
- " The snow stings your face and you
- can barely see three feet in front of you.^";
+ if (frontdoor has open) {
+ check_for_cabin_lighting();
+ }
],
n_to frontdoor,
e_to eastofcabin,
w_to westofcabin,
has light;
+[ check_for_cabin_lighting;
+ if (lightbulb has on) {
+ print
+ "The light from inside the cabin only penetrates
+ a few feet from the building. ";
+ }
+ else
+ if (lantern in player && lantern has on) {
+ print
+ "The lantern provides the only source of
+ light. ";
+ }
+ if (location has light)
+ print
+ "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
+ you don't sink into the snow.^";
+ }
+];
+
Forest eastofcabin "East Of Cabin"
with description [;
print "It's dark outside. ";
- if (lightbulb has on) {
- print
- "The light from inside the cabin only penetrates
- a few feet from the building. ";
- }
- else
- if (lantern in player && lantern has on) {
- print
- "The lantern provides the only source of
- light. ";
- }
- if (snowshoes in player && snowshoes has worn) {
- print
- "The snowshoes are doing their job by making sure
- you don't sink into the snow.^";
- }
+ check_for_cabin_lighting();
],
w_to window,
s_to southofcabin,
give kitchenette ~light;
give bedroom ~light;
give eastofcabin ~light;
+ give southofcabin ~light;
}
return true;
],
* 'through' / 'out' / 'via' noun -> Go;
Extend 'go'
- * 'through' / 'out' / 'via' noun -> Go;
-
+ * 'through' / 'out' / 'via' noun -> Go;
\ No newline at end of file