mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-22 14:43:45 +01:00
code-style fix
nothing important, adhere to guidelines even if not particularly relevant here
This commit is contained in:
parent
f6bca2ade2
commit
31c0bfd23a
25
init.lua
25
init.lua
@ -88,7 +88,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 = 4 * 8, -- normal chest size
|
drawer_stack_max_factor = 32, -- 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", {
|
||||||
@ -101,7 +101,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 = 4 * 8, -- normal mcl chest size
|
drawer_stack_max_factor = 32, -- 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", {
|
||||||
@ -114,7 +114,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 = 4 * 8, -- normal chest size
|
drawer_stack_max_factor = 32, -- 4 * 8 normal chest size
|
||||||
material = "default:aspen_wood"
|
material = "default:aspen_wood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:junglewood", {
|
drawers.register_drawer("drawers:junglewood", {
|
||||||
@ -127,7 +127,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 = 4 * 8, -- normal mcl chest size
|
drawer_stack_max_factor = 32, -- 4 * 8 normal mcl chest size
|
||||||
material = "default:junglewood"
|
material = "default:junglewood"
|
||||||
})
|
})
|
||||||
drawers.register_drawer("drawers:pine_wood", {
|
drawers.register_drawer("drawers:pine_wood", {
|
||||||
@ -140,7 +140,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 = 4 * 8, -- normal chest size
|
drawer_stack_max_factor = 32, -- 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
|
||||||
@ -154,7 +154,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_oak_wood.png"),
|
"drawers_oak_wood.png"),
|
||||||
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
sounds = drawers.WOOD_SOUNDS,
|
||||||
drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
|
drawer_stack_max_factor = 36, -- 4 * 9 normal mcl chest size
|
||||||
material = drawers.WOOD_ITEMSTRING,
|
material = drawers.WOOD_ITEMSTRING,
|
||||||
_mcl_blast_resistance = 15,
|
_mcl_blast_resistance = 15,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
@ -169,7 +169,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_acacia_wood_mcl.png"),
|
"drawers_acacia_wood_mcl.png"),
|
||||||
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
sounds = drawers.WOOD_SOUNDS,
|
||||||
drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
|
drawer_stack_max_factor = 36, -- 4 * 9 normal mcl chest size
|
||||||
material = "mcl_core:acaciawood",
|
material = "mcl_core:acaciawood",
|
||||||
_mcl_blast_resistance = 15,
|
_mcl_blast_resistance = 15,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
@ -184,7 +184,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_birch_wood.png"),
|
"drawers_birch_wood.png"),
|
||||||
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
sounds = drawers.WOOD_SOUNDS,
|
||||||
drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
|
drawer_stack_max_factor = 36, -- 4 * 9 normal mcl chest size
|
||||||
material = "mcl_core:birchwood",
|
material = "mcl_core:birchwood",
|
||||||
_mcl_blast_resistance = 15,
|
_mcl_blast_resistance = 15,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
@ -199,7 +199,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_dark_oak_wood.png"),
|
"drawers_dark_oak_wood.png"),
|
||||||
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
sounds = drawers.WOOD_SOUNDS,
|
||||||
drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
|
drawer_stack_max_factor = 36, -- 4 * 9 normal mcl chest size
|
||||||
material = "mcl_core:darkwood",
|
material = "mcl_core:darkwood",
|
||||||
_mcl_blast_resistance = 15,
|
_mcl_blast_resistance = 15,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
@ -214,7 +214,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_junglewood_mcl.png"),
|
"drawers_junglewood_mcl.png"),
|
||||||
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
sounds = drawers.WOOD_SOUNDS,
|
||||||
drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
|
drawer_stack_max_factor = 36, -- 4 * 9 normal mcl chest size
|
||||||
material = "mcl_core:junglewood",
|
material = "mcl_core:junglewood",
|
||||||
_mcl_blast_resistance = 15,
|
_mcl_blast_resistance = 15,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
@ -229,7 +229,7 @@ elseif core.get_modpath("mcl_core") and mcl_core then
|
|||||||
"drawers_spruce_wood.png"),
|
"drawers_spruce_wood.png"),
|
||||||
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
|
||||||
sounds = drawers.WOOD_SOUNDS,
|
sounds = drawers.WOOD_SOUNDS,
|
||||||
drawer_stack_max_factor = 4 * 9, -- normal mcl chest size
|
drawer_stack_max_factor = 36, -- 4 * 9 normal mcl chest size
|
||||||
material = "mcl_core:sprucewood",
|
material = "mcl_core:sprucewood",
|
||||||
_mcl_blast_resistance = 15,
|
_mcl_blast_resistance = 15,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
@ -250,7 +250,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 = 4 * 8, -- normal chest size
|
drawer_stack_max_factor = 32, -- 4 * 8 normal chest size
|
||||||
material = drawers.WOOD_ITEMSTRING
|
material = drawers.WOOD_ITEMSTRING
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -380,3 +380,4 @@ core.register_craft({
|
|||||||
{"group:stick", "group:stick", "group:stick"}
|
{"group:stick", "group:stick", "group:stick"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user