30 lines
679 B
Lua
30 lines
679 B
Lua
|
minetest.register_tool("brewing:magic_shovel", {
|
||
|
description = ("Магическая Лопата"),
|
||
|
inventory_image = "brewing_magic_shovel.png",
|
||
|
wield_image = "brewing_magic_shovel.png^[transformR90",
|
||
|
tool_capabilities = {
|
||
|
full_punch_interval = 1.0,
|
||
|
max_drop_level = 1,
|
||
|
groupcaps = {
|
||
|
crumbly = {
|
||
|
times = {[1] = 1.10, [2] = 0.50, [3] = 0.30},
|
||
|
uses = 30,
|
||
|
maxlevel = 3
|
||
|
}
|
||
|
},
|
||
|
damage_groups = {fleshy = 4}
|
||
|
},
|
||
|
groups = {shovel = 1},
|
||
|
sound = {breaks = "default_tool_breaks"}
|
||
|
})
|
||
|
|
||
|
|
||
|
minetest.register_craft({
|
||
|
output = "brewing:magic_shovel",
|
||
|
recipe = {
|
||
|
{"", "brewing:magic_gem", ""},
|
||
|
{"", "default:stick", ""},
|
||
|
{"", "default:stick", ""}
|
||
|
}
|
||
|
})
|