diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index 7cf9856..7bd358f 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 0000000..eaa7faf Binary files /dev/null and b/homedecor/textures/homedecor_candle.png differ diff --git a/homedecor/textures/homedecor_candle_inv.png b/homedecor/textures/homedecor_candle_inv.png new file mode 100644 index 0000000..f8a4521 Binary files /dev/null and b/homedecor/textures/homedecor_candle_inv.png differ