From 283530ad6ff3869b66808e5da7d46a10135c023c Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Thu, 18 Dec 2014 21:00:50 +0100 Subject: [PATCH] Water lakes are now delivered without grass! - Water removes grass, pebbles and flowers under it --- minetestforfun_game/mods/highlandpools/init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/minetestforfun_game/mods/highlandpools/init.lua b/minetestforfun_game/mods/highlandpools/init.lua index ba7c41e5..369fa80d 100644 --- a/minetestforfun_game/mods/highlandpools/init.lua +++ b/minetestforfun_game/mods/highlandpools/init.lua @@ -14,6 +14,17 @@ highlandpools = {} -- 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) local c_tree = minetest.get_content_id("default:tree") local c_apple = minetest.get_content_id("default:apple")