diff --git a/nodes.lua b/nodes.lua index cc467a7..499ea8c 100644 --- a/nodes.lua +++ b/nodes.lua @@ -195,3 +195,52 @@ minetest.register_node("illuna:lw_instructions", { }, groups = { unbreakable = 1 }, }) + +-- nodeboxes by https://github.com/D00Med/LegendofMinetest + +minetest.override_item("default:furnace", { + drawtype = "nodebox", + paramtype = "light", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.3125, 0.5}, -- NodeBox1 + {-0.4375, 0.375, -0.5, 0.4375, 0.4375, 0.5}, -- NodeBox2 + {-0.375, 0.4375, -0.5, 0.375, 0.5, 0.5}, -- NodeBox3 + {-0.5, 0.3125, -0.5, 0.5, 0.375, 0.5}, -- NodeBox4 + {-0.5, -0.5, -0.5, -0.3125, 0.3125, 0.5}, -- NodeBox5 + {0.3125, -0.5, -0.5, 0.5, 0.375, 0.5}, -- NodeBox6 + {-0.5, -0.0625, -0.5, 0.5, 0.0625, 0.5}, -- NodeBox7 + {-0.5, -0.5, -0.375, 0.5, 0.3125, 0.5}, -- NodeBox8 + } + }, +}) + +minetest.override_item("default:chest_locked", { + paramtype = "light", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.25, 0.5}, -- NodeBox1 + {-0.5, 0.375, -0.375, 0.5, 0.4375, 0.375}, -- NodeBox2 + {-0.5, 0.25, -0.4375, 0.5, 0.375, 0.4375}, -- NodeBox3 + {-0.5, 0.4375, -0.3125, 0.5, 0.5, 0.3125}, -- NodeBox4 + } + }, +}) + + +minetest.override_item("default:chest", { + paramtype = "light", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.25, 0.5}, -- NodeBox1 + {-0.5, 0.375, -0.375, 0.5, 0.4375, 0.375}, -- NodeBox2 + {-0.5, 0.25, -0.4375, 0.5, 0.375, 0.4375}, -- NodeBox3 + {-0.5, 0.4375, -0.3125, 0.5, 0.5, 0.3125}, -- NodeBox4 + } + }, +})