Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function craft()
- turtle.craft(1)
- end
- function getwheat()
- turtle.suckDown(10)
- end
- function drop()
- turtle.select(2)
- turtle.dropUp(2)
- turtle.select(1)
- end
- function finish()
- turtle.select(1)
- turtle.dropUp(1)
- end
- while (true) do
- craft()
- drop()
- if(turtle.getItemCount(1) <= 10) then
- getwheat()
- end
- if(turtle.getItemCount(1) <= 1) then
- finish()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement