From 1ef3759ae6dc091487fc483fef8034549cc8192d Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Tue, 17 Oct 2023 10:15:13 +0200 Subject: [PATCH] tweak to leaves decomposition. leaves will now start decomposing if they're touching either a dirty node, or already decomposing leaves. --- mods/bg_tree/decompose.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/bg_tree/decompose.lua b/mods/bg_tree/decompose.lua index f7e7e2c..dbb1de8 100644 --- a/mods/bg_tree/decompose.lua +++ b/mods/bg_tree/decompose.lua @@ -13,7 +13,7 @@ blockgame.register_increasing_abm({ id = modname .. ":begin_decompose", label = "decompose leaves", nodenames = {leaves}, - neighbors = {"group:dirty"}, + neighbors = {"group:dirty", leaves_decomposing}, interval = 15, chance = 4, rate = function (pos, node, data)