User:Fcmodder/Full mod tutorial + explanation (based on a existing item)

From Official Factorio Wiki
Jump to navigation Jump to search

This is a tutorial on how to create an assembling machine fully explained. I have colour-coded the code. Code tinted red is the line of code from the code tinted green , code tinted yellow is the explanation and code tinted blue is just code.
Moving on.

Making the mod

We are going to copy a table using data.extend to copy an exitsting table.

No-building-material-icon.png
This article is a stub, and not comprehensive.
You can help this wiki by expanding it.
Do not edit. I will finish this on my own.