Add default tin conversion (#13)

This commit is contained in:
benrob0329 2018-12-29 08:37:53 -05:00 committed by SmallJoker
parent e7798768d4
commit 99dbde247e
2 changed files with 13 additions and 13 deletions

View File

@ -13,9 +13,9 @@ bitchange.enable_donationbox = true
-- Tin moreores
-- Zinc technic_worldgen
-- Quartz quartz
bitchange.use_moreores_tin = false
bitchange.use_technic_zinc = false
bitchange.use_quartz = false
bitchange.use_default_tin = false
-- Pipeworks support
bitchange.exchangeshop_pipeworks = false

View File

@ -1,16 +1,5 @@
-- Conversion of other ores to money
if bitchange.use_moreores_tin and minetest.get_modpath("moreores") then
minetest.register_craft({
output = "bitchange:mineninth 18",
recipe = {
{"moreores:tin_block", "default:pick_diamond"},
{"moreores:tin_block", ""}
},
replacements = { {"default:pick_diamond", "default:pick_diamond"} }
})
end
if bitchange.use_technic_zinc and minetest.get_modpath("technic_worldgen") then
minetest.register_craft({
output = "bitchange:mineninth 8",
@ -32,4 +21,15 @@ if bitchange.use_quartz and minetest.get_modpath("quartz") then
},
replacements = { {"default:pick_diamond", "default:pick_diamond"} }
})
end
end
if bitchange.use_default_tin then
minetest.register_craft({
output = "bitchange:mineninth 18",
recipe = {
{"default:tinblock", "default:pick_diamond"},
{"default:tinblock", ""}
},
replacements = { {"default:pick_diamond", "default:pick_diamond"} }
})
end