From b3268caa4bc30ef9eb5d82d41946a3217608a1ed Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 25 Jun 2014 01:02:26 -0400 Subject: [PATCH] added decorative washing machine and tumble dryer (no craft recipes yet) --- homedecor/init.lua | 3 + homedecor/laundry.lua | 56 ++++++++++++++++++ homedecor/textures/homedecor_dryer_back.png | Bin 0 -> 222 bytes homedecor/textures/homedecor_dryer_bottom.png | Bin 0 -> 235 bytes homedecor/textures/homedecor_dryer_front.png | Bin 0 -> 237 bytes homedecor/textures/homedecor_dryer_sides.png | Bin 0 -> 210 bytes homedecor/textures/homedecor_dryer_top.png | Bin 0 -> 215 bytes .../homedecor_washing_machine_back.png | Bin 0 -> 224 bytes .../homedecor_washing_machine_bottom.png | Bin 0 -> 232 bytes .../homedecor_washing_machine_front.png | Bin 0 -> 222 bytes .../homedecor_washing_machine_sides.png | Bin 0 -> 209 bytes .../homedecor_washing_machine_top.png | Bin 0 -> 233 bytes 12 files changed, 59 insertions(+) create mode 100644 homedecor/laundry.lua create mode 100644 homedecor/textures/homedecor_dryer_back.png create mode 100644 homedecor/textures/homedecor_dryer_bottom.png create mode 100644 homedecor/textures/homedecor_dryer_front.png create mode 100644 homedecor/textures/homedecor_dryer_sides.png create mode 100644 homedecor/textures/homedecor_dryer_top.png create mode 100644 homedecor/textures/homedecor_washing_machine_back.png create mode 100644 homedecor/textures/homedecor_washing_machine_bottom.png create mode 100644 homedecor/textures/homedecor_washing_machine_front.png create mode 100644 homedecor/textures/homedecor_washing_machine_sides.png create mode 100644 homedecor/textures/homedecor_washing_machine_top.png diff --git a/homedecor/init.lua b/homedecor/init.lua index 484f981d..faec921e 100644 --- a/homedecor/init.lua +++ b/homedecor/init.lua @@ -72,6 +72,9 @@ dofile(homedecor.modpath.."/fences.lua") dofile(homedecor.modpath.."/lighting.lua") dofile(homedecor.modpath.."/kitchen_cabinet.lua") dofile(homedecor.modpath.."/refrigerator.lua") + +dofile(homedecor.modpath.."/laundry.lua") + dofile(homedecor.modpath.."/furnaces.lua") dofile(homedecor.modpath.."/nightstands.lua") diff --git a/homedecor/laundry.lua b/homedecor/laundry.lua new file mode 100644 index 00000000..f26de99b --- /dev/null +++ b/homedecor/laundry.lua @@ -0,0 +1,56 @@ +-- laundry devices + +minetest.register_node("homedecor:washing_machine", { + description = "Washing Machine", + drawtype = "nodebox", + tiles = { + "homedecor_washing_machine_top.png", + "homedecor_washing_machine_bottom.png", + "homedecor_washing_machine_sides.png", + "homedecor_washing_machine_sides.png^[transformFX", + "homedecor_washing_machine_back.png", + "homedecor_washing_machine_front.png" + }, + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.375, 0.375}, + {-0.5, -0.5, 0.3125, 0.5, 0.5, 0.5}, + } + }, + selection_box = { + type = "fixed", + fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 } + }, + groups = { snappy = 3 }, +}) + +minetest.register_node("homedecor:dryer", { + description = "Tumble dryer", + drawtype = "nodebox", + tiles = { + "homedecor_dryer_top.png", + "homedecor_dryer_bottom.png", + "homedecor_dryer_sides.png", + "homedecor_dryer_sides.png^[transformFX", + "homedecor_dryer_back.png", + "homedecor_dryer_front.png" + }, + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.375, 0.375}, + {-0.5, -0.5, 0.3125, 0.5, 0.5, 0.5}, + } + }, + 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_dryer_back.png b/homedecor/textures/homedecor_dryer_back.png new file mode 100644 index 0000000000000000000000000000000000000000..2a76711f84e7b186c99ed7b39558857f9f8ce15f GIT binary patch literal 222 zcmeAS@N?(olHy`uVBq!ia0vp^0wBx*Bp9q_EZ7UAmU_B4hDcmiJ?iMk?8xJC@qLzm zc89>7|0WFl4Si30t3 zRB=^yI+J3*_K!OyWv1;d_xO*Wa|!iM2|4%UYQ;O-g@GI&7jdL0tKU~U6fz_6Bl{$V VWM!{|UNRtud%F6$taD0e0s#GfSJeOj literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_dryer_bottom.png b/homedecor/textures/homedecor_dryer_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..25f7416e98f3f8a748c25f7c0e4a167a39bc3d83 GIT binary patch literal 235 zcmVN(>V= zS~qs6avT|boF`t9PW73XKvDQZ`_N7tAh1`vQ&v!=@zB)wm^!w2ZR^{9{aK}3E2&65 z@a&$}N1exEC6D)EhTga3Wz&X38Ac$@|E?GO3Efu-OZ}cn@<%LOGA8;O?1@g*R?a$N l4QN;@b9^~y3C;ip{RhX{Zf1v*E!O}5002ovPDHLkV1fqyWjp`? literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_dryer_front.png b/homedecor/textures/homedecor_dryer_front.png new file mode 100644 index 0000000000000000000000000000000000000000..4759642e62f3717611d1e0b8895292524a326c1c GIT binary patch literal 237 zcmV)z{{rnL7TQZ zZ2PGvJMxc`#|E;$Nv}!cy|M%`?H*;FK5trIPFLmhw}*0e1g&38pGrt~%5{p29_E3( z6jr;0Ht3V#j7jh__)eOU?u%<*R?yIkQ00000NkvXXu0mjfZqj9C literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_dryer_sides.png b/homedecor/textures/homedecor_dryer_sides.png new file mode 100644 index 0000000000000000000000000000000000000000..7d0b0e497466dd3d2b6be12b9214af2e3f3496bd GIT binary patch literal 210 zcmeAS@N?(olHy`uVBq!ia0vp^0wBx*Bp9q_EZ7UAW_r3fhDclvJs22t*g(MLp!wpd zZwoZKW(TvDdri=J`-%Im*1sQmXYAig&i}M&@}edkcKIn02hW#&50bi|G~@c_tBZ2f z4nBBr_G)ljv+EV!?aK=Hv84pJN3d^OH~ID(-kbTCRBWC(>2Iofloa5;<)J()9e-V= zk`D2N`Z89D|8R1iI`x3M!4|>GCz~#Zmvbf_WDItHqsYJ4$EwKu=G~9{k^kcg4*gWT P2Xe8etDnm{r-UW|Y{Xjo literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_washing_machine_back.png b/homedecor/textures/homedecor_washing_machine_back.png new file mode 100644 index 0000000000000000000000000000000000000000..48daf8e11bb70f52ecaa8f8abc315820b117792a GIT binary patch literal 224 zcmeAS@N?(olHy`uVBq!ia0vp^0wBx*Bp9q_EZ7UAmV3H5hDcmyJ;)ez*g$~g;7!|; zUJw4?U)W&&&@08eyyW%nq?1~g%I~+Ww_3d_EAD+&=--IX%qNUZzA?;9X|zjyw6}P- z)kimd=_rZI7m_dP?XW(SWV)q)a(|W$=SUivVhUC>x7yjm4t=JTjy{MS|z`4Aa<({|GPDd{M Y#eT&lNy<65>;}l`p00i_>zopr08cPq;s5{u literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_washing_machine_bottom.png b/homedecor/textures/homedecor_washing_machine_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..5f5f33d1df0ac922d02db3b9d84ad79588925b96 GIT binary patch literal 232 zcmVP)I{kq*?@2`oa0^^B` z1UUpqz1lAZ$_%PsFXn$&LdRAdMwqNpxr@mr?l4Z|CJ%?I=G>8e3LdTRUA)WO izS5sr@VqAs1NsAz4{c0v4GDPw0000|-ip|CJz*>SV%RbTvEqozyQoZeZRe>^)sy*&T+EA!e9^FM#$vCJqu zk~x2x|A7Y)bAlCfI+7i)y!&Fb=EvNmPHu%WHtE)daW9hsrYRrc=gZVOb44dj-Qvl_ zu+CpvjMiqU7NzXT@45Hgl1jT^ttKb>?#(g>w}5aBWA5jU3{AV|=wE#i)T_7tl6(ql VNWI71gCZb@d%F6$taD0e0ssM?pu`aaVbj z&88==Gp90FI~nEM-DOc(_l9NZqqX{{-Y=UcdjIA&W&YZoKHYyBzPw_v@9$;J;Ss-M ztmQLLnwRawjhJ`stTJMuc8fDs=V$a>D)V-XxAYX~DoL_R*x@!q>u}r5^|lszs{2#o z%-wxXExWvt?f-n%4uOF6eUA&KrMq1IG`G{vaaGPzAH{zROlF=RHdG56fZXco>gTe~ HDWM4fn%YkR literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_washing_machine_top.png b/homedecor/textures/homedecor_washing_machine_top.png new file mode 100644 index 0000000000000000000000000000000000000000..317bf5a959e14a5b23cef13cd71c25a462745158 GIT binary patch literal 233 zcmeAS@N?(olHy`uVBq!ia0vp^0wBx*Bp9q_EZ7UAHh8)?hDcmyJ?QPloG8$Gas9h^ z*;^gA161A}oXdWs(;{rnPImTLUlzZr@|zAi`E8DY+nDHCE@#*%AiMbt0&!3FBSIG2r^I-bM(Hlp1~?f zYJuDK@C0u@k%`OJ8=EfM_eF3?!%i8u3YSnPgQ}gGvdoT$9=9_yyiU}J hcW)Q}I=)3Ba{up~O7MIfH4Wqi22WQ%mvv4FO#tvhUT**Z literal 0 HcmV?d00001