in my WIP I want to make a number of timed puzzles easier on the player by adding something like an autosave feature. The game will save at the beginning of a scene and then restore when the player has died, or the time has run out.
Saving the game is an out of world action in I7, and the corresponding syntax seems to be
try saving the game
Which works as so far that it prompts the player to save his game. Is there a way to do this silently, in the background?
The documentation doesn’t say to much about this feature.
No. The filename-choosing dialogue box is all up to the interpreter; Inform just tells it that the player wants to save and the interpreter does everything else.
Not true, Draconis. It is possible in Glulx. The “Ultra Undo” extension does this, for example, to replace in-memory UNDO storage with disk-based save files.
The Ultra Undo code is very nicely documented! I was able to adapt it into a simple Autosave extension, which has worked so far (although admittedly I haven’t tested it that thoroughly).