Add Minauros and zombies (only there).

This commit is contained in:
Duane 2016-06-08 00:45:26 -05:00
parent d22195be27
commit 10bb057f61
19 changed files with 5781 additions and 56 deletions

View file

@ -107,6 +107,12 @@ minetest.register_globalstep(function(dtime)
player:set_hp(player:get_hp() - 1)
end
-- Environmental damage from surfaces/hunger
local counts = find_nodes_in_area(minp, maxp, {"group:poison"})
if #counts > 1 then
player:set_hp(player:get_hp() - 1)
end
if dps_count % cold_delay == 0 then
counts = find_nodes_in_area(minp, maxp, {"group:surface_cold"})
if #counts > 1 then