1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

Water lakes are now delivered without grass!

- Water removes grass, pebbles and flowers under it
This commit is contained in:
LeMagnesium 2014-12-18 21:00:50 +01:00
parent b185b9a61f
commit 283530ad6f

View File

@ -14,6 +14,17 @@ highlandpools = {}
-- Functions -- Functions
minetest.register_abm({
nodenames = {"default:grass_1","default:grass_2","default:grass_3","default:grass_4",
"default:grass_5","default:grass_6","default:grass_7","default:grass_8",
"cavestuff:pebble_2","group:flowers"},
interval = 1,
chance = 1,
action = function(pos)
minetest.remove_node(pos)
end,
})
function highlandpools_remtree(x, y, z, area, data) function highlandpools_remtree(x, y, z, area, data)
local c_tree = minetest.get_content_id("default:tree") local c_tree = minetest.get_content_id("default:tree")
local c_apple = minetest.get_content_id("default:apple") local c_apple = minetest.get_content_id("default:apple")