make some leaves non-walkable.

make leaves and decomposing_leaves non-walkable, and make them support
falling nodes.
This commit is contained in:
trans_soup 2023-10-19 14:14:05 +02:00
parent 6bb71aa341
commit a4f121ac24

View file

@ -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