Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function autoCraft()
- count=math.floor(turtle.getItemCount(1) / 9)
- print(count)
- turtle.select(1)
- turtle.transferTo(2,count)
- turtle.transferTo(3,count)
- turtle.transferTo(5,count)
- turtle.transferTo(6,count)
- turtle.transferTo(7,count)
- turtle.transferTo(9,count)
- turtle.transferTo(10,count)
- turtle.transferTo(11,count)
- turtle.craft()
- end
- while true do
- turtle.select(1)
- turtle.suck()
- if turtle.getItemCount(1)>9 then
- autoCraft()
- for c=2,2 do
- turtle.select(c)
- turtle.dropDown()
- end
- end
- turtle.turnLeft()
- turtle.turnRight()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement