increase decomposition temporal resolution.

make decomposition ABM:s happen more often. also decrease their chance
of happening, so that the overall balance isn't affected.
This commit is contained in:
trans_soup 2023-10-19 16:51:14 +02:00
parent e42407978d
commit 123d3329cd
1 changed files with 4 additions and 4 deletions

View File

@ -46,8 +46,8 @@ blockgame.register_increasing_abm({
label = "decompose leaves",
nodenames = {leaves},
neighbors = {"group:dirty", leaves_decomposing},
interval = 30,
chance = 4,
interval = 15,
chance = 8,
rate = function (pos, node, data)
local score = blockgame.score_nearby_nodes(pos, 2, decompose_scores, function (gain, distance)
return math.floor(gain / (distance ^ 3))
@ -74,8 +74,8 @@ blockgame.register_increasing_abm({
label = "decompose leaves",
nodenames = {"group:leaves_decomposing"},
-- neighbors = {"group:dirty", "group:leaves_decomposing"},
interval = 30,
chance = 5,
interval = 15,
chance = 10,
rate = function (pos, node, data)
local score = 20