From 09298d8b0678f75a2770b33cc45184ce75ea7056 Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Sun, 14 Sep 2025 13:02:52 -0400 Subject: [PATCH] More bugfixes. --- compacting-storage.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compacting-storage.lua b/compacting-storage.lua index 7477cae..3c96bfa 100644 --- a/compacting-storage.lua +++ b/compacting-storage.lua @@ -28,17 +28,17 @@ target.electrum = peripheral.wrap"" local limits = {} for _, type in ipairs(ITEM_TYPES) do limits[type] = { - "nugget" = { stacks(4), stacks(8) }, - "ingot" = { stacks(4), stacks(8) }, - "block" = { stacks(4), stacks(1000) } + nugget = { stacks(4), stacks(8) }, + ingot = { stacks(4), stacks(8) }, + block = { stacks(4), stacks(1000) } } end -- Map types of conversions to specific faces local convert = {} -convert["nugget_to_ingot"] = "front" -convert["ingot_to_block"] = "top" -convert["block_to_ingot"] = "back" +convert.nugget_to_ingot = "front" +convert.ingot_to_block = "top" +convert.block_to_ingot = "back" function sum_items (inv) -- organize list of item, count into item_type: (count_N, count_I, count_B)