brewing/magic_pick.lua

29 lines
684 B
Lua

minetest.register_tool("brewing:magic_pick", {
description = ("Магическая Кирка"),
inventory_image = "brewing_magic_pick.png",
wield_image = "brewing_magic_pick.png",
tool_capabilities = {
full_punch_interval = 0.7,
max_drop_level = 3,
groupcaps={
cracky = {
times = {[1] = 1.8, [2] = 0.8, [3] = 0.40},
uses = 40,
maxlevel = 3
}
},
damage_groups = {fleshy = 6}
},
groups = {pickaxe = 1},
sound = {breaks = "default_tool_breaks"}
})
minetest.register_craft({
output = "brewing:magic_pick",
recipe = {
{"brewing:magic_gem", "brewing:magic_gem", "brewing:magic_gem"},
{"", "default:stick", ""},
{"", "default:stick", ""}
}
})