is_ground_content revision (#36)

default minetest game treats fruit as ground content, let's mirror that.
This commit is contained in:
Luke aka SwissalpS 2024-03-09 02:53:42 +01:00 committed by GitHub
parent 9a6c64d163
commit 670f7f4e61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

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

View File

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