mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-02 14:50:20 +02:00
Fix params (again)
This commit is contained in:
@ -10,11 +10,18 @@ local longsofas_list = {
|
||||
{ "White Long Sofa", "white"},
|
||||
}
|
||||
|
||||
local longsofa_cbox = {
|
||||
local longsofa_sbox = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 2.5}
|
||||
}
|
||||
|
||||
local longsofa_cbox = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, 0.5, 0, 2.5 },
|
||||
{-0.5, -0.5, 0.5, -0.4, 0.5, 2.5 }
|
||||
}
|
||||
}
|
||||
|
||||
for i in ipairs(longsofas_list) do
|
||||
local longsofadesc = longsofas_list[i][1]
|
||||
@ -30,10 +37,10 @@ for i in ipairs(longsofas_list) do
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||
groups = {snappy=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
selection_box = longsofa_cbox,
|
||||
collision_box = longsofa_cbox,
|
||||
selection_box = longsofa_sbox,
|
||||
node_box = longsofa_cbox,
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local pos = pointed_thing.above
|
||||
local fdir = minetest.dir_to_facedir(placer:get_look_dir(), false)
|
||||
|
Reference in New Issue
Block a user