misc: name main ticker better
This commit is contained in:
parent
378f44a977
commit
256b3779ed
1 changed files with 2 additions and 2 deletions
|
|
@ -161,11 +161,11 @@ function print_counts (items)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local main_inv = peripheral.wrap(MAIN_TICKER)
|
local main_t = peripheral.wrap(MAIN_TICKER)
|
||||||
local request_t = peripheral.wrap(REQUEST_TICKER)
|
local request_t = peripheral.wrap(REQUEST_TICKER)
|
||||||
while true do
|
while true do
|
||||||
-- 1. Sum items in inventory and organize by item type
|
-- 1. Sum items in inventory and organize by item type
|
||||||
local items = sum_items(main_inv.stock)
|
local items = sum_items(main_t.stock)
|
||||||
-- print_counts(items)
|
-- print_counts(items)
|
||||||
|
|
||||||
-- 2. either work towards a desired distribution or create more resources
|
-- 2. either work towards a desired distribution or create more resources
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue