Add hunger. Make goblins attack. Remove easy bread.

This commit is contained in:
Duane Robertson 2016-05-23 07:54:39 -05:00
parent 689548aa9b
commit 11e404c23a
4 changed files with 12 additions and 3 deletions

View file

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