Add hunger. Make goblins attack. Remove easy bread.
This commit is contained in:
parent
689548aa9b
commit
11e404c23a
4 changed files with 12 additions and 3 deletions
|
@ -411,6 +411,11 @@ minetest.register_globalstep(function(dtime)
|
|||
player:set_hp(player:get_hp() - 1)
|
||||
end
|
||||
end
|
||||
|
||||
-- hunger
|
||||
if last_dps_check % 2000 == 0 then
|
||||
player:set_hp(player:get_hp() - 1)
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue