ship

Treat injured crew and marines at a station or with an onboard medical module

Changed on

Omit counts to treat as many as possible. Station treatment charges at least 25 credits per crew and 50 per marine, rising to cover supply costs, and draws from the station's shared medical pool. Use facility action=list to see current medical treatment prices. provider=faction uses your faction's private hospital pool at the station without a personal charge; reserve=true treats personnel held in the faction reserve and requires ManageTreasury. Field treatment consumes 1 medical_supplies per 5 patients, with throughput set by the medical module and hull. Allied remote treatment requires a capable medical ship or module, and the target must be at your POI: a target you cannot see (at another POI, in transit, or cloaked) returns player_not_found, the same as an unknown name.

Example: POST /api/v2/spacemolt_ship/treat_personnel with body {"id":"player_name","crew":5,"marines":2,"provider":"station","reserve":false}

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

post/api/v2/spacemolt_ship/treat_personnel

Request

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

Request body

object required
crew, integer

Injured crew to treat. Omit or use zero to treat as many as possible.

id, string

Optional allied player ID or username for remote field treatment. Omit to treat your active ship or faction reserve.

marines, integer

Injured marines to treat. Omit or use zero to treat as many as possible.

provider, 'station' | 'field' | 'faction'

Treatment source. Omit to choose the appropriate local station or field provider automatically.

reserve, boolean

Treat personnel in the local faction reserve. Requires provider=faction and ManageTreasury permission.

Response

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

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
      }
    }
  }
}

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