Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local function drop()
- for i = 3, 16 do
- turtle.select(i)
- turtle.dropUp()
- end
- end
- local function doughcraft(num)
- for i = 1,num do
- turtle.select(3)
- turtle.placeUp()
- turtle.select(2)
- turtle.placeDown()
- turtle.craft()
- end
- end
- local function run()
- turtle.select(1)
- turtle.suck()
- if turtle.getItemCount(1) > 3 then
- doughcraft(turtle.getItemCount(1)-2)
- drop()
- end
- end
- run()
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement