Tidied code
This commit is contained in:
parent
dc4b53c8ba
commit
62fd867042
14
init.lua
14
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user