Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- turtle.drop()
- while true do
- if(turtle.getItemCount(1)==9) then
- i = 11
- while(i > 1) do
- if(i == 4) then
- i=3
- end
- if(i == 8) then
- i=7
- end
- turtle.transferTo(i,1)
- i = i-1
- end
- if(turtle.craft())then
- rednet.broadcast("crafted!")
- end
- while(turtle.getItemCount(1)>0) do
- turtle.dropDown()
- rs.setRedstoneOutput("top",true)
- end
- rs.setRedstoneOutput("top",false)
- end
- end
- sleep(0.1)
- end
Add Comment
Please, Sign In to add comment