Where are the scripts for base entities?

Place to get help with not working mods / modding interface.
starelf
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon Nov 17, 2014 4:44 am
Contact:

Where are the scripts for base entities?

Post by starelf »

Entities like the scanner have no code in their entity.lua file, and I can't find a control.lua, yet they can scan sectors. Same with car entities. are these modifiable files, or just part of the game and un-editable?
User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: Where are the scripts for base entities?

Post by L0771 »

You can see all entities here Factorio\data\base\prototypes\entity in your install folder, but you can't see how to works each type of entity
starelf
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon Nov 17, 2014 4:44 am
Contact:

Re: Where are the scripts for base entities?

Post by starelf »

L0771 wrote:You can see all entities here Factorio\data\base\prototypes\entity in your install folder, but you can't see how to works each type of entity
So this is just part of the game? No way to edit the scripts? :(
User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: Where are the scripts for base entities?

Post by cube »

starelf wrote:
L0771 wrote:You can see all entities here Factorio\data\base\prototypes\entity in your install folder, but you can't see how to works each type of entity
So this is just part of the game? No way to edit the scripts? :(
Yes, the only thing you can do is edit the parameters, or build your own scripts around them.
Post Reply

Return to “Modding help”