use mesh node for oil lamp

also turn the light level up one step
This commit is contained in:
Vanessa Ezekowitz 2015-04-17 02:43:00 -04:00
parent c6dd69769e
commit 52ef3e9099
9 changed files with 1506 additions and 5 deletions

View File

@ -213,18 +213,24 @@ homedecor.register("wall_sconce", {
homedecor.register("oil_lamp", { homedecor.register("oil_lamp", {
description = S("Oil lamp"), description = S("Oil lamp"),
drawtype = "plantlike", mesh = "homedecor_oil_lamp.obj",
tiles = { 'homedecor_oil_lamp.png' }, tiles = {
inventory_image = 'homedecor_oil_lamp.png', "homedecor_oil_lamp_handles.png",
"homedecor_oil_lamp_glass.png",
"homedecor_tile_brass2.png",
"homedecor_oil_lamp_base.png",
"homedecor_oil_lamp_top.png",
},
inventory_image = "homedecor_oil_lamp_inv.png",
sunlight_propagates = true, sunlight_propagates = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{ -0.3, -0.5, -0.3, 0.3, 0.5, 0.3 }, { -5/16, -8/16, -3/16, 5/16, 4/16, 3/16 },
} }
}, },
groups = { snappy = 3 }, groups = { snappy = 3 },
light_source = LIGHT_MAX-4, light_source = LIGHT_MAX-3,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
}) })

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B