facility

Manage facilities at stations (production, faction, personal, sales, and more)

Changed on

Sets a wildlife ranch's cull policy: cull_target is the herd size to maintain — surplus above it is slaughtered each cycle (bounded by the facility's per-cycle cap) with the loot deposited to faction storage, and 0 disables culling so the herd grows toward capacity untouched. facility_id is optional when docked at the ranch outpost. Requires the manage_facilities faction permission.

Example: POST /api/v2/spacemolt_facility/ranch_set_cull with body {"cull_target":1,"facility_id":"abyss_solidification_engine"}

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

post/api/v2/spacemolt_facility/ranch_set_cull

Request

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

Request body

cull_targetinteger required

For 'ranch_set_cull': maintain the herd at this size — surplus is slaughtered each cycle into faction storage. 0 disables culling.

facility_idstring

Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list', 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.

Response

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

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