From 753b31d74f0b32159fa6b2d52c8da2f1199d14b3 Mon Sep 17 00:00:00 2001 From: LNJ Date: Mon, 10 Apr 2017 16:40:52 +0200 Subject: Add drawers in all wood types This is still fully MineClone 2 compatible; there are different drawers in MCL2 than MTG and they have different textures. If you combine different wood types in the crafting field, the default drawer (oak/wooden) will be crafted. If you use the same wood, a drawer of this wood will be crafted. --- lua/helpers.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/helpers.lua') diff --git a/lua/helpers.lua b/lua/helpers.lua index fa1087a..af5207c 100755 --- a/lua/helpers.lua +++ b/lua/helpers.lua @@ -204,3 +204,7 @@ function drawers.randomize_pos(pos) rndpos.z = rndpos.z + z return rndpos end + +function drawers.node_tiles_front_other(front, other) + return {other, other, other, other, other, front} +end -- cgit v1.2.3