diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index 23ee48c0..575b0999 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -1853,6 +1853,17 @@ minetest.register_craft( { }, }) +-- woodglass door type 2 + +minetest.register_craft( { + output = "homedecor:door_woodglass2_bottom_left", + recipe = { + { "default:glass", "default:glass", "" }, + { "default:wood", "default:wood", "default:iron_lump" }, + { "default:wood", "default:wood", "" }, + }, +}) + -- washer and dryer minetest.register_craft( { diff --git a/homedecor/door_models.lua b/homedecor/door_models.lua index 32dce9c3..5315df09 100644 --- a/homedecor/door_models.lua +++ b/homedecor/door_models.lua @@ -361,5 +361,20 @@ homedecor.door_models = { {{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }} }, +--------- + + { + "woodglass2", + S("Woodglass door type2"), + + {{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }}, + + {{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }}, + + {{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }}, + + {{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }} + }, + } diff --git a/homedecor/doors_and_gates.lua b/homedecor/doors_and_gates.lua index 4de2164e..3971422d 100644 --- a/homedecor/doors_and_gates.lua +++ b/homedecor/doors_and_gates.lua @@ -157,7 +157,7 @@ for i in ipairs(sides) do local nodeboxes_top = homedecor.door_models[j][5] local nodeboxes_bottom = homedecor.door_models[j][6] local texalpha = false - if doorname == "exterior_fancy" then + if doorname == "exterior_fancy" or "woodglass" or "woodglass2" then texalpha = true end diff --git a/homedecor/textures/homedecor_door_woodglass2_left_bottom.png b/homedecor/textures/homedecor_door_woodglass2_left_bottom.png new file mode 100644 index 00000000..a8b9258f Binary files /dev/null and b/homedecor/textures/homedecor_door_woodglass2_left_bottom.png differ diff --git a/homedecor/textures/homedecor_door_woodglass2_left_inv.png b/homedecor/textures/homedecor_door_woodglass2_left_inv.png new file mode 100644 index 00000000..4b6f7381 Binary files /dev/null and b/homedecor/textures/homedecor_door_woodglass2_left_inv.png differ diff --git a/homedecor/textures/homedecor_door_woodglass2_left_top.png b/homedecor/textures/homedecor_door_woodglass2_left_top.png new file mode 100644 index 00000000..1d4a927e Binary files /dev/null and b/homedecor/textures/homedecor_door_woodglass2_left_top.png differ diff --git a/homedecor/textures/homedecor_door_woodglass2_lrb.png b/homedecor/textures/homedecor_door_woodglass2_lrb.png new file mode 100644 index 00000000..e1289d60 Binary files /dev/null and b/homedecor/textures/homedecor_door_woodglass2_lrb.png differ diff --git a/homedecor/textures/homedecor_door_woodglass2_lrt.png b/homedecor/textures/homedecor_door_woodglass2_lrt.png new file mode 100644 index 00000000..08bf59aa Binary files /dev/null and b/homedecor/textures/homedecor_door_woodglass2_lrt.png differ diff --git a/homedecor/textures/homedecor_door_woodglass2_right_bottom.png b/homedecor/textures/homedecor_door_woodglass2_right_bottom.png new file mode 100644 index 00000000..cd612acc Binary files /dev/null and b/homedecor/textures/homedecor_door_woodglass2_right_bottom.png differ diff --git a/homedecor/textures/homedecor_door_woodglass2_right_top.png b/homedecor/textures/homedecor_door_woodglass2_right_top.png new file mode 100644 index 00000000..0b0b9811 Binary files /dev/null and b/homedecor/textures/homedecor_door_woodglass2_right_top.png differ diff --git a/homedecor/textures/homedecor_door_woodglass2_tb.png b/homedecor/textures/homedecor_door_woodglass2_tb.png new file mode 100644 index 00000000..547d830d Binary files /dev/null and b/homedecor/textures/homedecor_door_woodglass2_tb.png differ diff --git a/homedecor/textures/homedecor_door_woodglass_left_inv.png b/homedecor/textures/homedecor_door_woodglass_left_inv.png index 15a97978..df93069b 100644 Binary files a/homedecor/textures/homedecor_door_woodglass_left_inv.png and b/homedecor/textures/homedecor_door_woodglass_left_inv.png differ diff --git a/homedecor/textures/homedecor_door_woodglass_left_top.png b/homedecor/textures/homedecor_door_woodglass_left_top.png index f0ec43be..b9c8a18c 100644 Binary files a/homedecor/textures/homedecor_door_woodglass_left_top.png and b/homedecor/textures/homedecor_door_woodglass_left_top.png differ diff --git a/homedecor/textures/homedecor_door_woodglass_right_top.png b/homedecor/textures/homedecor_door_woodglass_right_top.png index a010ea2c..3591e02c 100644 Binary files a/homedecor/textures/homedecor_door_woodglass_right_top.png and b/homedecor/textures/homedecor_door_woodglass_right_top.png differ