working alpha
This commit is contained in:
commit
5c51be9567
91 changed files with 1343 additions and 0 deletions
14
map-gen-preset-updates.lua
Normal file
14
map-gen-preset-updates.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
local base_ore = "iron-ore"
|
||||
if mods["angelssmelting"] then
|
||||
base_ore = "angels-ore1"
|
||||
end
|
||||
if data.raw["map-gen-presets"] and data.raw["map-gen-presets"].default then
|
||||
for name, preset in pairs(data.raw["map-gen-presets"].default) do
|
||||
if type(preset) == "table" and
|
||||
preset.basic_settings and
|
||||
preset.basic_settings.autoplace_controls and
|
||||
preset.basic_settings.autoplace_controls[base_ore] then
|
||||
preset.basic_settings.autoplace_controls["tungsten-ore"] = preset.basic_settings.autoplace_controls[base_ore]
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue