Allow changing of default preset for basic_settings in map-gen-presets
Posted: Sun Feb 10, 2019 7:23 pm
Hello,
I tried to change the basic_settings for alle defines map-gen-presets. My intension for this is that I'm implementing a second planet with different terrains and additional resources.
For changing the default settings I tried this:
I'm getting this error when I starting Factorio now:
I see how this is making sense for nearly all mods, but for me it makes it harder now.
Would there be any posibility to remove that check or adding a setting that I can allow overriding it?
For example something like:
Thanks for helping and best wishes,
Ralf
I tried to change the basic_settings for alle defines map-gen-presets. My intension for this is that I'm implementing a second planet with different terrains and additional resources.
For changing the default settings I tried this:
Code: Select all
data.raw["map-gen-presets"].default["default"].basic_settings = { autoplace_controls = { ["helium3"] = {size = "none"}, ["moon-sand"] = {size = "none"} } }
Code: Select all
Error while loading map-gen-presets prototype "default": The default preset can't have any settings defined.
Would there be any posibility to remove that check or adding a setting that I can allow overriding it?
For example something like:
Code: Select all
data.raw["map-gen-presets"].default["default"].allow_basic_settings = true
Ralf