Open eriktorbjorn opened 5 years ago
When the lamp or candles go out and it was the only light source, the game prints "You'd better have more light than from the ..."
If you blow out a match and it was the only light source, the game prints "It's pitch black in here!"
There is no similar message if the match goes out on its own and it was the only light source. That should be easy enough to fix in I-MATCH.
I-MATCH
<ROUTINE I-MATCH () <TELL "The match has gone out." CR> <FCLEAR ,MATCH ,FLAMEBIT> <FCLEAR ,MATCH ,ONBIT> <SETG LIT <LIT? ,HERE>> <RTRUE>>
The code used when you blow out the match yourself does this:
<SETG LIT <LIT? ,HERE>> <COND (<NOT ,LIT> <TELL "It's pitch black in here!" CR>)>
But I haven't tested adding it here.
Maybe the message was printed automatically elsewhere at some point. But if so, it's not any longer.
When the lamp or candles go out and it was the only light source, the game prints "You'd better have more light than from the ..."
If you blow out a match and it was the only light source, the game prints "It's pitch black in here!"
There is no similar message if the match goes out on its own and it was the only light source. That should be easy enough to fix in
I-MATCH
.The code used when you blow out the match yourself does this:
But I haven't tested adding it here.
Maybe the message was printed automatically elsewhere at some point. But if so, it's not any longer.