Skip to content

Commit

Permalink
is_ground_content revision (#36)
Browse files Browse the repository at this point in the history
default minetest game treats fruit as ground content, let's mirror that.
  • Loading branch information
SwissalpS authored Mar 9, 2024
1 parent 9a6c64d commit 670f7f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cocos_palm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ for _,suffix in ipairs({"_0", "_1", "_2", "_3", ""}) do
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
groups = { fleshy=3, dig_immediate=3, flammable=2, moretrees_coconut=coco_group },
inventory_image = tile.."^[transformR180",
wield_image = tile.."^[transformR180",
Expand Down
1 change: 1 addition & 0 deletions date_palm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ for _,suffix in ipairs({"f0", "f1", "f2", "f3", "f4", "m0", "fn", "n"}) do
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
groups = { fleshy=3, dig_immediate=3, flammable=2, moretrees_dates=1 },
inventory_image = "moretrees_dates_"..suffix..".png^[transformR0",
wield_image = "moretrees_dates_"..suffix..".png^[transformR90",
Expand Down

0 comments on commit 670f7f4

Please sign in to comment.