diff --git a/nodes.lua b/nodes.lua index b6dacca..772598d 100644 --- a/nodes.lua +++ b/nodes.lua @@ -17,7 +17,7 @@ for i in ipairs(glass_list) do description = description.." Glass", tiles = {"abriglass_plainglass.png^[colorize:#"..colour..":122"}, groups = {cracky = 3}, - use_texture_alpha = true, + use_texture_alpha = "blend", sunlight_propagates = true, light_source = 4, drawtype = "glasslike", @@ -32,7 +32,7 @@ minetest.register_node("abriglass:clear_glass", { description = "Clear Glass", tiles = {"abriglass_clearglass.png"}, groups = {cracky = 3}, - use_texture_alpha = true, + use_texture_alpha = "blend", sunlight_propagates = true, paramtype = "light", drawtype = "glasslike", @@ -57,7 +57,7 @@ for i in ipairs(light_list) do description = description.. "Glass Light", tiles = {"abriglass_" ..image.. ".png"}, groups = {cracky = 3}, - use_texture_alpha = true, + use_texture_alpha = "blend", sunlight_propagates = true, light_source = 14, drawtype = "glasslike", @@ -87,7 +87,7 @@ for i in ipairs(pattern_list) do description = description, tiles = {"abriglass_"..image..".png"}, groups = {cracky = 3}, - use_texture_alpha = true, + use_texture_alpha = "blend", sunlight_propagates = true, light_source = 5, drawtype = "glasslike", @@ -194,7 +194,7 @@ minetest.register_node("abriglass:ghost_crystal", { tiles = {"abriglass_ghost_crystal.png"}, wield_image = "abriglass_ghost_crystal_wield.png", groups = {cracky = 3}, - use_texture_alpha = true, + use_texture_alpha = "blend", sunlight_propagates = true, light_source = 14, drawtype = "glasslike", @@ -208,7 +208,7 @@ minetest.register_node("abriglass:hidden_light", { description = "Hidden Light", tiles = {"abriglass_oneway_plain_glass.png"}, groups = {cracky = 3, not_in_creative_inventory=1}, - use_texture_alpha = true, + use_texture_alpha = "blend", sunlight_propagates = true, walkable = false, light_source = 7,