forked from mtcontrib/bitchange
Add default tin conversion (#13)
This commit is contained in:
parent
e7798768d4
commit
99dbde247e
|
@ -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
|
||||
|
|
24
moreores.lua
24
moreores.lua
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user