Page 1 of 1
A Basic Config
Posted: Thu Mar 07, 2019 3:45 pm
by CJ5Boss
Hello all,
Recently I received a request to make a configuration option for my mod, which adds many QualityOfLife researches to the game. Surprisingly, in my past year of modding, I have never touched this issue.
How would I be able to incorporate this into my mod in a config.lua file? Would I just add the name of the file and "= true;" to the end of it? Or is there something I am missing?
Thanks,
CJ
Re: A Basic Config
Posted: Fri Mar 08, 2019 9:42 am
by bobingabout
https://wiki.factorio.com/Tutorial:Mod_settings
Pretty much tells you everything you need to know.
Re: A Basic Config
Posted: Mon Mar 18, 2019 11:26 am
by darkfrei
CJ5Boss wrote: Thu Mar 07, 2019 3:45 pm
Surprisingly, in my past year of modding, I have never touched this issue.
How would I be able to incorporate this into my mod in a config.lua file? Would I just add the name of the file and "= true;" to the end of it? Or is there something I am missing?
The best mod is
https://mods.factorio.com/mods/Blank/what-fish
Re: A Basic Config
Posted: Thu May 02, 2019 6:40 pm
by CJ5Boss
darkfrei wrote: Mon Mar 18, 2019 11:26 am
CJ5Boss wrote: Thu Mar 07, 2019 3:45 pm
Surprisingly, in my past year of modding, I have never touched this issue.
How would I be able to incorporate this into my mod in a config.lua file? Would I just add the name of the file and "= true;" to the end of it? Or is there something I am missing?
The best mod is
https://mods.factorio.com/mods/Blank/what-fish
I checked it out. Assuming this code could work with techs, would I just replace the "fish" entity in the code with the tech name? Or is there something else in this case that I need to do in order to incorporate the tech aspect?
Re: A Basic Config
Posted: Thu May 02, 2019 6:42 pm
by darkfrei
CJ5Boss wrote: Thu May 02, 2019 6:40 pm
I checked it out. Assuming this code could work with techs, would I just replace the "fish" entity in the code with the tech name? Or is there something else in this case that I need to do in order to incorporate the tech aspect?
Every single parameter you can get with this mod:
Info Mod or just find it somewhere in
Factorio/data/base/prototypes/