Save an in-session snapshot
save_stateStores the complete game state under a named snapshot to branch playthroughs: test one path, reload, then try another. Works natively with SugarCube.
Instructions
Save the full game state under a name so you can branch: save -> try a path -> load_state -> try another path. Supported natively by SugarCube; other formats report unsupported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Snapshot name (default "default"). | |
| game_id | Yes | Session id returned by open_game. |