minor tree growth changes.

make trees grow further before dying.
This commit is contained in:
trans_soup 2023-10-12 11:11:24 +02:00
parent 91807870fe
commit 9133c0d5c4

View file

@ -96,7 +96,7 @@ minetest.register_abm({
if blockgame.chance(4) then
minetest.set_node(pos, {name = log_alive})
if minetest.get_node(below).name == log_alive and blockgame.chance(2) then return end
if minetest.get_node(below).name == log_alive and blockgame.chance(4) then return end
blockgame.attempt_place(pos + vector.new(0, 1, 0), {name = modname .. ":sapling"})
end