Help please
Im having trouble with this code should this work
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_tool("default:useful_pickaxe", {
description = "useful pickaxe",
inventory_image = "default_tool_usefulpickaxe.png",
tool_capabilities = {
full_punch_interval = 1.3,
max_drop_level=8,
groupcaps={
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=9000, maxlevel=9},
},
damage_groups = {fleshy=9},
},
})