Default/functions: Tune speed of grass spread ABM
authorparamat <mat.gregory@virginmedia.com>
Wed, 5 Oct 2016 20:07:05 +0000 (21:07 +0100)
committerparamat <mat.gregory@virginmedia.com>
Wed, 5 Oct 2016 21:24:02 +0000 (22:24 +0100)
Through testing the chance is changed to 50 such that grass spread
speed matches that of the previous (0.4.13) ABM version.

mods/default/functions.lua

index 901dd93429bea2e1e021af4f8570b9fa1bbbb6b2..7770feb0c564156ff1a9b30447ee29facb102ec4 100644 (file)
@@ -354,7 +354,7 @@ minetest.register_abm({
                "default:snow",
        },
        interval = 6,
-       chance = 67,
+       chance = 50,
        catch_up = false,
        action = function(pos, node)
                -- Check for darkness: night, shadow or under a light-blocking node