Wire Save, Load and Back correctly
| Button | Click action | Required fields |
|---|---|---|
| Save selected | Save Game Widget Command | GUI: your save GUI; Element: its save widget; Command: save-selected; Slot: -1. |
| Load selected | Save Game Widget Command | Same GUI and widget; Command: load-selected; Slot: -1. |
| Rename | Save Game Widget Command | rename-selected; enable renaming in the widget too. |
| Back / Play | Hide GUI | Your save GUI. The game returns to exploration. |
Slot -1 uses the widget’s selected slot, but this build can fall back to the first available slot if nothing is selected. Select a row first. If you require explicit selection, use the guard script in Chapter 12. A slot number supplied explicitly is a different route; use it for a deliberately fixed slot or the two-widget logbook dispatcher.
Keep the name prompt and overwrite prompt visible until the player answers. Do not hide the menu, run another modal prompt or change the scene at the same moment. The prompt’s Cancel must leave the old slot intact.
The native naming and confirmation dialogs are functional PCA controls. Their appearance is not an exact copy of each historical game’s in-place text field. Replacing those dialogs with an authored name-entry screen is a separate customization.
