save_vehicle
Saves a stored draft as a Stormworks vehicle XML with a Load-menu thumbnail; overwrite replaces only files it previously wrote, never imported or foreign vehicles.
Instructions
Write a stored draft into the Stormworks vehicles folder as .xml with its Load-menu thumbnail. Use it for drafts edited part by part (imports, land vehicles, edited hulls); save_hull is the shortcut for a hull spec. Refuses a name used by a vehicle this tool did not write and the imported original, even with overwrite=true; replaces its own earlier save only with overwrite=true. Returns the file path, part count and notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the file in the vehicles folder and the game's Load menu: letters, digits, spaces, _ - ( ), at most 64 characters. | |
| design | Yes | Stored draft name (from import_vehicle, create_land_vehicle, store_design or save_hull; see list_designs). | |
| overwrite | No | Replace an earlier vehicle of this name written by this tool. Files this tool did not write are never replaced. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |