From 3fa17f8b6829da863e5e3ff4f2741d3bd6c0d49b Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Thu, 19 Oct 2023 17:14:39 +0200 Subject: [PATCH] make decomposition require dirty nodes nearby. decomposition will no longer happen unless the decomposing leaves are touching a dirty node. thus, they can now be used for decoration in non-dirty locations. --- 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 13dcac0..850655d 100644 --- a/mods/bg_tree/decompose.lua +++ b/mods/bg_tree/decompose.lua @@ -73,7 +73,7 @@ blockgame.register_increasing_abm({ id = modname .. ":decompose", label = "decompose leaves", nodenames = {"group:leaves_decomposing"}, - -- neighbors = {"group:dirty", "group:leaves_decomposing"}, + neighbors = {"group:dirty"}, interval = 15, chance = 10, rate = function (pos, node, data)