Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----Crafty------
- slot2 = 2
- slot5 = 5
- an = 0
- s2 = slot2
- s5 = slot5
- Items = 0
- -----------------
- function cut()
- sleep(0.5)
- shell.run("clear")
- sleep(0.5)
- end
- -----------------
- while rs.getInput("back") == true do
- print("Crafting")
- sleep(3.5)
- cut()
- turtle.select(2)
- sleep(1)
- turtle.suckUp()
- n1 = turtle.getItemCount(2)
- print(n1 .. " Dust genommen")
- cut()
- n1 = n1-1
- print(n1 .. " Dust im Inventar")
- cut()
- turtle.dropUp(n1)
- sleep(2)
- turtle.select(5)
- sleep(1)
- turtle.suckUp()
- n2 = turtle.getItemCount(5)
- cut()
- print(n2 .. " Dust im Inventar")
- cut()
- n2 = n2-1
- turtle.dropUp(n2)
- cut()
- turtle.select(16)
- turtle.craft()
- turtle.dropDown()
- print("Finish")
- an = an+1
- print( an )
- cut()
- end
- print("No Input")
- cut()
- shell.run("startup")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement