I'd like to know if it's possible to read settings that user chose for resources and enemies on new game creation screen.
I looked on the modding wiki but couldn't find those.
Reading game resource and enemy settings
Re: Reading game resource and enemy settings
game.mapsettings
Can see Factorio\data\base\prototypes\mapsettings.lua, for example:
game.mapsettings.steering.default.radius return 1.2 (i don't know what is, but work xD)
hmmm but isn't what you want i think, game.difficulty maybe?
Can see Factorio\data\base\prototypes\mapsettings.lua, for example:
game.mapsettings.steering.default.radius return 1.2 (i don't know what is, but work xD)
hmmm but isn't what you want i think, game.difficulty maybe?
Re: Reading game resource and enemy settings
I looked at map settings but I don't think it has the resource and enemy spawn parameters that you can set up in new game window.
It has biter behavior controls and evolution stuff.
I'm interested in map generator settings.
It has biter behavior controls and evolution stuff.
I'm interested in map generator settings.
Re: Reading game resource and enemy settings
Mayby the same question of the topic, but I'd ask whatever.
Is it possible to save map generator settings?
Mods have their own settings, and it's annoying to me changing them every time I'm launching the game
Is it possible to save map generator settings?
Mods have their own settings, and it's annoying to me changing them every time I'm launching the game
Re: Reading game resource and enemy settings
if you add a resource (or fluid) with autoplace, the game adds automatically this options, i think you can't save that settings.