forked from mtcontrib/homedecor_modpack
Switch wall lantern to mesh
This commit is contained in:
@ -267,21 +267,21 @@ homedecor.register("oil_lamp", {
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
local wl_cbox = {
|
||||
type = "fixed",
|
||||
fixed = { -0.25, -0.5, -0.25, 0.25, 0.45, 0.25 },
|
||||
}
|
||||
|
||||
homedecor.register("wall_lantern", {
|
||||
description = S("Wall lantern"),
|
||||
drawtype = "plantlike",
|
||||
tiles = { 'homedecor_wall_lantern.png' },
|
||||
inventory_image = 'homedecor_wall_lantern.png',
|
||||
sunlight_propagates = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{ -0.3, -0.5, -0.3, 0.3, 0.5, 0.3 },
|
||||
}
|
||||
},
|
||||
groups = { snappy = 3 },
|
||||
light_source = LIGHT_MAX-4,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
description = S("Wall Lantern"),
|
||||
mesh = "homedecor_wall_lantern.obj",
|
||||
tiles = {"homedecor_wall_lantern.png"},
|
||||
inventory_image = "homedecor_wall_lantern_inv.png",
|
||||
wield_image = "homedecor_wall_lantern_inv.png",
|
||||
groups = {snappy=3},
|
||||
light_source = 11,
|
||||
selection_box = wl_cbox,
|
||||
collision_box = wl_cbox,
|
||||
})
|
||||
|
||||
homedecor.register("lattice_lantern_large", {
|
||||
|
Reference in New Issue
Block a user