1 Commits

Author SHA1 Message Date
689a17a80e fix sunlight propagation in transparent mesh3 2025-05-16 07:55:59 +02:00
3 changed files with 4 additions and 4 deletions

View File

@ -48,6 +48,4 @@ end
if minetest.get_modpath("mtt") and mtt.enabled then
dofile(MP .. "/mtt.lua")
end
minetest.log("action", "[scifi_nodes] loaded.")
end

View File

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

View File

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