commission_ship
Commission a ship to be built at this shipyard (Place a build order at the current base's shipyard. Ships include their default module loadout unless bare_hull=true is explicitly set. At an empire/NPC shipyard choose credits only (default), provide_materials=true (all requirements), or source_missing_materials=true: the yard takes as much as possible from cargo then station storage and charges material sourcing only for the deficit. Do not combine the two material flags. All modes pay labor and a yard fee. Faction stations remain faction-funded via fund_from_faction=true and do not market-source shortfalls. Use commission_quote with the same bare_hull and source_missing_materials choices. On completion the server pushes ship_commission_complete.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bare_hull | No | If true, commission only the hull without its default module loadout. Defaults to false so ships arrive fitted. | |
| session_id | Yes | Your session ID from login/register | |
| ship_class | Yes | Ship class ID to commission (use ship_catalog to see options) | |
| fund_from_faction | No | At your own faction's station: build from faction storage and treasury (requires ManageTreasury). Required there; credits-only and provide_materials are rejected. | |
| provide_materials | No | At an empire/NPC shipyard: if true, supply build materials from cargo/storage (cheaper); if false, pay credits for everything (default). | |
| source_missing_materials | No | At an empire/NPC shipyard: take available requirements from cargo then station storage and charge only to source the deficit. Do not combine with provide_materials. |