Page 1 of 1

Can you add new map-gen 0.1 presets via modding? If so, how?

Posted: Sat Apr 29, 2017 7:58 pm
by StormTAG
Title pretty much sums it up: Can you add new 0.15 map-gen presets via modding? If so, which files would I need to look at to change or copy?

Re: Can you add new map-gen 0.1 presets via modding? If so, how?

Posted: Sat Apr 29, 2017 8:02 pm
by daniel34
They are defined in data\base\prototypes\map-gen-presets.lua.
In your mod just use data:extend and the syntax in that file to add new presets to the list.

Re: Can you add new map-gen 0.1 presets via modding? If so, how?

Posted: Sun Apr 30, 2017 3:27 am
by StormTAG
Awesome, thanks