BuildShip hull:Int, [engine:Int, beamtype:Int,
  beamcount:Int, torptype:Int, torpcount:Int]

Submit a starship build order. If hull is zero, cancels a pending order. Otherwise, builds a ship. In this case, engine must be specified, and the others should better be specified as well to avoid building a ship without weapons.

Required tech levels and parts are bought automatically.

See also: Planet Commands