From 7c511ac1406d719c6e6e0de65ae75cc8e38a3470 Mon Sep 17 00:00:00 2001 From: kilbith Date: Fri, 17 Oct 2014 16:09:37 +0200 Subject: [PATCH] Update thin/little candle --- homedecor/lighting.lua | 22 ++++++-------------- homedecor/textures/homedecor_candle.png | Bin 0 -> 281 bytes homedecor/textures/homedecor_candle_inv.png | Bin 0 -> 236 bytes 3 files changed, 6 insertions(+), 16 deletions(-) create mode 100644 homedecor/textures/homedecor_candle.png create mode 100644 homedecor/textures/homedecor_candle_inv.png diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index b310417..2a8589d 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -300,34 +300,24 @@ minetest.register_node('homedecor:candle', { }) minetest.register_node('homedecor:candle_thin', { - description = S("Thin Candle"), - drawtype = "nodebox", + description = S("Little Candle"), + inventory_image = 'homedecor_candle_inv.png', + drawtype = "plantlike", tiles = { - 'homedecor_candle_top.png', - 'homedecor_candle_bottom.png', - {name="homedecor_candle_sides.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}, + {name="homedecor_candle.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1.0}}, }, - node_box = { - type = "fixed", - fixed = { - { -0.0625, -0.5, -0.0625, 0.0625, 0, 0.0625 }, - { -0.125, 0, 0, 0.125, 0.5, 0 }, - { 0, 0, -0.125, 0, 0.5, 0.125 } - } - }, selection_box = { type = "fixed", fixed = { - { -0.125, -0.5, -0.125, 0.125, 0.35, 0.125 }, + { -0.1, -0.5, -0.1, 0.125, 0.05, 0.125 }, } }, sunlight_propagates = true, paramtype = "light", paramtype2 = "facedir", - walkable = true, + walkable = false, groups = { snappy = 3 }, light_source = LIGHT_MAX-4, - sounds = default.node_sound_wood_defaults(), }) minetest.register_node('homedecor:oil_lamp', { diff --git a/homedecor/textures/homedecor_candle.png b/homedecor/textures/homedecor_candle.png new file mode 100644 index 0000000000000000000000000000000000000000..eaa7faf224d26a13b3136ee47776e8a1bbc945cf GIT binary patch literal 281 zcmeAS@N?(olHy`uVBq!ia0vp^3P9Yz!VDy5c$8@ZDY*cj5LX}#1m_wP?#<0Sd1U_o zbM60c7XQDw`sfJuX3BBbFrwf93;)N<3X0Lp+WrCrGeHI5H|SUMn$ST$W(M zn8sXU%yQv}o*th@&9s@u%NKA}oGWn@&6s(qDXXo$oq3i6`>q2#OiVg*#ur(v(zo@f zG1fGQI;$|)ew%#pvb)4CvC9{~80I)KC^laFl)Q!EVEBH6<%?c>$hEy>X4rASd@A<} RPHv$644$rjF6*2UngAMUTHgQw literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_candle_inv.png b/homedecor/textures/homedecor_candle_inv.png new file mode 100644 index 0000000000000000000000000000000000000000..f8a452198870fb344ec660fb88c239c26e9da01f GIT binary patch literal 236 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv=>VS)*Z+4`0ht#&vmPui+Ow_W z|Hb~N_tyQtQ}g}P+0y-7#Xvd6k|4ie28U-i(m21s-{TVGHPu~t_>&1x$jj5kF+}5ha)Jcw4F>Ht4+g3EJ0*M@G-YDD zHFq^INZmhrl(F^vrHdDvv>sf1*rYY#(xj%Ww%N0pXE{jia*$?Z6x+^c(%8edLYLuY X6;IBogmuzDQyDy6{an^LB{Ts5iKtC3 literal 0 HcmV?d00001