forked from mtcontrib/bitchange
3f029c82d6
Shop: limit title length to 80 characters Do not list ore nodes in creative inventory 10 MineNinths for a new player on start (previously 2) Replace bitchange privilege with protection_bypass Revert to classic 16px shop texture & run OptiPNG
35 lines
1.0 KiB
Lua
35 lines
1.0 KiB
Lua
-- 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",
|
|
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:mineninth",
|
|
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 |