Skip to content

Commit

Permalink
Remove "grass under snow" from default:dirt_with_snow in darkness.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sofar authored and paramat committed Apr 16, 2016
1 parent a2d4e57 commit 64fe69f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mods/default/functions.lua
Expand Up @@ -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,
Expand Down

0 comments on commit 64fe69f

Please sign in to comment.