From: Auke Kok Date: Mon, 4 Apr 2016 02:52:27 +0000 (-0700) Subject: Remove "grass under snow" from default:dirt_with_snow in darkness. X-Git-Tag: 0.4.14~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=64fe69f3823a3785c809e2e0a86d2e4e53134627;p=oweals%2Fminetest_game.git 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. --- 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,