From 689a17a80ea3a6b1c357cc27e814977048b2a7fd Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Fri, 16 May 2025 07:55:59 +0200 Subject: [PATCH] fix sunlight propagation in transparent `mesh3` --- nodes.json | 3 ++- nodes.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nodes.json b/nodes.json index 5146d32..b9075ec 100644 --- a/nodes.json +++ b/nodes.json @@ -122,7 +122,8 @@ "description": "transparent metal floormesh", "texture_name": "mesh", "texture_modifier": "^[contrast:10:-50^[makealpha:0,0,0", - "drawtype": "glasslike" + "drawtype": "glasslike", + "sunlight_propagates": true }, "pipe": { "description": "wall pipe" diff --git a/nodes.lua b/nodes.lua index 6b5b791..5d474a2 100644 --- a/nodes.lua +++ b/nodes.lua @@ -520,6 +520,7 @@ for name, def in pairs(nodes) do local node_def = { description = def.description, drawtype = def.drawtype or "normal", + sunlight_propagates = def.sunlight_propagates, tiles = tiles, groups = {cracky=1, dig_generic = 3}, is_ground_content = false,