commission_ship
Commission a ship to be built at this shipyard (Place a build order at the current base's shipyard. Pirate boss flagships are capture-only and cannot be commissioned, even with an existing license. 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. Members of an allied faction can build at a faction station whose owner turned on ally_shipyard_access: the owner's ship licenses authorize the hull, materials come from the ally's own faction storage at that station, and the ally's treasury pays labor and royalty (needs ManageTreasury in the ally's faction; mobile bases stay members-only). 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 catalog type=ships to see options) | |
| fund_from_faction | No | At your own faction's station, or an allied station that shares its shipyard (ally_shipyard_access): build from your faction's 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. |