1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-20 22:30:23 +02:00

Add Wall Lamp

This commit is contained in:
kilbith
2015-04-04 19:51:48 +02:00
parent f54c6d3645
commit bcaa25adf4
5 changed files with 531 additions and 0 deletions

View File

@ -86,6 +86,22 @@ homedecor.register("torch_wall", {
groups = {cracky=2},
})
local wl_cbox = {
type = "fixed",
fixed = { -0.2, -0.5, 0, 0.2, 0.5, 0.5 },
}
homedecor.register("wall_lamp", {
description = S("Wall Lamp"),
mesh = "homedecor_wall_lamp.obj",
tiles = {"homedecor_wall_lamp.png"},
inventory_image = "homedecor_wall_lamp_inv.png",
groups = {snappy=3},
light_source = 11,
selection_box = wl_cbox,
collision_box = wl_cbox
})
minetest.register_alias("3dforniture:bars", "homedecor:bars")
minetest.register_alias("3dforniture:L_binding_bars", "homedecor:L_binding_bars")
minetest.register_alias("3dforniture:chains", "homedecor:chains")