Page 1 of 1

Where are the core game LUA files?

Posted: Fri Apr 14, 2017 9:35 am
by Plawerth
I figure the best way to learn LUA is to just look at how the game works already and figure things out from there.

Except... where are the core game LUA files that make up the "base" mod?

I've been looking very thoroughly in here... I don't see anything like it.
F:\Steam\steamapps\common\Factorio
C:\Users\foo\AppData\Roaming\Factorio

Re: Where are the core game LUA files?

Posted: Fri Apr 14, 2017 10:04 am
by daniel34
In your case they should be in F:\Steam\steamapps\common\Factorio\data\base, you probably want the prototypes folder in there.

Re: Where are the core game LUA files?

Posted: Fri Apr 14, 2017 10:29 am
by Arch666Angel
Better have a look at mods that do specific things, because a lot of the base game stuff is scattered around several files and sometime done through helper functions, which can be hard to read if you are not a coding monk.