Tidied code

This commit is contained in:
TenPlus1 2016-04-05 15:23:24 +01:00
parent dc4b53c8ba
commit 62fd867042

View File

@ -234,12 +234,14 @@ minetest.register_node("itemframes:frame",{
minetest.register_node("itemframes:pedestal",{ minetest.register_node("itemframes:pedestal",{
description = "Pedestal", description = "Pedestal",
drawtype = "nodebox", drawtype = "nodebox",
node_box = { type = "fixed", fixed = { node_box = {
{-7/16, -8/16, -7/16, 7/16, -7/16, 7/16}, -- bottom plate type = "fixed", fixed = {
{-6/16, -7/16, -6/16, 6/16, -6/16, 6/16}, -- bottom plate (upper) {-7/16, -8/16, -7/16, 7/16, -7/16, 7/16}, -- bottom plate
{-0.25, -6/16, -0.25, 0.25, 11/16, 0.25}, -- pillar {-6/16, -7/16, -6/16, 6/16, -6/16, 6/16}, -- bottom plate (upper)
{-7/16, 11/16, -7/16, 7/16, 12/16, 7/16}, -- top plate {-0.25, -6/16, -0.25, 0.25, 11/16, 0.25}, -- pillar
} }, {-7/16, 11/16, -7/16, 7/16, 12/16, 7/16}, -- top plate
}
},
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-7/16, -0.5, -7/16, 7/16, 12/16, 7/16} fixed = {-7/16, -0.5, -7/16, 7/16, 12/16, 7/16}