clocks: fix boxes and wield image

This commit is contained in:
kilbith 2015-02-27 09:00:55 +01:00 committed by Vanessa Ezekowitz
parent 7359f4eb99
commit 2d0d6c53f9

View File

@ -3,19 +3,20 @@ homedecor.register("analog_clock_plastic", {
mesh = "homedecor_analog_clock.obj",
tiles = { "homedecor_analog_clock_plastic.png" },
inventory_image = "homedecor_analog_clock_plastic_inv.png",
wield_image = "homedecor_analog_clock_plastic_inv.png",
collision_box = {
type = "fixed",
fixed = {
{ -8/32, -3/32, 15/32, 8/32, 3/32, 16/32 },
{ -7/32, -5/32, 15/32, 7/32, 5/32, 16/32 },
{ -6/32, -6/32, 15/32, 6/32, 6/32, 16/32 },
{ -5/32, -7/32, 15/32, 5/32, 7/32, 16/32 },
{ -3/32, -8/32, 15/32, 3/32, 8/32, 16/32 }
{ -8/32, -3/32, 14/32, 8/32, 3/32, 16/32 },
{ -7/32, -5/32, 14/32, 7/32, 5/32, 16/32 },
{ -6/32, -6/32, 14/32, 6/32, 6/32, 16/32 },
{ -5/32, -7/32, 14/32, 5/32, 7/32, 16/32 },
{ -3/32, -8/32, 14/32, 3/32, 8/32, 16/32 }
}
},
selection_box = {
type = "fixed",
fixed = { -8/32, -8/32, 15/32, 8/32, 8/32, 16/32 }
fixed = { -8/32, -8/32, 14/32, 8/32, 8/32, 16/32 }
},
groups = {snappy=3},
})
@ -25,19 +26,20 @@ homedecor.register("analog_clock_wood", {
mesh = "homedecor_analog_clock.obj",
tiles = { "homedecor_analog_clock_wood.png" },
inventory_image = "homedecor_analog_clock_wood_inv.png",
wield_image = "homedecor_analog_clock_wood_inv.png",
collision_box = {
type = "fixed",
fixed = {
{ -8/32, -3/32, 15/32, 8/32, 3/32, 16/32 },
{ -7/32, -5/32, 15/32, 7/32, 5/32, 16/32 },
{ -6/32, -6/32, 15/32, 6/32, 6/32, 16/32 },
{ -5/32, -7/32, 15/32, 5/32, 7/32, 16/32 },
{ -3/32, -8/32, 15/32, 3/32, 8/32, 16/32 }
{ -8/32, -3/32, 14/32, 8/32, 3/32, 16/32 },
{ -7/32, -5/32, 14/32, 7/32, 5/32, 16/32 },
{ -6/32, -6/32, 14/32, 6/32, 6/32, 16/32 },
{ -5/32, -7/32, 14/32, 5/32, 7/32, 16/32 },
{ -3/32, -8/32, 14/32, 3/32, 8/32, 16/32 }
}
},
selection_box = {
type = "fixed",
fixed = { -8/32, -8/32, 15/32, 8/32, 8/32, 16/32 }
fixed = { -8/32, -8/32, 14/32, 8/32, 8/32, 16/32 }
},
groups = {snappy=3},
})