script for a scenario

Place to get help with not working mods / modding interface.
Derserker
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed May 09, 2018 6:02 am
Contact:

script for a scenario

Post by Derserker »

i want to make a scenario with a racing track. i decided to have machines automatically use create solid fuel, however i can't use them because the map does not start with the required research. i know there is an answer for something similar but it requires writing a script. My problem is that i don't even know where to start when it comes to writing scripts can someone point me in the right direction?
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: script for a scenario

Post by darkfrei »

Derserker wrote:i want to make a scenario with a racing track. i decided to have machines automatically use create solid fuel, however i can't use them because the map does not start with the required research. i know there is an answer for something similar but it requires writing a script. My problem is that i don't even know where to start when it comes to writing scripts can someone point me in the right direction?
The same as control.lua, so you are need http://lua-api.factorio.com/latest/
See also autofill https://mods.factorio.com/mods/Nexela/autofill
Post Reply

Return to “Modding help”