SpaceTradersAPI / api-docs

The API documentation for the SpaceTraders API
143 stars 36 forks source link

Refinement of raw materials #91

Open dcorallo opened 5 months ago

dcorallo commented 5 months ago

Here is documented, that

Attempt to refine the raw materials on your ship. The request will only succeed if your ship is capable of refining at the time of the request. In order to be able to refine, a ship must have goods that can be refined and have installed a Refinery module that can refine it. When refining, 30 basic goods will be converted into 10 processed goods.

Actually attempting it, i get the following error

{'message': 'Failed to update ship cargo. Ship <ship> cargo does not contain 100 unit(s) of IRON_ORE. Ship has <units> unit(s) of IRON_ORE.',