Add flare gun.

This commit is contained in:
Duane 2016-07-17 01:10:40 -05:00
parent 357be42a0a
commit 193ad7e7ac
6 changed files with 118 additions and 1 deletions

View file

@ -313,6 +313,19 @@ end)
-- destruction
------------------------------------------------------------
minetest.register_abm({
nodenames = {"fun_caves:flare",},
interval = 5,
chance = 10,
action = function(pos, node)
if not (pos and node) then
return
end
minetest.remove_node(pos)
end,
})
minetest.register_abm({
nodenames = {"fun_caves:hot_cobble",},
neighbors = {"group:water"},