wood frame window
This commit is contained in:
parent
a11e41bd75
commit
c6a7bbb0ac
@ -603,4 +603,15 @@ minetest.register_node("decoblocks:bone_pillar", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
|
||||||
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(),
|
||||||
})
|
})
|
BIN
mods/decoblocks/textures/decoblocks_framed_glass.png
Normal file
BIN
mods/decoblocks/textures/decoblocks_framed_glass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 456 B |
BIN
mods/decoblocks/textures/decoblocks_framed_glass_detail.png
Normal file
BIN
mods/decoblocks/textures/decoblocks_framed_glass_detail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 193 B |
@ -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"},
|
||||||
|
BIN
mods/xpanes/textures/xpanes_wood_frame_half.png
Normal file
BIN
mods/xpanes/textures/xpanes_wood_frame_half.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 508 B |
BIN
mods/xpanes/textures/xpanes_wood_frame_half_top.png
Normal file
BIN
mods/xpanes/textures/xpanes_wood_frame_half_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 791 B |
Loading…
x
Reference in New Issue
Block a user