diff --git a/homedecor/misc_nodes.lua b/homedecor/misc_nodes.lua index 43e20782..8735fe2b 100644 --- a/homedecor/misc_nodes.lua +++ b/homedecor/misc_nodes.lua @@ -586,3 +586,34 @@ minetest.register_node('homedecor:filing_cabinet', { )) end, }) + +minetest.register_node("homedecor:dishwasher", { + description = "Dishwasher", + drawtype = "nodebox", + tiles = { + "homedecor_dishwasher_top.png", + "homedecor_dishwasher_bottom.png", + "homedecor_dishwasher_sides.png", + "homedecor_dishwasher_sides.png^[transformFX", + "homedecor_dishwasher_back.png", + "homedecor_dishwasher_front.png" + }, + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, + {-0.5, -0.5, -0.5, 0.5, 0.5, -0.4375}, + {-0.5, -0.5, -0.5, 0.5, 0.1875, 0.1875}, + {-0.4375, -0.5, -0.5, 0.4375, 0.4375, 0.4375}, + } + }, + selection_box = { + type = "fixed", + fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 } + }, + groups = { snappy = 3 }, +}) + + diff --git a/homedecor/textures/homedecor_dishwasher_back.png b/homedecor/textures/homedecor_dishwasher_back.png new file mode 100644 index 00000000..fef65dd1 Binary files /dev/null and b/homedecor/textures/homedecor_dishwasher_back.png differ diff --git a/homedecor/textures/homedecor_dishwasher_bottom.png b/homedecor/textures/homedecor_dishwasher_bottom.png new file mode 100644 index 00000000..1e353511 Binary files /dev/null and b/homedecor/textures/homedecor_dishwasher_bottom.png differ diff --git a/homedecor/textures/homedecor_dishwasher_front.png b/homedecor/textures/homedecor_dishwasher_front.png new file mode 100644 index 00000000..bbd942a1 Binary files /dev/null and b/homedecor/textures/homedecor_dishwasher_front.png differ diff --git a/homedecor/textures/homedecor_dishwasher_sides.png b/homedecor/textures/homedecor_dishwasher_sides.png new file mode 100644 index 00000000..ae689750 Binary files /dev/null and b/homedecor/textures/homedecor_dishwasher_sides.png differ diff --git a/homedecor/textures/homedecor_dishwasher_top.png b/homedecor/textures/homedecor_dishwasher_top.png new file mode 100644 index 00000000..57f6b144 Binary files /dev/null and b/homedecor/textures/homedecor_dishwasher_top.png differ