tweak to leaves decomposition.

leaves will now start decomposing if they're touching either a dirty
node, or already decomposing leaves.
This commit is contained in:
trans_soup 2023-10-17 10:15:13 +02:00
parent 8dccef9389
commit 1ef3759ae6

View file

@ -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)