Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function startingFace()
- local success, data = turtle.inspect()
- if success == true and data.name ~= "thermal:machine_press" then
- turtle.turnLeft()
- startingFace()
- end
- end
- function swapStorage()
- local coin = turtle.getItemCount()
- while coin < 1 do
- turtle.suckDown()
- coin = turtle.getItemCount()
- end
- turtle.drop()
- turtle.turnLeft()
- end
- function main()
- turtle.turnLeft()
- swapStorage()
- end
- startingFace()
- while true do
- main()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement