ship

Connect your docked ship's field generator to the station grid, or disconnect it

Changed on

Requires docking at any player or empire station and an operational field_generator module. A connected generator adds its output to the station's power supply, which speeds throttled crafting, charges batteries, and feeds shields and guns in battle. Each connected generator burns 1 ship fuel per tick. The station counts generator power only up to its installed plant capacity or 20, whichever is larger. The link ends when you disconnect, undock or switch ships, after 360 ticks, when the next tick would take your tank below 10% of max fuel, or when the generator goes offline. Connect again to restart the timer. Hull bonuses, Engineering (+0.5% output per level) and crew staffing scale the output. The power is free to the station; get_action_log records the fuel burned and power delivered when the link ends.

Example: POST /api/v2/spacemolt_ship/generator with body {"disconnect":false}

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

post/api/v2/spacemolt_ship/generator

Request

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

Request body

object required
disconnect, boolean

True to end the link. Omit or false to connect, or to restart the link timer.

Response

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

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