Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function input()
- if turtle.getItemCount(1) == 1 then
- turtle.select(1)
- sleep(0.3)
- turtle.suckUp()
- end
- end
- function place()
- turtle.select(1)
- turtle.place()
- end
- function mine()
- turtle.dig()
- end
- function output()
- turtle.select(2)
- sleep(0.3)
- turtle.dropDown()
- end
- while true do
- input()
- sleep(1)
- place()
- sleep(1)
- mine()
- sleep(3)
- output()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement