From 144cb779fe3f2a0f8ffd714178854b27c2fc330c Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 26 Jun 2014 06:36:22 -0400 Subject: [PATCH] add dvd/vcr --- homedecor/electronics.lua | 24 ++++++++++++++++++ homedecor/textures/homedecor_dvdvcr_back.png | Bin 0 -> 231 bytes .../textures/homedecor_dvdvcr_bottom.png | Bin 0 -> 82 bytes homedecor/textures/homedecor_dvdvcr_front.png | Bin 0 -> 213 bytes homedecor/textures/homedecor_dvdvcr_sides.png | Bin 0 -> 103 bytes homedecor/textures/homedecor_dvdvcr_top.png | Bin 0 -> 147 bytes 6 files changed, 24 insertions(+) create mode 100644 homedecor/textures/homedecor_dvdvcr_back.png create mode 100644 homedecor/textures/homedecor_dvdvcr_bottom.png create mode 100644 homedecor/textures/homedecor_dvdvcr_front.png create mode 100644 homedecor/textures/homedecor_dvdvcr_sides.png create mode 100644 homedecor/textures/homedecor_dvdvcr_top.png diff --git a/homedecor/electronics.lua b/homedecor/electronics.lua index fefdba38..d7fd7cae 100644 --- a/homedecor/electronics.lua +++ b/homedecor/electronics.lua @@ -105,3 +105,27 @@ minetest.register_node('homedecor:television', { sounds = default.node_sound_wood_defaults(), }) +minetest.register_node("homedecor:dvd_vcr", { + description = S("DVD and VCR"), + drawtype = "nodebox", + tiles = { + "homedecor_dvdvcr_top.png", + "homedecor_dvdvcr_bottom.png", + "homedecor_dvdvcr_sides.png", + "homedecor_dvdvcr_sides.png^[transformFX", + "homedecor_dvdvcr_back.png", + "homedecor_dvdvcr_front.png", + }, + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.3125, -0.5, -0.25, 0.3125, -0.375, 0.1875}, + {-0.25, -0.5, -0.25, 0.25, -0.1875, 0.125}, + } + }, + groups = { snappy = 3 }, + sounds = default.node_sound_wood_defaults(), +}) + diff --git a/homedecor/textures/homedecor_dvdvcr_back.png b/homedecor/textures/homedecor_dvdvcr_back.png new file mode 100644 index 0000000000000000000000000000000000000000..ad56b8a4c9608d41a0870986d4b6072e28b084e0 GIT binary patch literal 231 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={W)_J-(hIkx*J82`=VFeM_wJb(6 z4<1x_^sN5L?Z5o$swu_`JPKY5a4cMVZAw~odc}#*`+MzNIDi@%7#_&mcu8M2iOpKF z_1}ueyW<0lXFT7z@n6P;CV@wK%;$dYTDSC~x#XLdUZTl4YeT(a|G6%;woHG1XWz7- zZ?*sHj!Ar8RHA#?LsR#3lR#1r@8N>XN%1^=E=y0`tA1ab8W6kpt3_YSgw1lvced%a e6lhGjRgl3&+-${k*U8I)?qu+E L^>bP0l+XkKCaz8s literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_dvdvcr_sides.png b/homedecor/textures/homedecor_dvdvcr_sides.png new file mode 100644 index 0000000000000000000000000000000000000000..74d29021cef8528e96880ca6398fb70c22cb96ea GIT binary patch literal 103 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|dY&$hAsXkC6C_v{GiWEcJiBrG zcJeBViVq4#(>p_?XJ`~n>gwVOb1i>&NAW%zgSRUi=ho|Wl0cmdp00i_>zopr02><} A+5i9m literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_dvdvcr_top.png b/homedecor/textures/homedecor_dvdvcr_top.png new file mode 100644 index 0000000000000000000000000000000000000000..d47054fe549e63b734debb7677d9189dfe6804e2 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={WqC8z3Lp+WrCrGd^P7vX#JCu uK3n>l1G(LFCAKD5L>O?n9n?rjU|=}mz+V_(I#m^D3xlVtpUXO@geCxVtuj0S literal 0 HcmV?d00001