1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-14 11:50:18 +02:00

Cleaning and tweaking node params

This commit is contained in:
kilbith
2015-04-29 14:14:36 +02:00
parent 9a92d09421
commit 4dee35893a
40 changed files with 516 additions and 633 deletions

View File

@ -31,7 +31,6 @@ for i in ipairs(materials) do
tiles = { 'homedecor_'..m..'_table_small_square.png' },
wield_image = 'homedecor_'..m..'_table_small_square_inv.png',
inventory_image = 'homedecor_'..m..'_table_small_square_inv.png',
sunlight_propagates = true,
groups = { snappy = 3 },
sounds = s,
selection_box = tables_cbox,
@ -47,7 +46,6 @@ for i in ipairs(materials) do
tiles = { "homedecor_"..m.."_table_small_round.png" },
wield_image = 'homedecor_'..m..'_table_small_round_inv.png',
inventory_image = 'homedecor_'..m..'_table_small_round_inv.png',
sunlight_propagates = true,
groups = { snappy = 3 },
sounds = s,
selection_box = tables_cbox,
@ -69,7 +67,6 @@ for i in ipairs(materials) do
},
wield_image = 'homedecor_'..m..'_table_large_inv.png',
inventory_image = 'homedecor_'..m..'_table_large_inv.png',
sunlight_propagates = true,
groups = { snappy = 3 },
sounds = s,
node_box = {
@ -168,7 +165,7 @@ homedecor.register("table_legs_"..t, {
wield_image = "homedecor_table_legs_"..t..".png",
walkable = false,
groups = {snappy=3},
sounds = default.node_sound_leaves_defaults(),
sounds = default.node_sound_wood_defaults(),
selection_box = {
type = "fixed",
fixed = { -0.37, -0.5, -0.37, 0.37, 0.5, 0.37 }
@ -182,7 +179,6 @@ homedecor.register("utility_table_legs", {
tiles = { 'homedecor_utility_table_legs.png' },
inventory_image = 'homedecor_utility_table_legs_inv.png',
wield_image = 'homedecor_utility_table_legs.png',
sunlight_propagates = true,
walkable = false,
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
@ -208,6 +204,7 @@ homedecor.register("desk", {
inventory_image = "homedecor_desk_inv.png",
selection_box = desk_cbox,
collision_box = desk_cbox,
sounds = default.node_sound_wood_defaults(),
groups = { snappy = 3 },
expand = { right="air" },
inventory = {
@ -216,4 +213,3 @@ homedecor.register("desk", {
})
minetest.register_alias("homedecor:desk_r", "air")