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 = {}
|
local limits = {}
|
||||||
for _, type in ipairs(ITEM_TYPES) do
|
for _, type in ipairs(ITEM_TYPES) do
|
||||||
limits[type] = {
|
limits[type] = {
|
||||||
"nugget" = { stacks(4), stacks(8) },
|
nugget = { stacks(4), stacks(8) },
|
||||||
"ingot" = { stacks(4), stacks(8) },
|
ingot = { stacks(4), stacks(8) },
|
||||||
"block" = { stacks(4), stacks(1000) }
|
block = { stacks(4), stacks(1000) }
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Map types of conversions to specific faces
|
-- Map types of conversions to specific faces
|
||||||
local convert = {}
|
local convert = {}
|
||||||
convert["nugget_to_ingot"] = "front"
|
convert.nugget_to_ingot = "front"
|
||||||
convert["ingot_to_block"] = "top"
|
convert.ingot_to_block = "top"
|
||||||
convert["block_to_ingot"] = "back"
|
convert.block_to_ingot = "back"
|
||||||
|
|
||||||
function sum_items (inv)
|
function sum_items (inv)
|
||||||
-- organize list of item, count into item_type: (count_N, count_I, count_B)
|
-- 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