diff options
author | LNJ <git@lnj.li> | 2017-04-10 16:40:52 +0200 |
---|---|---|
committer | LNJ <git@lnj.li> | 2017-04-14 16:08:59 +0200 |
commit | 753b31d74f0b32159fa6b2d52c8da2f1199d14b3 (patch) | |
tree | 44cc2ba02a911920037ef991ed22b1a7e1fb87c8 /lua | |
parent | 899caf5b847dcc33479618a9836c4ae2d7620f06 (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')
-rwxr-xr-x | lua/helpers.lua | 4 |
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 |