Minor changes
This commit is contained in:
parent
93716edf1f
commit
6252c5fa99
@ -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;]",
|
||||
|
@ -54,6 +54,7 @@ local function play_sound(pos)
|
||||
expirationtime = 1,
|
||||
size = 2,
|
||||
vertical = true,
|
||||
glow = core.LIGHT_MAX
|
||||
})
|
||||
end
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user