From 670f7f4e6165b4c92e407a44b1e27c8ae55bfabe Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Sat, 9 Mar 2024 02:53:42 +0100 Subject: [PATCH] is_ground_content revision (#36) 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",