Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --
- -- Water and lava activation
- --
- minetest.register_abm({
- nodenames = {"default:water_flowing"},
- neighbors = {"air"},
- interval = 8,
- chance = 256,
- catch_up = false,
- action = function(pos, node)
- minetest.place_node(pos, {name = node.name})
- end
- })
- minetest.register_abm({
- nodenames = {"default:river_water_flowing"},
- neighbors = {"air"},
- interval = 8,
- chance = 256,
- catch_up = false,
- action = function(pos, node)
- minetest.place_node(pos, {name = node.name})
- end
- })
- minetest.register_abm({
- nodenames = {"default:lava_flowing"},
- neighbors = {"air"},
- interval = 8,
- chance = 256,
- catch_up = false,
- action = function(pos, node)
- minetest.place_node(pos, {name = node.name})
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement