MikeTaylor / scottkit

Scott Adams adventure toolkit: compile, decompile and play 80s-style adventure games
30 stars 10 forks source link

When moving into a dark room, description is displayed before "It's too dark" message #7

Closed MikeTaylor closed 7 years ago

MikeTaylor commented 7 years ago

This means that you get to see the description of the first room in a dark area even if you don't have the light-source.

MikeTaylor commented 7 years ago

The solution: instead of the look command actually looking, it needs to set a flag that the room requires redescribing. Only after running the occurrences before the player's next turn should the description actually be generated, so that if those occurrences have turn on the dark flag, the description can note that.

MikeTaylor commented 7 years ago

Fixed, will be released in v1.6.0.