summaryrefslogtreecommitdiff
path: root/lua/helpers.lua
diff options
context:
space:
mode:
authorLNJ <git@lnj.li>2017-04-10 16:40:52 +0200
committerLNJ <git@lnj.li>2017-04-14 16:08:59 +0200
commit753b31d74f0b32159fa6b2d52c8da2f1199d14b3 (patch)
tree44cc2ba02a911920037ef991ed22b1a7e1fb87c8 /lua/helpers.lua
parent899caf5b847dcc33479618a9836c4ae2d7620f06 (diff)
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.
Diffstat (limited to 'lua/helpers.lua')
-rwxr-xr-xlua/helpers.lua4
1 files changed, 4 insertions, 0 deletions
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