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

Fix params (again)

This commit is contained in:
kilbith
2015-04-30 23:52:23 +02:00
parent add43c9529
commit fa9d73201c
5 changed files with 67 additions and 16 deletions

View File

@ -10,6 +10,14 @@ local armchairs_list = {
{ "White Armchair", "white"},
}
local armchair_cbox = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5 },
{-0.5, -0.5, 0.4, 0.5, 0.5, 0.5 }
}
}
for i in ipairs(armchairs_list) do
local armchairdesc = armchairs_list[i][1]
local colour = armchairs_list[i][2]
@ -24,8 +32,9 @@ for i in ipairs(armchairs_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(),
node_box = armchair_cbox,
on_rightclick = function(pos, node, clicker)
if not clicker:is_player() then
return