mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-09 16:33:44 +01:00
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.
This commit is contained in:
parent
30ff9449d5
commit
d539969310
24
init.lua
24
init.lua
@ -75,7 +75,7 @@ if core.get_modpath("default") and default then
|
|||||||
"drawers_wood.png"),
|
"drawers_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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
|
material = drawers.WOOD_ITEMSTRING
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:acacia_wood", {
|
drawers.register_drawer("drawers:acacia_wood", {
|
||||||
@ -88,7 +88,7 @@ if core.get_modpath("default") and default then
|
|||||||
"drawers_acacia_wood.png"),
|
"drawers_acacia_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "default:acacia_wood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:aspen_wood", {
|
drawers.register_drawer("drawers:aspen_wood", {
|
||||||
@ -101,7 +101,7 @@ if core.get_modpath("default") and default then
|
|||||||
"drawers_aspen_wood.png"),
|
"drawers_aspen_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "default:aspen_wood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:junglewood", {
|
drawers.register_drawer("drawers:junglewood", {
|
||||||
@ -114,7 +114,7 @@ if core.get_modpath("default") and default then
|
|||||||
"drawers_junglewood.png"),
|
"drawers_junglewood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "default:junglewood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:pine_wood", {
|
drawers.register_drawer("drawers:pine_wood", {
|
||||||
@ -127,7 +127,7 @@ if core.get_modpath("default") and default then
|
|||||||
"drawers_pine_wood.png"),
|
"drawers_pine_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "default:pine_wood"
|
||||||
})
|
})
|
||||||
elseif core.get_modpath("mcl_core") and mcl_core then
|
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"),
|
"drawers_oak_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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
|
material = drawers.WOOD_ITEMSTRING
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:acaciawood", {
|
drawers.register_drawer("drawers:acaciawood", {
|
||||||
@ -154,7 +154,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_acacia_wood_mcl.png"),
|
"drawers_acacia_wood_mcl.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "mcl_core:acaciawood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:birchwood", {
|
drawers.register_drawer("drawers:birchwood", {
|
||||||
@ -167,7 +167,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_birch_wood.png"),
|
"drawers_birch_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "mcl_core:birchwood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:darkwood", {
|
drawers.register_drawer("drawers:darkwood", {
|
||||||
@ -180,7 +180,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_dark_oak_wood.png"),
|
"drawers_dark_oak_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "mcl_core:darkwood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:junglewood", {
|
drawers.register_drawer("drawers:junglewood", {
|
||||||
@ -193,7 +193,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_junglewood_mcl.png"),
|
"drawers_junglewood_mcl.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "mcl_core:junglewood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:sprucewood", {
|
drawers.register_drawer("drawers:sprucewood", {
|
||||||
@ -206,7 +206,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_spruce_wood.png"),
|
"drawers_spruce_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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"
|
material = "mcl_core:sprucewood"
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -225,7 +225,7 @@ else
|
|||||||
"drawers_wood.png"),
|
"drawers_wood.png"),
|
||||||
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
groups = {choppy = 3, oddly_breakable_by_hand = 2},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
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
|
material = drawers.WOOD_ITEMSTRING
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user