Page 1 of 1

Crafting Machines

Posted: Sun Nov 13, 2016 6:40 pm
by DutchJer
Hi all,

Im working on a way to make an easy ratio site, for this I was trying to get all the machines that can do crafting. Is there a way that I can get this info just through the lua (preferably a command). Right now im able to get all the items out, but is there an api call to get all types of crafting machines with their properties? E.G. craft speed, what types it can craft, module slots etc.

Greetz
Dutch Jer

Re: Crafting Machines

Posted: Mon Nov 14, 2016 12:19 pm
by LuziferSenpai
DutchJer wrote:Hi all,

Im working on a way to make an easy ratio site, for this I was trying to get all the machines that can do crafting. Is there a way that I can get this info just through the lua (preferably a command). Right now im able to get all the items out, but is there an api call to get all types of crafting machines with their properties? E.G. craft speed, what types it can craft, module slots etc.

Greetz
Dutch Jer
look in the code for assembling machines and furnaces that are the only stuff that crafts. Chemical Plants and Refinarys are assembling machines too.