control.lua for vanilla entities
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
control.lua for vanilla entities
I'm trying to find the control.lua for vanilla entities but to no avail. I can find their prototypes, graphics, etc., but not the code that actually 'actuates' them once placed in game. Anyone know where to find their scripts?
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
Re: control.lua for vanilla entities
it's not in lua code, i mean is in c++
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: control.lua for vanilla entities
Uhm, that's a shame. I'm trying to work out how indicator lights change colour based on their circuit input. Or alternatively how train engines change colour based on UI settings.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
- DedlySpyder
- Filter Inserter
- Posts: 253
- Joined: Fri Jun 20, 2014 11:42 am
- Contact:
Re: control.lua for vanilla entities
The base game has its folder for creating prototypes, but anything not in there is accomplished in the core game in C++