feat: add crafting requester

This commit is contained in:
Emerson Rosen-Jones 2026-01-17 16:30:43 -05:00
parent ceca1b3d60
commit 47c3db46f9

View file

@ -9,6 +9,7 @@
local MAIN_TICKER = ""
local REQUEST_TICKER = ""
local STORAGE_ADDRESS = ""
local CRAFTING_REQUESTER = ""
local SLEEP_TIME = 30
local NUGGET_RATIO = 63 -- amount of nuggets per craft
local BLOCK_RATIO = 7 -- amount of blocks per craft
@ -160,6 +161,8 @@ end
local main_t = peripheral.wrap(MAIN_TICKER)
local request_t = peripheral.wrap(REQUEST_TICKER)
local craft_requester = peripheral.wrap(CRAFTING_REQUESTER)
craft_requester.setConfiguration("strict")
local requesting = {}
while true do
-- 1. Sum items in inventory and organize by item type