mirror of
https://github.com/SmallJoker/bitchange.git
synced 2024-11-15 23:30:18 +01:00
84f1b0f330
- Rename bitchange_ -> bitchange. - Better coding style - Run OptiPNG
36 lines
1.0 KiB
Lua
36 lines
1.0 KiB
Lua
--Created by Krock
|
|
--License: WTFPL
|
|
|
|
if bitchange.use_moreores_tin and minetest.get_modpath("moreores") then
|
|
minetest.register_craft({
|
|
output = "bitchange:coinbase 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:coinbase 8",
|
|
recipe = {
|
|
{"technic:zinc_block", "default:pick_diamond"},
|
|
{"technic:zinc_block", ""}
|
|
},
|
|
replacements = { {"default:pick_diamond", "default:pick_diamond"} }
|
|
})
|
|
end
|
|
|
|
if bitchange.use_quartz and minetest.get_modpath("quartz") then
|
|
minetest.register_craft({
|
|
output = "bitchange:coinbase",
|
|
recipe = {
|
|
{"quartz:quartz_crystal", "default:pick_diamond"},
|
|
{"quartz:quartz_crystal", "quartz:quartz_crystal"},
|
|
{"quartz:quartz_crystal", "quartz:quartz_crystal"}
|
|
},
|
|
replacements = { {"default:pick_diamond", "default:pick_diamond"} }
|
|
})
|
|
end |