summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLNJ <git@lnj.li>2017-06-02 21:43:32 +0200
committerLNJ <git@lnj.li>2017-06-02 21:45:51 +0200
commitd539969310455969ece05e4c4300712daaa84537 (patch)
treed29d2eb8cccaab713bf5b7087b2a0e58addcbe7d
parent30ff9449d58e05994efb72be945326b9a28b448e (diff)
Increase drawer capacity to 32 stack sizes
I did a mistake before here: Drawers only had the size of 24 stacks, but they should have had space for 32 stacks, as a normal chest will do. With this it's fixed now.
-rwxr-xr-xinit.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/init.lua b/init.lua
index c84d0b9..41da496 100755
--- a/init.lua
+++ b/init.lua
@@ -75,7 +75,7 @@ if core.get_modpath("default") and default then
"drawers_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 8, -- normal chest size
+ drawer_stack_max_factor = 4 * 8, -- normal chest size
material = drawers.WOOD_ITEMSTRING
})
drawers.register_drawer("drawers:acacia_wood", {
@@ -88,7 +88,7 @@ if core.get_modpath("default") and default then
"drawers_acacia_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 8, -- normal mcl chest size
+ drawer_stack_max_factor = 4 * 8, -- normal mcl chest size
material = "default:acacia_wood"
})
drawers.register_drawer("drawers:aspen_wood", {
@@ -101,7 +101,7 @@ if core.get_modpath("default") and default then
"drawers_aspen_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 8, -- normal chest size
+ drawer_stack_max_factor = 4 * 8, -- normal chest size
material = "default:aspen_wood"
})
drawers.register_drawer("drawers:junglewood", {
@@ -114,7 +114,7 @@ if core.get_modpath("default") and default then
"drawers_junglewood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 8, -- normal mcl chest size
+ drawer_stack_max_factor = 4 * 8, -- normal mcl chest size
material = "default:junglewood"
})
drawers.register_drawer("drawers:pine_wood", {
@@ -127,7 +127,7 @@ if core.get_modpath("default") and default then
"drawers_pine_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 8, -- normal chest size
+ drawer_stack_max_factor = 4 * 8, -- normal chest size
material = "default:pine_wood"
})
elseif core.get_modpath("mcl_core") and mcl_core then
@@ -141,7 +141,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
"drawers_oak_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 9, -- normal mcl chest size
+ drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
material = drawers.WOOD_ITEMSTRING
})
drawers.register_drawer("drawers:acaciawood", {
@@ -154,7 +154,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
"drawers_acacia_wood_mcl.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 9, -- normal mcl chest size
+ drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
material = "mcl_core:acaciawood"
})
drawers.register_drawer("drawers:birchwood", {
@@ -167,7 +167,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
"drawers_birch_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 9, -- normal mcl chest size
+ drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
material = "mcl_core:birchwood"
})
drawers.register_drawer("drawers:darkwood", {
@@ -180,7 +180,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
"drawers_dark_oak_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 9, -- normal mcl chest size
+ drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
material = "mcl_core:darkwood"
})
drawers.register_drawer("drawers:junglewood", {
@@ -193,7 +193,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
"drawers_junglewood_mcl.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 9, -- normal mcl chest size
+ drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
material = "mcl_core:junglewood"
})
drawers.register_drawer("drawers:sprucewood", {
@@ -206,7 +206,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
"drawers_spruce_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 9, -- normal mcl chest size
+ drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
material = "mcl_core:sprucewood"
})
@@ -225,7 +225,7 @@ else
"drawers_wood.png"),
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = drawers.WOOD_SOUNDS,
- drawer_stack_max_factor = 3 * 8, -- normal chest size
+ drawer_stack_max_factor = 4 * 8, -- normal chest size
material = drawers.WOOD_ITEMSTRING
})
end