diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index b40fc7cf..bb161f0b 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -21,6 +21,15 @@ minetest.register_node("homedecor:glowlight_half", { "homedecor_glowlight_thick_sides.png", "homedecor_glowlight_thick_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_top_overlay.png", color = "white"}, + "", + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, drawtype = "nodebox", paramtype = "light", paramtype2 = "colorwallmounted", @@ -52,6 +61,15 @@ minetest.register_node("homedecor:glowlight_quarter", { "homedecor_glowlight_thin_sides.png", "homedecor_glowlight_thin_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_top_overlay.png", color = "white"}, + "", + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, drawtype = "nodebox", paramtype = "light", paramtype2 = "colorwallmounted", @@ -83,6 +101,15 @@ minetest.register_node("homedecor:glowlight_small_cube", { "homedecor_glowlight_cube_sides.png", "homedecor_glowlight_cube_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_cube_tb_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_tb_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, paramtype = "light", paramtype2 = "colorwallmounted", drawtype = "nodebox", diff --git a/homedecor/textures/homedecor_glowlight_cube_sides.png b/homedecor/textures/homedecor_glowlight_cube_sides.png index 06182d05..31ba821b 100644 Binary files a/homedecor/textures/homedecor_glowlight_cube_sides.png and b/homedecor/textures/homedecor_glowlight_cube_sides.png differ diff --git a/homedecor/textures/homedecor_glowlight_cube_sides_ceiling.png b/homedecor/textures/homedecor_glowlight_cube_sides_ceiling.png deleted file mode 100644 index 0f2fb3df..00000000 Binary files a/homedecor/textures/homedecor_glowlight_cube_sides_ceiling.png and /dev/null differ diff --git a/homedecor/textures/homedecor_glowlight_cube_sides_overlay.png b/homedecor/textures/homedecor_glowlight_cube_sides_overlay.png new file mode 100644 index 00000000..4db58674 Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_cube_sides_overlay.png differ diff --git a/homedecor/textures/homedecor_glowlight_cube_tb.png b/homedecor/textures/homedecor_glowlight_cube_tb.png index d5f0615d..c415202c 100644 Binary files a/homedecor/textures/homedecor_glowlight_cube_tb.png and b/homedecor/textures/homedecor_glowlight_cube_tb.png differ diff --git a/homedecor/textures/homedecor_glowlight_cube_tb_overlay.png b/homedecor/textures/homedecor_glowlight_cube_tb_overlay.png new file mode 100644 index 00000000..c5b9d9e7 Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_cube_tb_overlay.png differ diff --git a/homedecor/textures/homedecor_glowlight_thick_sides.png b/homedecor/textures/homedecor_glowlight_thick_sides.png index 81a95184..bae01085 100644 Binary files a/homedecor/textures/homedecor_glowlight_thick_sides.png and b/homedecor/textures/homedecor_glowlight_thick_sides.png differ diff --git a/homedecor/textures/homedecor_glowlight_thick_sides_overlay.png b/homedecor/textures/homedecor_glowlight_thick_sides_overlay.png new file mode 100644 index 00000000..f22551cf Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_thick_sides_overlay.png differ diff --git a/homedecor/textures/homedecor_glowlight_thin_sides.png b/homedecor/textures/homedecor_glowlight_thin_sides.png index 8c1dd69e..51832b54 100644 Binary files a/homedecor/textures/homedecor_glowlight_thin_sides.png and b/homedecor/textures/homedecor_glowlight_thin_sides.png differ diff --git a/homedecor/textures/homedecor_glowlight_thin_sides_overlay.png b/homedecor/textures/homedecor_glowlight_thin_sides_overlay.png new file mode 100644 index 00000000..8fedb2c8 Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_thin_sides_overlay.png differ diff --git a/homedecor/textures/homedecor_glowlight_top.png b/homedecor/textures/homedecor_glowlight_top.png index 3a06edb7..70518e79 100644 Binary files a/homedecor/textures/homedecor_glowlight_top.png and b/homedecor/textures/homedecor_glowlight_top.png differ diff --git a/homedecor/textures/homedecor_glowlight_top_overlay.png b/homedecor/textures/homedecor_glowlight_top_overlay.png new file mode 100644 index 00000000..ec27d4a9 Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_top_overlay.png differ