From bd677949e017e690a7bea58fe373da073e54af13 Mon Sep 17 00:00:00 2001 From: Kacper Kostka <kacperks@cubesoftware.xyz> Date: Tue, 22 Nov 2022 09:25:07 +0000 Subject: [PATCH 1/2] Zaktualizuj 'mods/shit_robocops/init.lua' --- mods/shit_robocops/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/shit_robocops/init.lua b/mods/shit_robocops/init.lua index 9da330a..0635707 100644 --- a/mods/shit_robocops/init.lua +++ b/mods/shit_robocops/init.lua @@ -1,6 +1,6 @@ minetest.register_abm({ nodenames = {"poop:grey_bricks"}, - interval = 10, + interval = 30, chance = 200, action = function(pos, node, active_object_count, active_object_count_wider) minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "robocops:robocop") From 742042729b4e3926e0679e3f1775f92d22ae8461 Mon Sep 17 00:00:00 2001 From: Kacper Kostka <kacperks@cubesoftware.xyz> Date: Tue, 22 Nov 2022 09:28:35 +0000 Subject: [PATCH 2/2] Zaktualizuj 'mods/shit_poop/init.lua' --- mods/shit_poop/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/shit_poop/init.lua b/mods/shit_poop/init.lua index ea7c06a..72d349b 100644 --- a/mods/shit_poop/init.lua +++ b/mods/shit_poop/init.lua @@ -170,8 +170,8 @@ function destruction_counter.updateCounter(player) local totalDestruction = destruction_counter.nodesDestroyed + math.floor(nodesDestroyedByHand / 10) local percentage = (totalDestruction / 200 * 4) - if percentage > 200 then - percentage = 200 + if percentage > 100 then + percentage = 100 end player:hud_change(idText, "text", "Shitting & Packing Meter: " .. totalDestruction) player:hud_change(idMeter, "scale", {x = percentage, y = 4})