feat: add crafting requester
This commit is contained in:
parent
ceca1b3d60
commit
47c3db46f9
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
local MAIN_TICKER = ""
|
local MAIN_TICKER = ""
|
||||||
local REQUEST_TICKER = ""
|
local REQUEST_TICKER = ""
|
||||||
local STORAGE_ADDRESS = ""
|
local STORAGE_ADDRESS = ""
|
||||||
|
local CRAFTING_REQUESTER = ""
|
||||||
local SLEEP_TIME = 30
|
local SLEEP_TIME = 30
|
||||||
local NUGGET_RATIO = 63 -- amount of nuggets per craft
|
local NUGGET_RATIO = 63 -- amount of nuggets per craft
|
||||||
local BLOCK_RATIO = 7 -- amount of blocks per craft
|
local BLOCK_RATIO = 7 -- amount of blocks per craft
|
||||||
|
|
@ -160,6 +161,8 @@ end
|
||||||
|
|
||||||
local main_t = 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)
|
||||||
|
local craft_requester = peripheral.wrap(CRAFTING_REQUESTER)
|
||||||
|
craft_requester.setConfiguration("strict")
|
||||||
local requesting = {}
|
local requesting = {}
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue