make some leaves non-walkable.
make leaves and decomposing_leaves non-walkable, and make them support falling nodes.
This commit is contained in:
parent
6bb71aa341
commit
a4f121ac24
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,8 @@ local nutty_drops = {
|
|||
|
||||
reg_leaves("leaves", {
|
||||
description = "Leaves",
|
||||
walkable = false,
|
||||
supports_falling = true,
|
||||
})
|
||||
reg_leaves("leaves_growing", {
|
||||
description = "Growing Leaves",
|
||||
|
@ -114,6 +116,8 @@ local function reg_decomposing (level)
|
|||
groups = {
|
||||
leaves_decomposing = level,
|
||||
},
|
||||
walkable = false,
|
||||
supports_falling = true,
|
||||
})
|
||||
end
|
||||
for level=1, decomposing_leaves_layers do
|
||||
|
|
Loading…
Reference in a new issue