Cooperate with Ramoid.

This commit is contained in:
Duane Robertson 2017-02-17 19:21:47 -06:00
parent 2186b24632
commit f1f0abcc16
3 changed files with 32 additions and 4 deletions

View file

@ -197,6 +197,26 @@ minetest.register_abm({
end
})
-- * Replace this with an after_destruct call *
--minetest.register_abm({
-- nodenames = {"fun_caves:giant_mushroom_cap", "fun_caves:huge_mushroom_cap"},
-- interval = time_factor,
-- chance = 20,
-- action = function(pos, node)
-- if not (pos and node) then
-- return
-- end
--
-- pos.y = pos.y - 1
-- local node_below = minetest.get_node_or_nil(pos)
-- if not (node_below and node_below.name == 'fun_caves:giant_mushroom_stem') then
-- pos.y = pos.y + 1
-- minetest.remove_node(pos)
-- return
-- end
-- end
--})
--minetest.register_abm({
-- nodenames = {"fire:basic_flame"},
-- interval = 2 * time_factor,