From 62fd867042b51a87fbffa25864fb4c96e05f4d2b Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Tue, 5 Apr 2016 15:23:24 +0100 Subject: [PATCH] Tidied code --- init.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index 7a68da6..a02ddc2 100644 --- a/init.lua +++ b/init.lua @@ -234,12 +234,14 @@ minetest.register_node("itemframes:frame",{ minetest.register_node("itemframes:pedestal",{ description = "Pedestal", drawtype = "nodebox", - node_box = { type = "fixed", fixed = { - {-7/16, -8/16, -7/16, 7/16, -7/16, 7/16}, -- bottom plate - {-6/16, -7/16, -6/16, 6/16, -6/16, 6/16}, -- bottom plate (upper) - {-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 - } }, + node_box = { + type = "fixed", fixed = { + {-7/16, -8/16, -7/16, 7/16, -7/16, 7/16}, -- bottom plate + {-6/16, -7/16, -6/16, 6/16, -6/16, 6/16}, -- bottom plate (upper) + {-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 = { type = "fixed", fixed = {-7/16, -0.5, -7/16, 7/16, 12/16, 7/16}