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

Place to get help with not working mods / modding interface.
Post Reply
StormTAG
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Wed Feb 10, 2016 12:40 pm
Contact:

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

Post 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?

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

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

Post 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.
quick links: log file | graphical issues | wiki

StormTAG
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Wed Feb 10, 2016 12:40 pm
Contact:

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

Post by StormTAG »

Awesome, thanks

Post Reply

Return to “Modding help”