This prints an extra blank line if turning off your only light source turns the room dark:
>INVENTORY
You are carrying:
a brass lantern (providing light)
a grue suit (being worn)
>TURN OFF LAMP
Okay, the brass lantern is now off.
It is now pitch black.
>
The
NOW-BLACK
routine is simply this:It's called in two places. The first one is in
V-LAMP-OFF
:This prints an extra blank line if turning off your only light source turns the room dark:
The second one is in
V-CLOSE
:Which prints an extra newline if you close an object containing your only light source:
It seems to me that the easiest fix should be to remove the newline from
NOW-BLACK
.