This commit is contained in:
Vanessa Ezekowitz 2014-10-19 20:49:04 -04:00
commit 168ecbb05d
3 changed files with 6 additions and 16 deletions

View File

@ -300,34 +300,24 @@ minetest.register_node('homedecor:candle', {
}) })
minetest.register_node('homedecor:candle_thin', { minetest.register_node('homedecor:candle_thin', {
description = S("Thin Candle"), description = S("Little Candle"),
drawtype = "nodebox", inventory_image = 'homedecor_candle_inv.png',
drawtype = "plantlike",
tiles = { tiles = {
'homedecor_candle_top.png', {name="homedecor_candle.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1.0}},
'homedecor_candle_bottom.png',
{name="homedecor_candle_sides.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.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 = { selection_box = {
type = "fixed", type = "fixed",
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, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
walkable = true, walkable = false,
groups = { snappy = 3 }, groups = { snappy = 3 },
light_source = LIGHT_MAX-4, light_source = LIGHT_MAX-4,
sounds = default.node_sound_wood_defaults(),
}) })
minetest.register_node('homedecor:oil_lamp', { minetest.register_node('homedecor:oil_lamp', {

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B