From f76896971fc201b7196d1b9e3a6a044069ca73e1 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 3 Jun 2019 08:39:06 +0100 Subject: [PATCH] add tool groups --- crystal.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crystal.lua b/crystal.lua index d3dc3c2..a1641b8 100644 --- a/crystal.lua +++ b/crystal.lua @@ -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"}, })