29 lines
696 B
Lua
Raw Normal View History

2018-11-03 18:56:07 -04:00
-- LUALOCALS < ---------------------------------------------------------
local minetest, nodecore
= minetest, nodecore
-- LUALOCALS > ---------------------------------------------------------
local modname = minetest.get_current_modname()
minetest.register_tool(modname .. ":adze", {
description = "Wooden Adze",
inventory_image = modname .. "_adze.png",
groups = {
flammable = 2
},
tool_capabilities = nodecore.toolcaps({
choppy = 1
})
2018-11-03 18:56:07 -04:00
})
nodecore.register_craft({
normal = {y = 1},
nodes = {
{match = "nc_tree:stick", replace = "air"},
{y = -1, match = modname .. ":staff", replace = "air"},
},
items = {
{y = -1, name = modname .. ":adze"}
}
})