Stone Generator

This commit is contained in:
jojoa1997 2013-03-06 11:23:40 -05:00
parent 90aaa1fb62
commit 17aa43a064
1 changed files with 11 additions and 0 deletions

View File

@ -1712,6 +1712,17 @@ function default.register_falling_node(nodename, texture)
end
end
--ABMs
minetest.register_abm({
nodenames = {"default:lava_flowing"},
neighbors = {"default:water_flowing"},
interval = 2,
chance = 1,
action = function(pos)
miinetest.env:add_node(pos, {name = "default:stone"})
end,
})
--
-- Global callbacks
--