Crafting Machines

Place to get help with not working mods / modding interface.
Post Reply
DutchJer
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sat Feb 13, 2016 8:43 am

Crafting Machines

Post by DutchJer » Sun Nov 13, 2016 6:40 pm

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

User avatar
LuziferSenpai
Filter Inserter
Filter Inserter
Posts: 254
Joined: Tue Jul 08, 2014 10:06 am
Contact:

Re: Crafting Machines

Post by LuziferSenpai » Mon Nov 14, 2016 12:19 pm

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.
Coding is awesome!
Animes are love!
Factorio is life!

My MODs:
Click

Greetz,

Senpai

Post Reply

Return to “Modding help”

Who is online

Users browsing this forum: No registered users