More bugfixes.
This commit is contained in:
parent
26016b36d9
commit
09298d8b06
1 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue