I want to be able to restart the game after an event happens without re-showing the intro screen and skipping right to a location. Is it possible to do this?
Yes, you can create a section called:
on_debug { : goto "location"; : set_true "has_searched_drawer"; : create "lamp" target="inventory"; }
This will have priority over on_startup, and you can setup your test there. Make sure you comment out this block before you compile the full game.
To comment out a block select a block in the editor, then press CONTROL + / , to uncomment out a block, select the commented out region, and press CONTROL + / again.
Ah, that is possible with pan_game variables.
https://adventuron.io/docs/tut/#PersistantVariables
start_at = my_location booleans { has_shown_intro : boolean "false" scope="pan_game"; } on_startup { : if (has_shown_intro == false) { : print "This is a spooky game !!!!" ; : set_true "has_shown_intro" ; : press_any_key ; } } locations { my_location : location "You are in a room." ; }