mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-27 09:20:17 +02:00
Cleaning and tweaking node params
This commit is contained in:
@ -4,7 +4,6 @@ local S = homedecor.gettext
|
||||
homedecor.register("bars", {
|
||||
description = S("Bars"),
|
||||
tiles = { "homedecor_generic_metal_black.png" },
|
||||
sunlight_propagates = true,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -19,14 +18,14 @@ homedecor.register("bars", {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, -0.1, 0.5, 0.5, 0.1 },
|
||||
},
|
||||
groups = {cracky=1},
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
--L Binding Bars
|
||||
homedecor.register("L_binding_bars", {
|
||||
description = S("Binding Bars"),
|
||||
tiles = { "homedecor_generic_metal_black.png" },
|
||||
sunlight_propagates = true,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -39,7 +38,8 @@ homedecor.register("L_binding_bars", {
|
||||
{ -0.05, 0.45, -0.50, 0.05, 0.50, 0.00 },
|
||||
},
|
||||
},
|
||||
groups = {cracky=1,}
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
local chain_cbox = {
|
||||
@ -52,10 +52,10 @@ homedecor.register("chains", {
|
||||
mesh = "forniture_chains.obj",
|
||||
tiles = { "homedecor_generic_metal_black.png" },
|
||||
inventory_image="forniture_chains_inv.png",
|
||||
sunlight_propagates = true,
|
||||
selection_box = chain_cbox,
|
||||
collision_box = chain_cbox,
|
||||
groups = {cracky=1},
|
||||
walkable = false,
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
homedecor.register("torch_wall", {
|
||||
@ -76,14 +76,13 @@ homedecor.register("torch_wall", {
|
||||
"forniture_coal.png",
|
||||
},
|
||||
inventory_image="forniture_torch_inv.png",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
light_source = 14,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.45, 0.15, 0.15,0.35, 0.5 },
|
||||
},
|
||||
groups = {cracky=2},
|
||||
groups = {cracky=3},
|
||||
})
|
||||
|
||||
local wl_cbox = {
|
||||
@ -99,7 +98,7 @@ homedecor.register("wall_lamp", {
|
||||
groups = {snappy=3},
|
||||
light_source = 11,
|
||||
selection_box = wl_cbox,
|
||||
collision_box = wl_cbox
|
||||
walkable = false
|
||||
})
|
||||
|
||||
minetest.register_alias("3dforniture:bars", "homedecor:bars")
|
||||
|
Reference in New Issue
Block a user