From 927a9f41557da66fe36665514912b89cf000063a Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 28 Apr 2015 15:29:49 -0400 Subject: [PATCH] add ironing board --- homedecor/crafts.lua | 11 +- homedecor/laundry.lua | 18 + homedecor/models/homedecor_ironing_board.obj | 416 +++++++++++++++++++ 3 files changed, 444 insertions(+), 1 deletion(-) create mode 100644 homedecor/models/homedecor_ironing_board.obj diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index 4b16b23a..89000424 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -1920,7 +1920,7 @@ minetest.register_craft( { }, }) --- washer and dryer +-- laundry stuff minetest.register_craft( { output = "homedecor:washing_machine", @@ -1958,6 +1958,15 @@ minetest.register_craft( { }, }) +minetest.register_craft( { + output = "homedecor:ironing_board", + recipe = { + { "wool:grey", "wool:grey", "wool:grey"}, + { "", "default:steel_ingot", "" }, + { "default:steel_ingot", "", "default:steel_ingot" } + }, +}) + -- dishwashers minetest.register_craft( { diff --git a/homedecor/laundry.lua b/homedecor/laundry.lua index 14780600..4a63d0eb 100644 --- a/homedecor/laundry.lua +++ b/homedecor/laundry.lua @@ -42,3 +42,21 @@ homedecor.register("dryer", { groups = { snappy = 3 }, }) +local ib_cbox = { + type = "fixed", + fixed = { -6/16, -8/16, -4/16, 17/16, 4/16, 4/16 } +} + +homedecor.register("ironing_board", { + description = "Ironing board", + mesh = "homedecor_ironing_board.obj", + tiles = { + "wool_grey.png", + "homedecor_generic_metal_neutral.png" + }, + expand = {right = "air"}, + groups = { snappy = 3 }, + selection_box = ib_cbox, + collision_box = ib_cbox +}) + diff --git a/homedecor/models/homedecor_ironing_board.obj b/homedecor/models/homedecor_ironing_board.obj new file mode 100644 index 00000000..f0cfc65b --- /dev/null +++ b/homedecor/models/homedecor_ironing_board.obj @@ -0,0 +1,416 @@ +# Blender v2.73 (sub 0) OBJ File: 'ironing-board.blend' +# www.blender.org +o Cylinder +v 0.374999 0.174383 0.163636 +v 0.374999 0.174383 -0.163636 +v -1.062499 0.196138 -0.044906 +v -1.062499 0.196138 0.044906 +v 0.374999 0.222563 0.163636 +v 0.374999 0.222563 -0.163636 +v -1.062499 0.227217 -0.044906 +v -1.062499 0.227217 0.044906 +v -0.343750 0.249057 -0.250000 +v -0.343750 0.159912 -0.250000 +v -0.343750 0.249057 0.250000 +v -0.343750 0.159912 0.250000 +v -0.703125 0.246033 -0.233163 +v -0.703125 0.169592 0.233163 +v -0.703125 0.169592 -0.233163 +v -0.703125 0.246033 0.233163 +v -0.882812 0.245498 -0.179983 +v -0.882812 0.175495 0.179983 +v -0.882812 0.175495 -0.179983 +v -0.882812 0.245498 0.179983 +v 0.263469 0.159912 -0.250000 +v 0.263469 0.237034 0.250000 +v 0.263469 0.237034 -0.250000 +v 0.263469 0.159912 0.250000 +v -0.588210 -0.500012 0.187500 +v -0.588210 -0.500012 0.125000 +v -0.523921 -0.500018 0.125000 +v -0.523921 -0.500018 0.187500 +v 0.107165 0.149523 0.187499 +v 0.107165 0.149523 0.125000 +v 0.136684 0.117038 0.125000 +v 0.136684 0.117038 0.187499 +v -0.588210 -0.500012 -0.125000 +v -0.588210 -0.500012 -0.187500 +v -0.523921 -0.500018 -0.187500 +v -0.523921 -0.500018 -0.125000 +v 0.107165 0.149523 -0.125001 +v 0.107165 0.149523 -0.187500 +v 0.136684 0.117038 -0.187500 +v 0.136684 0.117038 -0.125001 +v 0.031532 -0.499978 0.125000 +v 0.031532 -0.499978 0.062500 +v 0.095959 -0.500002 0.062500 +v 0.095959 -0.500002 0.125000 +v -0.649243 0.134847 0.124999 +v -0.649243 0.134847 0.062500 +v -0.618973 0.166525 0.062500 +v -0.618973 0.166525 0.124999 +v 0.031532 -0.499977 -0.062500 +v 0.031532 -0.499977 -0.125000 +v 0.095959 -0.500002 -0.125000 +v 0.095959 -0.500002 -0.062500 +v -0.649243 0.134847 -0.062501 +v -0.649243 0.134847 -0.125000 +v -0.618973 0.166525 -0.125000 +v -0.618973 0.166525 -0.062501 +v 0.139442 0.159900 -0.191406 +v 0.139442 0.159900 0.191406 +v 0.157508 0.128609 -0.191406 +v 0.157508 0.128609 0.191406 +v 0.139442 0.097318 -0.191406 +v 0.139442 0.097318 0.191406 +v 0.103310 0.097318 -0.191406 +v 0.103310 0.097318 0.191406 +v 0.085244 0.128609 -0.191406 +v 0.085244 0.128609 0.191406 +v 0.103310 0.159900 -0.191406 +v 0.103310 0.159900 0.191406 +v -0.610895 0.168085 -0.128906 +v -0.610895 0.168085 0.128906 +v -0.592829 0.136793 -0.128906 +v -0.592828 0.136793 0.128906 +v -0.610895 0.105502 -0.128906 +v -0.610895 0.105502 0.128906 +v -0.647027 0.105502 -0.128906 +v -0.647027 0.105502 0.128906 +v -0.665093 0.136793 -0.128906 +v -0.665093 0.136793 0.128906 +v -0.647027 0.168085 -0.128906 +v -0.647027 0.168085 0.128906 +v -0.239665 -0.199291 -0.062500 +v -0.239665 -0.199291 0.062500 +v -0.233227 -0.210486 -0.062500 +v -0.233227 -0.210486 0.062500 +v -0.239665 -0.221681 -0.062500 +v -0.239665 -0.221681 0.062500 +v -0.252541 -0.221681 -0.062500 +v -0.252541 -0.221681 0.062500 +v -0.258979 -0.210486 -0.062500 +v -0.258979 -0.210486 0.062500 +v -0.252541 -0.199291 -0.062500 +v -0.252541 -0.199291 0.062500 +v -0.608631 0.115297 0.121094 +v -0.608631 0.115297 0.089844 +v 0.104078 0.115297 0.089844 +v 0.104078 0.115297 0.121094 +v -0.608631 0.159912 0.121094 +v -0.608631 0.159912 0.089844 +v 0.104078 0.159912 0.089844 +v 0.104078 0.159912 0.121094 +v -0.608631 0.115297 -0.089844 +v -0.608631 0.115297 -0.121094 +v 0.104078 0.115297 -0.121094 +v 0.104078 0.115297 -0.089844 +v -0.608631 0.159912 -0.089844 +v -0.608631 0.159912 -0.121094 +v 0.104078 0.159912 -0.121094 +v 0.104078 0.159912 -0.089844 +vt 0.045334 0.576457 +vt 0.000000 0.576457 +vt 0.000000 0.268517 +vt 0.045334 0.268517 +vt 0.507220 0.080530 +vt 0.507220 0.014662 +vt 0.676293 0.034086 +vt 0.676293 0.063328 +vt 0.049713 0.744479 +vt 0.020470 0.744479 +vt 0.020470 0.659973 +vt 0.049713 0.659973 +vt 0.571351 0.988687 +vt 0.571351 0.916121 +vt 0.676293 0.929737 +vt 0.676293 0.975071 +vt 0.492781 0.404584 +vt 0.323708 0.277485 +vt 0.323708 0.192979 +vt 0.492781 0.065880 +vt 0.571351 0.529536 +vt 0.676293 0.610798 +vt 0.676293 0.918738 +vt 0.571351 1.000000 +vt 0.661854 0.545377 +vt 1.000000 0.529536 +vt 1.000000 1.000000 +vt 0.661854 0.984158 +vt 0.571351 0.470464 +vt 0.000000 0.470464 +vt 0.000000 0.000000 +vt 0.571351 0.000000 +vt 0.661854 0.997154 +vt 0.661854 0.925229 +vt 1.000000 0.916121 +vt 0.428648 0.072566 +vt 0.428648 0.000000 +vt 1.000000 0.000000 +vt 1.000000 0.083879 +vt 0.492781 0.996651 +vt 0.492781 0.930783 +vt 0.492781 0.595416 +vt 0.492781 0.934120 +vt 1.000000 0.470464 +vt 0.661854 0.454623 +vt 0.661854 0.015842 +vt 0.000000 0.083879 +vt 0.338147 0.009108 +vt 0.338147 0.081033 +vt 0.323708 0.722515 +vt 0.323708 0.807021 +vt 0.323708 0.979449 +vt 0.323708 0.950207 +vt 0.323706 0.058950 +vt 0.323706 0.013616 +vt 0.676293 0.389202 +vt 0.676293 0.081262 +vt 0.000000 0.529536 +vt 0.000000 1.000000 +vt -0.000000 0.916121 +vt 0.221619 0.000000 +vt 0.277023 0.000000 +vt 0.277024 0.854845 +vt 0.221619 0.854845 +vt 0.754588 0.868580 +vt 0.715681 0.868030 +vt 0.715682 0.042881 +vt 0.754588 0.000000 +vt 0.332429 0.000000 +vt 0.387833 0.000000 +vt 0.387833 0.812100 +vt 0.332428 0.812100 +vt 0.676773 0.868030 +vt 0.637865 0.868580 +vt 0.637867 0.000000 +vt 0.676773 0.042881 +vt 0.749799 0.868580 +vt 0.749799 0.925631 +vt 0.715681 0.925631 +vt 0.715681 0.868580 +vt 0.332428 0.854845 +vt 0.598957 0.000000 +vt 0.637865 0.000550 +vt 0.637865 0.825699 +vt 0.598959 0.868580 +vt 0.443237 0.000000 +vt 0.443238 0.812100 +vt 0.676773 0.868580 +vt 0.676775 0.000000 +vt 0.255737 0.854845 +vt 0.255737 0.911896 +vt 0.221619 0.911896 +vt 0.166214 0.000000 +vt 0.221619 0.836162 +vt 0.166214 0.836162 +vt 0.521189 0.000000 +vt 0.560027 0.000492 +vt 0.560027 0.892705 +vt 0.521098 0.849675 +vt 0.055405 0.000000 +vt 0.110809 0.000000 +vt 0.110809 0.878015 +vt 0.055405 0.878015 +vt 0.521098 0.892214 +vt 0.482259 0.892705 +vt 0.482168 0.043030 +vt 0.521098 0.000000 +vt 0.221619 0.871383 +vt 0.166214 0.871383 +vt 0.110810 0.871383 +vt 0.110809 0.035220 +vt 0.166214 0.035220 +vt 0.560119 0.000000 +vt 0.598957 0.000492 +vt 0.598957 0.892705 +vt 0.560027 0.849675 +vt 0.000000 0.878014 +vt 0.482168 0.892214 +vt 0.443329 0.892705 +vt 0.443238 0.043030 +vt 0.482168 0.000000 +vt 0.873237 0.650566 +vt 0.873237 1.000000 +vt 0.841430 1.000000 +vt 0.841430 0.650566 +vt 0.905045 0.650566 +vt 0.905046 1.000000 +vt 0.963766 0.000000 +vt 0.963766 0.349434 +vt 0.944594 0.349434 +vt 0.944594 0.000000 +vt 0.912787 0.349434 +vt 0.912787 0.000000 +vt 0.332502 0.871336 +vt 0.332502 0.904318 +vt 0.304763 0.920809 +vt 0.277024 0.904318 +vt 0.277024 0.871336 +vt 0.304763 0.854845 +vt 0.944595 0.698869 +vt 0.912787 0.698869 +vt 0.443238 0.828591 +vt 0.443238 0.861573 +vt 0.415499 0.878064 +vt 0.387760 0.861573 +vt 0.387760 0.828591 +vt 0.415499 0.812100 +vt 0.944595 0.974185 +vt 0.944595 0.738851 +vt 0.976402 0.738851 +vt 0.976402 0.974185 +vt 0.912787 0.934202 +vt 0.944595 0.934202 +vt 0.754588 0.885899 +vt 0.754588 0.650566 +vt 0.773761 0.650566 +vt 0.773761 0.885899 +vt 0.805568 0.650566 +vt 0.805568 0.885899 +vt 0.626696 0.934544 +vt 0.598957 0.918053 +vt 0.598957 0.885071 +vt 0.626696 0.868580 +vt 0.654435 0.885071 +vt 0.654435 0.918053 +vt 0.837377 0.650566 +vt 0.837377 0.885899 +vt 0.660203 0.918053 +vt 0.660203 0.885071 +vt 0.687942 0.868580 +vt 0.715681 0.885071 +vt 0.715681 0.918053 +vt 0.687942 0.934544 +vt 0.376394 0.926201 +vt 0.376394 0.812100 +vt 0.387760 0.926201 +vt 0.339996 0.926201 +vt 0.339996 0.812100 +vt 0.351363 0.812100 +vt 0.351363 0.926201 +vt 0.369561 0.812100 +vt 0.369561 0.926201 +vt 0.362729 0.926201 +vt 0.362729 0.812100 +vt 0.277024 0.968946 +vt 0.265657 0.968946 +vt 0.265657 0.854845 +vt 0.833688 0.650566 +vt 0.833687 0.000000 +vt 0.873237 0.000000 +vt 0.794138 0.000000 +vt 0.794138 0.650566 +vt 0.972297 0.349434 +vt 0.972297 0.738851 +vt 0.912787 0.650566 +vt 1.000000 0.349434 +vt 1.000000 0.738851 +vn 1.000000 0.000000 0.000000 +vn -0.600900 0.000000 -0.799300 +vn -1.000000 0.000000 0.000000 +vn 0.612300 0.000000 0.790700 +vn -0.114100 -0.993500 0.000000 +vn 0.128700 0.991700 0.000000 +vn -0.008400 1.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn -0.046800 0.000000 0.998900 +vn 0.000000 0.000000 -1.000000 +vn -0.283800 0.000000 0.958900 +vn -0.003000 1.000000 0.000000 +vn -0.026900 -0.999600 0.000000 +vn -0.046800 0.000000 -0.998900 +vn -0.101200 0.994900 0.000000 +vn -0.600900 0.000000 0.799300 +vn -0.032800 -0.999500 0.000000 +vn -0.283800 0.000000 -0.958900 +vn 0.612300 0.000000 -0.790700 +vn 0.128700 -0.991700 0.000000 +vn 0.019800 0.999800 0.000000 +vn 0.000000 0.000000 1.000000 +vn -0.682600 0.730800 0.000000 +vn 0.682600 -0.730800 0.000000 +vn -0.000100 -1.000000 0.000000 +vn -0.682000 -0.731400 0.000000 +vn 0.681900 0.731400 0.000000 +vn -0.000400 -1.000000 0.000000 +vn 0.866000 0.500000 -0.000000 +vn 0.866000 -0.500000 -0.000000 +vn -0.866000 -0.500000 0.000000 +vn -0.866000 0.500000 0.000000 +vn 0.866900 0.498500 -0.000000 +vn 0.866900 -0.498500 -0.000000 +vn -0.866900 -0.498500 -0.000000 +vn 0.000000 1.000000 0.000000 +vn -0.866900 0.498500 0.000000 +g Cylinder_Cylinder_cover +s off +f 5/1/1 1/2/1 2/3/1 6/4/1 +f 17/5/2 19/6/2 3/7/2 7/8/2 +f 7/9/3 3/10/3 4/11/3 8/12/3 +f 22/13/4 24/14/4 1/15/4 5/16/4 +f 18/17/5 4/18/5 3/19/5 19/20/5 +f 22/21/6 5/22/6 6/23/6 23/24/6 +f 16/25/7 11/26/7 9/27/7 13/28/7 +f 24/29/8 12/30/8 10/31/8 21/32/8 +f 16/33/9 14/34/9 12/35/9 11/27/9 +f 23/36/10 21/37/10 10/38/10 9/39/10 +f 20/40/11 18/41/11 14/34/11 16/33/11 +f 20/42/12 16/25/12 13/28/12 17/43/12 +f 12/44/13 14/45/13 15/46/13 10/38/13 +f 9/47/14 10/31/14 15/48/14 13/49/14 +f 8/50/15 20/42/15 17/43/15 7/51/15 +f 8/52/16 4/53/16 18/41/16 20/40/16 +f 14/45/17 18/17/17 19/20/17 15/46/17 +f 13/49/18 15/48/18 19/6/18 17/5/18 +f 6/54/19 2/55/19 21/37/19 23/36/19 +f 1/56/20 24/29/20 21/32/20 2/57/20 +f 11/58/21 22/21/21 23/24/21 9/59/21 +f 11/59/22 12/60/22 24/14/22 22/13/22 +g Cylinder_Cylinder_legs +f 29/61/23 30/62/23 26/63/23 25/64/23 +f 30/65/10 31/66/10 27/67/10 26/68/10 +f 31/69/24 32/70/24 28/71/24 27/72/24 +f 32/73/22 29/74/22 25/75/22 28/76/22 +f 25/77/25 26/78/25 27/79/25 28/80/25 +f 37/62/23 38/69/23 34/81/23 33/63/23 +f 38/82/10 39/83/10 35/84/10 34/85/10 +f 39/70/24 40/86/24 36/87/24 35/71/24 +f 40/66/22 37/88/22 33/89/22 36/67/22 +f 33/90/25 34/91/25 35/92/25 36/64/25 +f 45/93/26 46/61/26 42/94/26 41/95/26 +f 46/96/10 47/97/10 43/98/10 42/99/10 +f 47/100/27 48/101/27 44/102/27 43/103/27 +f 48/104/22 45/105/22 41/106/22 44/107/22 +f 41/95/28 42/94/28 43/108/28 44/109/28 +f 53/109/26 54/110/26 50/111/26 49/112/26 +f 54/113/10 55/114/10 51/115/10 50/116/10 +f 55/31/27 56/100/27 52/103/27 51/117/27 +f 56/118/22 53/119/22 49/120/22 52/121/22 +f 49/112/28 50/111/28 51/101/28 52/93/28 +f 57/122/29 58/123/29 60/124/29 59/125/29 +f 59/123/30 60/122/30 62/126/30 61/127/30 +f 61/128/8 62/129/8 64/130/8 63/131/8 +f 63/131/31 64/130/31 66/132/31 65/133/31 +f 60/134/22 58/135/22 68/136/22 66/137/22 64/138/22 62/139/22 +f 65/130/32 66/140/32 68/141/32 67/132/32 +f 57/142/10 59/143/10 61/144/10 63/145/10 65/146/10 67/147/10 +f 69/148/29 70/149/29 72/150/29 71/151/29 +f 71/152/30 72/141/30 74/140/30 73/153/30 +f 73/154/8 74/155/8 76/156/8 75/157/8 +f 75/157/31 76/156/31 78/158/31 77/159/31 +f 72/160/22 70/161/22 80/162/22 78/163/22 76/164/22 74/165/22 +f 77/166/32 78/167/32 80/159/32 79/158/32 +f 69/168/10 71/169/10 73/170/10 75/171/10 77/172/10 79/173/10 +f 81/174/33 82/175/33 84/71/33 83/176/33 +f 83/177/34 84/178/34 86/179/34 85/180/34 +f 85/181/8 86/182/8 88/183/8 87/184/8 +f 87/184/35 88/183/35 90/180/35 89/179/35 +f 91/182/36 92/181/36 82/175/36 81/174/36 +f 89/63/37 90/185/37 92/186/37 91/187/37 +f 98/188/10 99/189/10 95/190/10 94/122/10 +f 100/191/22 97/192/22 93/155/22 96/68/22 +f 93/130/8 94/193/8 95/194/8 96/149/8 +f 106/192/10 107/191/10 103/189/10 102/188/10 +f 108/122/22 105/190/22 101/133/22 104/195/22 +f 101/193/8 102/196/8 103/197/8 104/194/8