balance: tweak decomposition rate.
make leaves decompose bonuses from nearby nodes less powerful, and increase decomposition cost.
This commit is contained in:
parent
c3bff227aa
commit
584187957a
1 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ local decompose_scores = {
|
|||
leaves_decomposing = 30,
|
||||
}
|
||||
|
||||
local decompose_cost = 2000
|
||||
local decompose_cost = 30000
|
||||
|
||||
blockgame.register_increasing_abm({
|
||||
id = modname .. ":decompose",
|
||||
|
@ -40,7 +40,7 @@ blockgame.register_increasing_abm({
|
|||
nodenames = {"group:leaves_decomposing"},
|
||||
-- neighbors = {"group:dirty", "group:leaves_decomposing"},
|
||||
interval = 30,
|
||||
chance = 10,
|
||||
chance = 5,
|
||||
rate = function (pos, node, data)
|
||||
local score = 20
|
||||
|
||||
|
@ -58,7 +58,7 @@ blockgame.register_increasing_abm({
|
|||
end
|
||||
end
|
||||
|
||||
gain = math.floor(gain / distance)
|
||||
gain = math.floor(gain / (distance ^ 3))
|
||||
|
||||
if gain > 0 then
|
||||
score = score + gain
|
||||
|
|
Loading…
Reference in a new issue