brewing/magic_axe.lua

29 lines
680 B
Lua

minetest.register_tool("brewing:magic_axe", {
description = ("Магический Топор"),
inventory_image = "brewing_magic_axe.png",
wield_image = "brewing_magic_axe.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level = 1,
groupcaps = {
choppy = {
times = {[1] = 2.00, [2] = 0.80, [3] = 0.40},
uses = 40,
maxlevel = 3
}
},
damage_groups = {fleshy = 7}
},
groups = {axe = 1},
sound = {breaks = "default_tool_breaks"}
})
minetest.register_craft({
output = "brewing:magic_axe",
recipe = {
{"brewing:magic_gem", "brewing:magic_gem", ""},
{"brewing:magic_gem", "default:stick", ""},
{"", "default:stick", ""}
}
})