dd2_saveguard
Blocks saves outside selected test units and autosave slots so loading a scenario cannot overwrite it; arm before loading, then disarm or check status.
Instructions
Bridge save guard. 'arm' refuses every save outside the test units (default [0]) and, unless autosave=True, every save to an Auto/AddAuto slot (the game also saves slot 0 on load). 'disarm', 'status'. Arm before loading a scenario so the load-time autosave cannot overwrite it. Resets on game restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| action | No | status | |
| autosave | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |