"explode" all modpacks into their individual components

(you can't have a modpack buried inside a modpack)
This commit is contained in:
Vanessa Ezekowitz
2016-04-01 21:00:20 -04:00
parent da66780a56
commit 888b0ebfec
3279 changed files with 21 additions and 4769 deletions

View File

@@ -0,0 +1,15 @@
technic.config = technic.config or Settings(minetest.get_worldpath().."/technic.conf")
local conf_table = technic.config:to_table()
local defaults = {
enable_granite_generation = "true",
enable_marble_generation = "true",
enable_rubber_tree_generation = "true",
}
for k, v in pairs(defaults) do
if conf_table[k] == nil then
technic.config:set(k, v)
end
end