Prettier shutters

Prettier shutters : https://cdn.mediacru.sh/uuQuB3D_aXbq.png
This commit is contained in:
kilbith 2014-09-19 11:17:02 +02:00 committed by Diego Martinez
parent 9cc5853ccc
commit fd1e5a516a

View File

@ -25,17 +25,28 @@ for i in ipairs(shutters) do
tiles = { "homedecor_window_shutter_"..name..".png" },
inventory_image = "homedecor_window_shutter_"..name..".png",
wield_image = "homedecor_window_shutter_"..name..".png",
drawtype = 'signlike',
sunlight_propagates = true,
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
groups = { snappy = 3 },
sounds = default.node_sound_wood_defaults(),
paramtype2 = 'wallmounted',
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, 0.44, 0.5, -0.3125, 0.5}, -- NodeBox1
{-0.5, -0.5, 0.44, -0.3125, 0.5, 0.5}, -- NodeBox2
{-0.5, 0.3125, 0.44, 0.5, 0.5, 0.5}, -- NodeBox3
{0.3125, -0.5, 0.44, 0.5, 0.5, 0.5}, -- NodeBox4
{-0.3125, 0.1875, 0.46, 0.3125, 0.25, 0.48}, -- NodeBox5
{-0.3125, 0.0625, 0.46, 0.3125, 0.125, 0.48}, -- NodeBox6
{-0.3125, -0.0625, 0.46, 0.3125, 0, 0.48}, -- NodeBox7
{-0.3125, -0.1875, 0.46, 0.3125, -0.125, 0.48}, -- NodeBox8
{-0.3125, -0.3125, 0.46, 0.3125, -0.25, 0.48}, -- NodeBox9
}
},
selection_box = {
type = "wallmounted",
--wall_side = = <default>
type = "fixed",
fixed = { -0.5, -0.5, 0.44, 0.5, 0.5, 0.5 }
},
})
end