make living logs and saplings fall down.

add alive logs and saplings to the `faling_node` group.
This commit is contained in:
trans_soup 2023-10-21 10:19:16 +02:00
parent 40ff6896f2
commit 8584d0ac3e

View file

@ -15,6 +15,7 @@ local function reg_log (name, def)
def.groups = blockgame.underride(def.groups, { def.groups = blockgame.underride(def.groups, {
woody = 1, woody = 1,
supports_leaves = 1, supports_leaves = 1,
falling_node = 1,
}) })
blockgame.register_node(name, def) blockgame.register_node(name, def)
@ -23,6 +24,7 @@ end
reg_log("log", { reg_log("log", {
groups = { groups = {
supports_leaves = 0, supports_leaves = 0,
falling_node = 0,
}, },
}) })
reg_log("log_alive", { reg_log("log_alive", {