Skip to content

Commit

Permalink
Is ground content (#3)
Browse files Browse the repository at this point in the history
* trunks aren't ground content

* leaves aren't ground content
  • Loading branch information
SwissalpS committed Mar 2, 2024
1 parent 774cf26 commit 9f7f2e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions leaves.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ minetest.register_node("redwood:redwood_leaves", {
paramtype = "light",
walkable = false,
waving = 1,
is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
drop = {
max_items = 1,
Expand Down
1 change: 1 addition & 0 deletions wood.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ minetest.register_node("redwood:redwood_trunk", {
"redwood_trunk_top.png",
"redwood_trunk.png"
},
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
Expand Down

0 comments on commit 9f7f2e3

Please sign in to comment.