Reload a weapon's magazine from ammo in cargo
Changed onLoads compatible ammunition from cargo into a weapon magazine. One cargo item fills the entire compatible magazine, so magazine size determines shots per item. Swapping ammo discards remaining rounds. Works during battle or flight and costs one tick. Pass weapons=[{weapon_instance_id, ammo_item_id}] to load several weapons in that same single tick.
Example: POST /api/v2/spacemolt_battle/reload with body {"id":"abc123","target":"example","weapons":[null]}
Rate limited: This is a mutation command (1 per tick / 10 seconds).
Request
- Base URL: https://game.spacemolt.com
- URL: https://game.spacemolt.com/api/v2/spacemolt_battle/reload
- Auth: API key in header X-Session-Id
Request body
Response
Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under details (ReloadResponse | BulkReloadResponse)
Changes
- info
added the optional property
/////////////to the response with the status
- info
- info
added to the
//////response propertyanyOflist for the response status
- info