diff --git a/building.lua b/building.lua index fe81106..9b00ec1 100644 --- a/building.lua +++ b/building.lua @@ -2,7 +2,7 @@ minetest.register_node("darkage:glass", { description = "Medieval Glass", drawtype = "glasslike", tiles = {"darkage_glass.png"}, - inventory_image = minetest.inventorycube("darkage_glass.png"), + use_texture_alpha=true, paramtype = "light", sunlight_propagates = true, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, @@ -13,10 +13,10 @@ minetest.register_node("darkage:glow_glass", { description = "Medieval Glow Glass", drawtype = "glasslike", tiles = {"darkage_glass.png"}, - inventory_image = minetest.inventorycube("darkage_glass.png"), + use_texture_alpha=true, paramtype = "light", - light_source = 18, sunlight_propagates = true, + light_source = default.LIGHT_MAX-1, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, sounds = default.node_sound_glass_defaults(), }) diff --git a/textures/darkage_glass.png b/textures/darkage_glass.png index 65d87be..be353de 100644 Binary files a/textures/darkage_glass.png and b/textures/darkage_glass.png differ