diff --git a/crafts.lua b/crafts.lua index 63bc901..ce9c58c 100644 --- a/crafts.lua +++ b/crafts.lua @@ -123,6 +123,11 @@ minetest.register_craft({ output = "xdecor:workbench", recipe = { {"group:wood", "group:wood", "group:wood"}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, {"group:wood", "group:wood", "group:wood"} } }) + +minetest.register_craft({ output = "xdecor:woodframed_glass", recipe = { + {"group:stick", "group:stick", "group:stick"}, + {"group:stick", "default:glass", "group:stick"}, + {"group:stick", "group:stick", "group:stick"} } }) minetest.register_craft({ output = "xdecor:wood_tile 2", recipe = { {"group:wood", "group:wood"}, diff --git a/nodes.lua b/nodes.lua index 3e25b63..2490063 100644 --- a/nodes.lua +++ b/nodes.lua @@ -226,6 +226,11 @@ xdecor.register("tv", { "xdecor_television_back.png", {name="xdecor_television_front_animated.png", animation = {type="vertical_frames", length=80.0}}} }) + +xdecor.register("woodframed_glass", { + description = "Wood Framed Glass", drawtype = "glasslike_framed_optional", + tiles = {"xdecor_framed_glass.png", "xdecor_framed_glass_detail.png"}, + groups = {snappy=3}, sounds = default.node_sound_glass_defaults() }) xdecor.register("wood_tile", { description = "Wood Tile", tiles = {"xdecor_wood_tile.png"}, diff --git a/textures/xdecor_framed_glass.png b/textures/xdecor_framed_glass.png new file mode 100644 index 0000000..c2ce207 Binary files /dev/null and b/textures/xdecor_framed_glass.png differ diff --git a/textures/xdecor_framed_glass_detail.png b/textures/xdecor_framed_glass_detail.png new file mode 100644 index 0000000..341f8fe Binary files /dev/null and b/textures/xdecor_framed_glass_detail.png differ