How to access the used preset at runtime?
Posted: Fri May 24, 2024 9:07 pm
I want to read these properties at runtime: https://lua-api.factorio.com/latest/con ... pGenPreset, especially the advanced settings. How's that possible?
www.factorio.com
https://forums.factorio.com/
I know that, then I suggest to make EnemyEvolutionMapSettings, EnemyExpansionMapSettings and PollutionMapSettings readable during runtime.Bilka wrote: Fri May 24, 2024 9:12 pm All presets are available here: https://lua-api.factorio.com/latest/cla ... en_presets
The preset used for the current map is not saved. But you can get the current map gen settings are from the surface: https://lua-api.factorio.com/latest/cla ... n_settings
Thanks! There they are: https://lua-api.factorio.com/latest/cla ... p_settingsFuryoftheStars wrote: Fri May 24, 2024 10:50 pm Try taking a look at this mod and what it does and how:
https://mods.factorio.com/mod/ChangeMapSettings