diff --git a/homedecor/misc_nodes.lua b/homedecor/misc_nodes.lua index f398f42b..15d9284f 100644 --- a/homedecor/misc_nodes.lua +++ b/homedecor/misc_nodes.lua @@ -361,3 +361,30 @@ for _, color in ipairs(welcome_mat_colors) do } }) end + +minetest.register_node("homedecor:chimney", { + drawtype = "nodebox", + paramtype = "light", + description = "Chimney", + tiles = { + "homedecor_chimney_top.png", + "homedecor_chimney_bottom.png", + "homedecor_chimney_sides.png", + }, + node_box = { + type = "fixed", + fixed = { + {-0.25, -0.5, -0.25, 0.25, 0.5, -0.1875}, + {-0.25, -0.5, 0.1875, 0.25, 0.5, 0.25}, + {-0.25, -0.5, -0.25, -0.1875, 0.5, 0.25}, + {0.1875, -0.5, -0.25, 0.25, 0.5, 0.25}, + } + }, + selection_box = { + type = "fixed", + fixed = { -0.25, -0.5, -0.25, 0.25, 0.5, 0.25 } + }, + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults() +}) + diff --git a/homedecor/textures/homedecor_chimney_bottom.png b/homedecor/textures/homedecor_chimney_bottom.png new file mode 100644 index 00000000..71726f0a Binary files /dev/null and b/homedecor/textures/homedecor_chimney_bottom.png differ diff --git a/homedecor/textures/homedecor_chimney_sides.png b/homedecor/textures/homedecor_chimney_sides.png new file mode 100644 index 00000000..e5397a81 Binary files /dev/null and b/homedecor/textures/homedecor_chimney_sides.png differ diff --git a/homedecor/textures/homedecor_chimney_top.png b/homedecor/textures/homedecor_chimney_top.png new file mode 100644 index 00000000..ea512f7a Binary files /dev/null and b/homedecor/textures/homedecor_chimney_top.png differ