Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local robot = require("robot")
- local component = require("component")
- local inv = component.inventory_controller
- for i = 1, 300 do
- for m = 1, 8 do
- robot.use(nil, true)
- end
- robot.swing()
- inv.equip()
- robot.use()
- inv.equip()
- if robot.count() < 3 then
- for i = 2, 16 do
- if robot.compareTo(i) then
- robot.select(i)
- robot.transferTo(1)
- robot.select(1)
- break
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement