Add poison and pit traps.

This commit is contained in:
Duane 2016-08-05 01:29:38 -05:00
parent 5f3d97ab0c
commit 04ecb1bd5c
2 changed files with 81 additions and 5 deletions

View file

@ -359,7 +359,6 @@ minetest.register_abm({
neighbors = {'air'},
interval = 5 * time_factor,
chance = 500,
catch_up = false,
action = function(pos, node, aoc, active_object_count_wider)
if not (pos and node) or active_object_count_wider > dungeon_monster_density then
return