local stack
local count
local obj
+local name
minetest.register_on_dieplayer(function(player, reason)
pos = player:get_pos()
inv = player:get_inventory()
punch_diff = (minetest.get_us_time()/1000000)-temp_pool
hurt = tool_capabilities.damage_groups.damage
+ if not hurt then
+ hurt = 0
+ end
hp = player:get_hp()
if punch_diff >= 0.5 and hp > 0 then
elseif modify_output then
hurt = 0
end
+
player:add_player_velocity(dir)
+
player:set_hp(hp-hurt)
end
end)