wood frame window

This commit is contained in:
Toby plowy 2017-02-04 01:03:00 +01:00
parent a11e41bd75
commit c6a7bbb0ac
6 changed files with 24 additions and 0 deletions

View File

@ -604,3 +604,14 @@ minetest.register_node("decoblocks:bone_pillar", {
on_place = minetest.rotate_node on_place = minetest.rotate_node
}) })
minetest.register_node("decoblocks:framed_glass", {
description = "Glass With Wooden Frame",
drawtype = "glasslike",
tiles = {"decoblocks_framed_glass.png", "decoblocks_framed_glass_detail.png"},
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = default.node_sound_glass_defaults(),
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

View File

@ -158,6 +158,19 @@ xpanes.register_pane("pane", {
} }
}) })
xpanes.register_pane("framed_pane", {
description = "Glass Pane With Wood Frame",
textures = {"decoblocks_framed_glass.png","xpanes_wood_frame_half.png","xpanes_wood_frame_half_top.png"},
inventory_image = "decoblocks_framed_glass.png",
wield_image = "decoblocks_framed_glass.png",
sounds = default.node_sound_glass_defaults(),
groups = {snappy=2, cracky=3, oddly_breakable_by_hand=3},
recipe = {
{"default:glass", "default:glass", "default:glass"},
{"default:glass", "default:glass", "default:glass"}
}
})
xpanes.register_pane("bar", { xpanes.register_pane("bar", {
description = "Iron bar", description = "Iron bar",
textures = {"xpanes_bar.png","xpanes_bar.png","xpanes_bar_top.png"}, textures = {"xpanes_bar.png","xpanes_bar.png","xpanes_bar_top.png"},

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B