add tool groups

This commit is contained in:
TenPlus1 2019-06-03 08:39:06 +01:00
parent 50b8cdd673
commit f76896971f

View File

@ -136,7 +136,7 @@ minetest.register_tool("ethereal:sword_crystal", {
maxlevel = 3
},
},
damage_groups = {fleshy = 10},
damage_groups = {sword = 1, fleshy = 10},
},
sound = {breaks = "default_tool_breaks"},
})
@ -165,7 +165,7 @@ minetest.register_tool("ethereal:axe_crystal", {
maxlevel = 3
},
},
damage_groups = {fleshy = 7},
damage_groups = {axe = 1, fleshy = 7},
},
sound = {breaks = "default_tool_breaks"},
})
@ -203,7 +203,7 @@ minetest.register_tool("ethereal:pick_crystal", {
maxlevel = 3
},
},
damage_groups = {fleshy = 6},
damage_groups = {pickaxe = 1, fleshy = 6},
},
sound = {breaks = "default_tool_breaks"},
})
@ -246,7 +246,7 @@ minetest.register_tool("ethereal:shovel_crystal", {
groupcaps={
crumbly = {times={[1]=1.10, [2]=0.50, [3]=0.30}, uses=30, maxlevel=3},
},
damage_groups = {fleshy=4},
damage_groups = {shovel = 1, fleshy = 4},
},
sound = {breaks = "default_tool_breaks"},
})