Add mods: technic, moreores, paintings, Nyancat (Pbj_pup). Small fix: sandwiches
This commit is contained in:
parent
15e8e696a2
commit
fb09deddc1
1404 changed files with 156555 additions and 211 deletions
16
mods/technic_plus_beta/technic_worldgen/config.lua
Normal file
16
mods/technic_plus_beta/technic_worldgen/config.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
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",
|
||||
enable_steel_override = "true",
|
||||
}
|
||||
|
||||
for k, v in pairs(defaults) do
|
||||
if conf_table[k] == nil then
|
||||
technic.config:set(k, v)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue