Talk:Tutorial:Modding Tutorial

From Official Factorio Wiki
Revision as of 01:16, 11 May 2016 by Archon286 (talk | contribs) (Future of this page)
Jump to: navigation, search

Chapter 6 The Lua code

I would like to point out that it is not mandatory to use require util/defines. Require gives no additional access to game. Just access to the file it loads. In your code you need require defines because you use, but you could just use number to avoid need of defines just like you have in getinventory(). Now i dont remember what was in utils, but you can check it out in core/lualib -folder and if there is some function you need you have option to require the file, copy/paste the function or write your own function. Rk84 (talk) 00:26, 7 May 2013 (CEST)

Future of this page

Anyone knowledgeable or interested enough to check out how much of this page is out of date? I like the format of guiding you through the creation of a very simple mod, good for beginners to get an idea. So I do think this page or something like it should be included for modding. I'm adding a link to this page from the main Modding page to keep it on the radar. BenWo (talk) 06:47, 15 May 2014 (CEST)

Going through it now, making notes on what doesn't work. I'm brand new to modding, total rookie.

  • version number needs to be in Mod folder name
  • After Completing Chapter 5, crash error: "Error while loading entity prototype "bomber" (car): No such node (energy_per_hit_point) Modifications: Bombertutorial" (looking into the fix for this)

--Archon286 (talk) 01:16, 11 May 2016 (UTC)