1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 08:20:21 +01:00

fix collision box on oil lamp

This commit is contained in:
Vanessa Ezekowitz 2015-04-17 06:11:05 -04:00
parent 015243e307
commit c2575df10c

View File

@ -211,6 +211,13 @@ homedecor.register("wall_sconce", {
light_source = LIGHT_MAX-4,
})
local ol_cbox = {
type = "fixed",
fixed = {
{ -5/16, -8/16, -3/16, 5/16, 4/16, 3/16 },
}
}
homedecor.register("oil_lamp", {
description = S("Oil lamp"),
mesh = "homedecor_oil_lamp.obj",
@ -223,12 +230,8 @@ homedecor.register("oil_lamp", {
},
inventory_image = "homedecor_oil_lamp_inv.png",
sunlight_propagates = true,
selection_box = {
type = "fixed",
fixed = {
{ -5/16, -8/16, -3/16, 5/16, 4/16, 3/16 },
}
},
selection_box = ol_cbox,
collision_box = ol_cbox,
groups = { snappy = 3 },
light_source = LIGHT_MAX-3,
sounds = default.node_sound_wood_defaults(),