-- _PROGRAM 2.5 local robot = require("robot") local component = require("component") function getItems() robot.setLightColor(0xF4FF0D) --yellow print("Pulling...") robot.select(1) robot.suck() expUse() end function expUse() robot.setLightColor(0x00FF00) --green component.inventory_controller.equip() print("Extracting...") for i=64,1 do robot.use() end while true do getItems() end