Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

This works nicely, except that I use a lot of on_command{} blocks within the locations{} block for room-specific commands and these are apparently processed first, so I've moved the darkness check inside the general on_command block{} to the specific on_command block{} for the room. Fortunately for me, I only have one dark room.

Put the code on the on_pre_command {} block to prempt the per-location on_command {} handlers. Updated the documentation to put it in this block. You may need to press F5.