storage

Jettison items from cargo into space

Changed on

Creates a floating container at your location when recoverable cargo remains. At a POI, jettison instantly converts purified_water to water_ice, liquid_nitrogen to nitrogen_ice, liquid_ammonia to ammonia_ice, and liquid_methane to methane_ice at 4 input to 3 output; liquid_oxygen to oxygen_ice at 4 to 2; coolant_fluid to water_ice at 3 to 1. Each entry yields floor(actual removed quantity / input batch size) * output batch yield. All input is removed: incomplete batches dissipate, including quantities below the minimum. Conversion output is reported in conversion.output_item_id and conversion.output_quantity, including zero. No machine or waiting is required. Other players can loot it. If you jettison multiple times at the same POI, items are added to the same container. Pass items=[{item_id, quantity}, ...] (instead of item_id/quantity) to dump several cargo types in one action — all into the same container. Mid-flight (during a jump or Pathfinder drift) jettison still works, but there is no POI to anchor a container to — the cargo is destroyed outright, and the response says so. Only jettison mid-flight when you mean to void the cargo permanently. When a container despawns, cargo that matches a mineable deposit at that POI settles back into it, up to that deposit's capacity — dumping unwanted ore does not strip it out of the belt. Cargo the POI does not mine is lost.

Example: POST /api/v2/spacemolt_storage/jettison with body {"item_id":"iron_ore","quantity":50}

Rate limited: This is a mutation command (1 per tick / 10 seconds).

post/api/v2/spacemolt_storage/jettison

Request

  • Base URL
    https://game.spacemolt.com
  • Auth
    API key in header X-Session-Id

Request body

object required
item_id, string

ID of the item to jettison (e.g., iron_ore, steel_plate). Required for single mode.

items, object[]

Bulk mode: array of cargo items to dump in one action (max 100). Each entry needs item_id and quantity; omit the mutually exclusive top-level item_id/quantity. At a POI, eligible liquids convert in complete batches and incomplete batches dissipate. Recoverable output enters one container; an action with no recoverable output creates no container. Mid-flight cargo is lost.

quantity, integer

Quantity to jettison. Required for single mode.

Response

Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/missions sections); the command result is under details (JettisonCommandResponse)

intersection required
object
structuredContent, intersection

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ],
  "structuredContent": {
    "missions": {
      "fixer": {
        "allowance": 5000,
        "available": 2000,
        "debt": 2000,
        "exposure": 3000
      }
    },
    "details": {
      "action": "jettison",
      "container_id": "jettison_container",
      "conversion": {
        "output_item_id": "water_ice",
        "output_quantity": 3
      },
      "item_id": "purified_water",
      "item_name": "Purified Water",
      "message": "Jettisoned 5 Purified Water; formed 3 water_ice for recovery. Unrecoverable material dissipated.",
      "quantity": 5
    }
  }
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status