From 872a3ca47aaf2168b3339c109fb957750b729230 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Sat, 9 Mar 2024 02:16:22 +0100 Subject: [PATCH] is_ground_content revision default minetest game treats fruit as ground content, let's mirror that. --- cocos_palm.lua | 1 + date_palm.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/cocos_palm.lua b/cocos_palm.lua index 83fbbe9..610b51a 100644 --- a/cocos_palm.lua +++ b/cocos_palm.lua @@ -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", diff --git a/date_palm.lua b/date_palm.lua index dfc8aaa..e514c58 100644 --- a/date_palm.lua +++ b/date_palm.lua @@ -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",