the-infocom-files / sorcerer

Sorcerer
3 stars 3 forks source link

If you lose your only light source, the game doesn't always mention that the room goes dark #48

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
Top of Chute
You are at the western end of the coal mine. A metal chute leads downward.

>PUT AMULET IN CHUTE
The magic amulet disappears into the chute.

A troglodyte trundles in and dumps a load of coal into the chute.

>LOOK
It is pitch black. Dangerous creatures, such as grues, probably abound in the
darkness.

The troglodyte trundles off into the coal mine.

The amulet was the only light source (I used FROTZ on it earlier). There are probably other places where you can do this, but it's extra clear here because you shouldn't even see the troglodyte appear if the room is dark see TOP-OF-CHUTE-F). So I guess it didn't update the LIT flag until the end of the turn?

Also, I-TROGLODYTE should perhaps check <OR ,LIT ,BLORTED> before printing that the troglodyte trundles off?