use mesh node for oil lamp
also turn the light level up one step
@ -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(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
1495
homedecor/models/homedecor_oil_lamp.obj
Normal file
Before Width: | Height: | Size: 417 B |
BIN
homedecor/textures/homedecor_oil_lamp_base.png
Normal file
After Width: | Height: | Size: 347 B |
BIN
homedecor/textures/homedecor_oil_lamp_glass.png
Normal file
After Width: | Height: | Size: 188 B |
BIN
homedecor/textures/homedecor_oil_lamp_handles.png
Normal file
After Width: | Height: | Size: 433 B |
BIN
homedecor/textures/homedecor_oil_lamp_inv.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
homedecor/textures/homedecor_oil_lamp_top.png
Normal file
After Width: | Height: | Size: 437 B |
BIN
homedecor/textures/homedecor_oil_lamp_wick.png
Normal file
After Width: | Height: | Size: 183 B |