Minor changes

This commit is contained in:
IamPyu 2024-12-16 12:14:09 -06:00
parent 93716edf1f
commit 6252c5fa99
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
local function dropper_formspec(pos)
local spos = string.format("%d,%d,%d", pos.x, pos.y, pos.z)
return table.concat({
"size[8,9]",
"list[nodemeta:", spos, ";main;0,0;8,4;]",

View File

@ -54,6 +54,7 @@ local function play_sound(pos)
expirationtime = 1,
size = 2,
vertical = true,
glow = core.LIGHT_MAX
})
end

View File

@ -83,7 +83,7 @@ core.register_globalstep(function (dtime)
timers[name].damage = timers[name].damage + 5 * dtime
timers[name].health = timers[name].health + 8 * dtime
if timers[name].hunger > 75 then
if timers[name].hunger > 135 then
PyuTest.hunger_add(name, -2)
timers[name].hunger = 0
end