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 costs 25 credits per crew and 50 per marine and draws from the station's shared medical pool. 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.

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
  • URL: https://game.spacemolt.com/api/v2/spacemolt_ship/treat_personnel
  • Auth: API key in header X-Session-Id

Request body

crewinteger

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

idstring

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

marinesinteger

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.

reserveboolean

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

Response

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

resultunknown

Changes

    • info

      added the optional property ///////////// to the response with the status

    • info

      added to the ////// response property anyOf list for the response status