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

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
m (Bilka moved page Full mod tutorial + explanation (based on a existing item) to User:Fcmodder/Full mod tutorial + explanation (based on a existing item) without leaving a redirect: WIP pages must be in your userspace)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This is a tutorial on how to create an assembling machine fully explained. I have colour-coded the code.
This is a tutorial on how to create an assembling machine fully explained. I have colour-coded the code.
<code style= "background-color:lightpink; color:black">Code tinted red is the line of code from the <code style= "background-color:lightgreen; color:black">Code tinted green</code></code> and <code style= "background-color:lightyellow; color:black"> code tinted yellow is the explanation</code>.
<code style= "background-color:lightpink; color:black">Code tinted red is the line of code from the <code style= "background-color:lightgreen; color:black">code tinted green</code> </code>, <code style= "background-color:lightyellow; color:black"> code tinted yellow is the explanation</code> and <code style = "background-color:lightblue; color:black">code tinted blue is just code</code>.
<br/>
<br/>
Moving on.
Moving on.
== ==
== ==
== Making the mod ==
== Making the mod ==
We are going to copy a table using <code style = "background-color:lightblue; color:black">data.extend</code> to copy an exitsting table.
{{Stub}}
===== Do not edit. I will finish this on my own. =====

Latest revision as of 06:35, 14 September 2020

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.