Add new door

This commit is contained in:
jp 2014-11-07 13:39:48 +01:00
parent 9ee9262a54
commit 76350ac642
14 changed files with 27 additions and 1 deletions

View File

@ -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 -- washer and dryer
minetest.register_craft( { minetest.register_craft( {

View File

@ -361,5 +361,20 @@ homedecor.door_models = {
{{ -8/16, -8/16, 6/16, 8/16, 8/16, 8/16 }} {{ -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 }}
},
} }

View File

@ -157,7 +157,7 @@ for i in ipairs(sides) do
local nodeboxes_top = homedecor.door_models[j][5] local nodeboxes_top = homedecor.door_models[j][5]
local nodeboxes_bottom = homedecor.door_models[j][6] local nodeboxes_bottom = homedecor.door_models[j][6]
local texalpha = false local texalpha = false
if doorname == "exterior_fancy" then if doorname == "exterior_fancy" or "woodglass" or "woodglass2" then
texalpha = true texalpha = true
end end

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 661 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 736 B

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 735 B

After

Width:  |  Height:  |  Size: 648 B