diff --git a/crafts.lua b/crafts.lua index 89f19b0..fe9438b 100644 --- a/crafts.lua +++ b/crafts.lua @@ -214,6 +214,15 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "xdecor:lightbox", + recipe = { + {"group:stick", "default:torch", "group:stick"}, + {"group:stick", "default:glass", "group:stick"}, + {"group:stick", "default:torch", "group:stick"} + } +}) + minetest.register_craft({ output = "xdecor:mailbox", recipe = { diff --git a/nodes.lua b/nodes.lua index c52df7b..7f07d24 100644 --- a/nodes.lua +++ b/nodes.lua @@ -381,6 +381,14 @@ xdecor.register("lantern", { } }) +xdecor.register("lightbox", { + description = "Light Box", + tiles = {"xdecor_lightbox.png"}, + groups = {cracky=3}, + light_source = 13, + sounds = xdecor.glass +}) + local flowerstype = { "dandelion_white", "dandelion_yellow", "geranium", "rose", "tulip", "viola" } diff --git a/textures/xdecor_lightbox.png b/textures/xdecor_lightbox.png new file mode 100644 index 0000000..a8ceeb5 Binary files /dev/null and b/textures/xdecor_lightbox.png differ