Aaron Suen f9abfc5e22 Fire refinements.
- Make some more materials flammable.

- Flammable items in stack form burn up too.

- Some items burn away without converting into fuel.
2019-01-06 14:51:09 -05:00

33 lines
795 B
Lua

-- 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,
burn_away = 1
},
tool_capabilities = {
full_punch_interval = 1.2,
groupcaps = {
choppy = {times={[3]=6.00, [4]=3.00}, uses=5, maxlevel=1},
}
},
})
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"}
}
})