Skip to reading
Progress Bars, Hints & Journals

29. Save the progress, not just the picture

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
Source table from 29. Save the progress, not just the picture, page 46
InformationHow to treat it
power and other game variablesUse normal game state so the value saves and restores. A bound bar follows it.
hintsUnlockedThe unlock dictionary is part of runtime variables and saves with them.
Quest statesCurrent stage, quest status and objective states have their own saved quest data.
Runtime quest text overridesQuest property actions store overrides with the saved quest state.
Expanded/collapsed hint rowsTemporary presentation; do not rely on it as saved progress.
A progress event’s once cacheLives on the current widget, not as a saved story flag.

1. Start the quest, complete inspect_dial and set power to 60.

2. Unlock machine answers 1 and 2. Save the game to a fresh test slot.

3. Change power, clear the hints and fail or advance the quest.

4. Load the saved slot and reopen the windows.

5. Check power = 60, two available hint answers and the earlier quest checklist.

6. Repeat after stopping and restarting the game preview, then loading the same slot.

The first five steps were exercised in the running build for this guide: power, the two unlocked answers and the quest state restored. Restarting is a separate check because it creates new widget instances.

A story reward needs its own saved flag. A visual once event can survive a load within the same live widget yet fire again after a fresh run or rebuild.

Page 46 of 53Permalink
Go to page