Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("In den 1. Slot eine Enderchest")
- write("Drücke (Enter)")
- l = io.read()
- j=1
- o=1
- t=0
- function forward()
- while(not turtle.forward()) do
- turtle.dig()
- end
- end
- function digUp()
- while(turtle.detectUp()) do
- turtle.digUp()
- sleep(0.4)
- end
- end
- while (turtle.getFuelLevel() > 0) do
- turtle.turnRight()
- j=j+0.5
- for k=1,o do
- if(turtle.getItemCount(16) > 0) then
- turtle.select(1)
- turtle.placeUp()
- for i=2,16 do
- turtle.select(i)
- turtle.dropUp()
- end
- turtle.select(1)
- turtle.digUp()
- end
- o = j
- math.floor(o)
- forward()
- digUp()
- turtle.digDown()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement