diff --git a/mods/poop/init.lua b/mods/poop/init.lua index b4426f4..fac3671 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -88,6 +88,31 @@ local nodesDestroyedByHand = 0 local idText local idMeter + + +minetest.register_item(":", { -- Hand + type = "none", + wield_image = "Poop.png", + wield_scale = {x=1.5,y=2,z=4.5}, + range = 5, + tool_capabilities = { + max_drop_level = 0, + full_punch_interval = 0.4, + + groupcaps = + { + oddly_breakable_by_hand = {times={[1]=3.50,[2]=2.00,[3]=0.70}, uses=0}, + snappy = {times={[3]=0, [2]=0, [1]=0}, uses=0, maxlevel=3}, + crumbly = {times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3}, + cracky = {times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3}, + choppy = {times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=3}, + }, + damage_groups = {fleshy = 3, snappy = 2}, + } +}) + + + minetest.register_on_joinplayer(function(player) meta = player:get_meta()