summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorLNJ <git@lnj.li>2017-04-02 21:29:32 +0200
committerLNJ <git@lnj.li>2017-04-05 14:53:16 +0200
commitd3d29fb4979f720fc1eed793b74b18d5dd0d521f (patch)
tree64843a0d7fc1a35318998c61bbe0df727165bb04 /init.lua
parent06beee465248de2e37923db8553daf6c9893bc67 (diff)
Add basic 2x2 Drawers
They're still missing some functionality as pipeworks and drops after dug. This will be done in the next commit(s).
Diffstat (limited to 'init.lua')
-rwxr-xr-xinit.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index c805099..b15f828 100755
--- a/init.lua
+++ b/init.lua
@@ -59,8 +59,10 @@ dofile(modpath .. "/lua/api.lua")
drawers.register_drawer("drawers:wood", {
description = "Wooden Drawer",
- tiles = {"drawers_wood.png", "drawers_wood.png", "drawers_wood.png",
- "drawers_wood.png", "drawers_wood.png", "drawers_wood_front.png"},
+ tiles1 = {"drawers_wood.png", "drawers_wood.png", "drawers_wood.png",
+ "drawers_wood.png", "drawers_wood.png", "drawers_wood_front_1.png"},
+ tiles4 = {"drawers_wood.png", "drawers_wood.png", "drawers_wood.png",
+ "drawers_wood.png", "drawers_wood.png", "drawers_wood_front_4.png"},
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
drawer_stack_max_factor = 3 * 8, -- normal chest size