make living logs and saplings fall down.
add alive logs and saplings to the `faling_node` group.
This commit is contained in:
parent
40ff6896f2
commit
8584d0ac3e
1 changed files with 2 additions and 0 deletions
|
@ -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", {
|
||||||
|
|
Loading…
Reference in a new issue