Add backwards-compatiblity, tidy config.default.txt

This commit is contained in:
SmallJoker 2018-12-29 14:47:17 +01:00
parent 99dbde247e
commit b39a6017d4
3 changed files with 21 additions and 16 deletions

View File

@ -1,5 +1,6 @@
-- General configuration - BitChange -- General configuration for the BitChange mod
-- Do NOT change your settings in "config.default.txt" -- Do NOT modify "config.default.txt"! Instead, edit "bitchange_config.txt"
-- inside your world's directory. Start the world once to generate the file.
bitchange.initial_give = 10 bitchange.initial_give = 10
-- Enable/Disable whole nodes -- Enable/Disable whole nodes
@ -10,7 +11,7 @@ bitchange.enable_toolrepair = true
bitchange.enable_donationbox = true bitchange.enable_donationbox = true
-- Converting other ores to MineCoins -- Converting other ores to MineCoins
-- Tin moreores -- Tin default
-- Zinc technic_worldgen -- Zinc technic_worldgen
-- Quartz quartz -- Quartz quartz
bitchange.use_technic_zinc = false bitchange.use_technic_zinc = false

View File

@ -1,5 +1,4 @@
default default
moreores?
pipeworks? pipeworks?
quartz? quartz?
technic_worldgen? technic_worldgen?

View File

@ -23,6 +23,11 @@ if bitchange.use_quartz and minetest.get_modpath("quartz") then
}) })
end end
if bitchange.use_moreores_tin then
bitchange.use_default_tin = true
minetest.log("warning", "[bitchange] Loaded deprecated setting 'use_default_tin'")
end
if bitchange.use_default_tin then if bitchange.use_default_tin then
minetest.register_craft({ minetest.register_craft({
output = "bitchange:mineninth 18", output = "bitchange:mineninth 18",