From d353bb46fb8fcfce5071363e38a794764a92eaeb Mon Sep 17 00:00:00 2001 From: MIGDYN Date: Mon, 21 Nov 2022 19:18:59 +0000 Subject: [PATCH] Update 'mods/poop/init.lua' --- mods/poop/init.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/mods/poop/init.lua b/mods/poop/init.lua index d519828..7c53daf 100644 --- a/mods/poop/init.lua +++ b/mods/poop/init.lua @@ -1,3 +1,24 @@ +minetest.register_item(":", { -- Hand + type = "none", + wield_image = "Poop.png", + wield_scale = {x=1.5,y=2,z=4.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}, + } +}) + + function sraj_dzwiek() --make random sound local sounds = {