Debug/cheat version of Adventuron without on_debug

I’m proud of myself for finding this hack. It came out of necessity. I had an on_debug function (which overrides on_startup) with “Hey, testers! If this is in a week before the deadline, bug Andrew to comment it out.”

I wanted not to have to worry about this, and I realized that GT/GOTO is a debug-only verb. So I figured I could define a room where, if you looked, it set the “in_debug” flag which can let you try/see stuff the player can’t or shouldn’t.

For Quirky Test, this allowed me to solve puzzles out of order in order to test something (e.g. get the treasure from the hill right away,) but only if I went to the cheat room.

   cht : location "This sets in_debug and cheat_dont_require. You need to L to go back where you were." {
      on_tick {
         : set_true "in_debug" ;
         : set_true "cheat_dont_require" ;
         : goto {( "" + previous_location() )} ;
      }
   }

I hope this is useful to someone else, to take as-is or add their own bells and whistles.