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', {
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', {

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B