Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fuelcheck()
- if turtle.getItemCount(3) <1 then
- turtle.select(3)
- turtle.down()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.suck()
- end
- repeat
- turtle.drop(1)
- until
- turtle.getItemCount() == 5
- end
- turtle.turnRight()
- turtle.turnRight()
- turtle.up()
- print("Got the fuel")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement