Where are the core game LUA files?

Place to post guides, observations, things related to modding that are not mods themselves.
Plawerth
Fast Inserter
Fast Inserter
Posts: 120
Joined: Thu Mar 02, 2017 12:57 am
Contact:

Where are the core game LUA files?

Post 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
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Where are the core game LUA files?

Post by daniel34 »

In your case they should be in F:\Steam\steamapps\common\Factorio\data\base, you probably want the prototypes folder in there.
quick links: log file | graphical issues | wiki
User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: Where are the core game LUA files?

Post 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.
Post Reply

Return to “Modding discussion”