diff --git a/homedecor/misc_nodes.lua b/homedecor/misc_nodes.lua index 43e2078..8735fe2 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 0000000..fef65dd 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 0000000..1e35351 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 0000000..bbd942a 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 0000000..ae68975 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 0000000..57f6b14 Binary files /dev/null and b/homedecor/textures/homedecor_dishwasher_top.png differ