From f0c10c432fd02d43762e45cf9c5da9f984678763 Mon Sep 17 00:00:00 2001 From: Milan* <tchncs@vivaldi.net> Date: Mon, 20 Mar 2017 22:32:45 +0100 Subject: [PATCH] Revert "Revert "add LegendOfMinetest nodeboxes for furnace and default chest"" This reverts commit 6ef3a208e0415449e32e4d22c31bafc65be72d0d. --- nodes.lua | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) 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 + } + }, +}) -- GitLab