Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- A simple program to suck up water into a bucket.
- -- Put a bucket into slot one, a chest in front of the turtle, and a water source below. You will get a water bucket in the chest.
- while true do
- if turtle.getItemCount(1) >= 1 then
- turtle.select(1)
- if turtle.getItemCount(1) ~= 0 then
- turtle.placeDown()
- turtle.drop()
- end
- else
- sleep()
- end
- end
Add Comment
Please, Sign In to add comment