Cooperate with Ramoid.
This commit is contained in:
parent
2186b24632
commit
f1f0abcc16
3 changed files with 32 additions and 4 deletions
20
abms.lua
20
abms.lua
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue