From 64fe69f3823a3785c809e2e0a86d2e4e53134627 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Sun, 3 Apr 2016 19:52:27 -0700 Subject: [PATCH] Remove "grass under snow" from default:dirt_with_snow in darkness. This is technically "dirt with grass" that's just under a snow cover, so in darkness the grass on these nodes will also die, turning it into dirt. This doesn't convert dirt_with_snow under snow. --- mods/default/functions.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mods/default/functions.lua b/mods/default/functions.lua index dc46726a..bd55d32f 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -384,7 +384,11 @@ minetest.register_abm({ -- minetest.register_abm({ - nodenames = {"default:dirt_with_grass", "default:dirt_with_dry_grass"}, + nodenames = { + "default:dirt_with_grass", + "default:dirt_with_dry_grass", + "default:dirt_with_snow", + }, interval = 8, chance = 50, catch_up = false, -- 2.25.1