Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local r = require("robot")
- local component = require("component")
- while true do
- r.turnLeft()
- for x=1, 13 do r.forward() end
- r.turnLeft()
- for x=1, 7 do r.forward() end
- r.turnRight()
- for x=1, 33 do r.forward() end
- r.turnLeft()
- for x=1, 3 do r.forward() end
- r.turnRight()
- r.use()
- for x=1, component.inventory_controller.getInventorySize(3) do
- component.inventory_controller.suckFromSlot(3, x)
- end
- r.turnRight()
- for x=1, 3 do r.forward() end
- r.turnRight()
- for x=1, 33 do r.forward() end
- r.turnLeft()
- for x=1, 7 do r.forward() end
- r.turnRight()
- for x=1, 13 do r.forward() end
- r.turnLeft()
- for x=1, r.inventorySize() do
- r.select(x)
- r.drop()
- end
- r.select(1)
- r.turnLeft()
- for x=1, 13 do r.forward() end
- r.turnLeft()
- for x=1, 7 do r.forward() end
- r.turnRight()
- for x=1, 33 do r.forward() end
- r.turnLeft()
- for x=1, 3 do r.forward() end
- r.turnRight()
- r.up()
- r.use()
- for x=1, component.inventory_controller.getInventorySize(3) do
- component.inventory_controller.suckFromSlot(3, x)
- end
- r.down()
- r.turnRight()
- for x=1, 3 do r.forward() end
- r.turnRight()
- for x=1, 33 do r.forward() end
- r.turnLeft()
- for x=1, 7 do r.forward() end
- r.turnRight()
- for x=1, 13 do r.forward() end
- r.turnLeft()
- for x=1, r.inventorySize() do
- r.select(x)
- r.drop()
- end
- r.select(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement