Zaktualizuj 'mods/shit_poop/init.lua'

This commit is contained in:
{{QWERTYKBGUI}} 2022-11-22 09:28:35 +00:00
parent bd677949e0
commit 742042729b

View File

@ -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})