--
--- Grass growing
+-- Grass growing on well-lit dirt
--
minetest.register_abm({
end
})
+
+--
+-- Grass and dry grass removed in darkness
+--
+
minetest.register_abm({
nodenames = {"default:dirt_with_grass", "default:dirt_with_dry_grass"},
interval = 2,
end
})
+
+--
+-- Moss growth on cobble near water
+--
+
+minetest.register_abm({
+ nodenames = {"default:cobble"},
+ neighbors = {"group:water"},
+ interval = 17,
+ chance = 200,
+ catch_up = false,
+ action = function(pos, node)
+ minetest.set_node(pos, {name = "default:mossycobble"})
+ end
+})