Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print" "
- print" "
- print" "
- print"Starting In..."
- diameter=7
- depth=2
- count1=0
- count2=0
- count3=0
- count4=0
- count5=0
- count6=0
- count7=0
- tbtacoIsAwesome=true
- sleep(1)
- print"3..."
- sleep(1)
- print"2..."
- sleep(1)
- print"1..."
- sleep(1)
- print"GO!!!"
- while(count5<(depth-1)) do
- while(count4<(diameter)) do
- while(count1<(diameter-1)) do
- if(turtle.getFuelLevel()<7) then
- while(turtle.refuel(1)==false) do
- print " *Waits For Fuel*"
- sleep(1)
- end
- print " *Refueled*"
- end
- turtle.dig()
- if(turtle.forward()==false) then
- while(turtle.forward()==false) do
- print "Something Is Blocking Movement..."
- sleep(1)
- end
- end
- count1=count1+1
- end
- count4=count4+1
- if(count4>(diameter+1)) then
- turtle.turnRight()
- turtle.turnRight()
- turtle.digDown()
- if(turtle.down()==false) then
- while(turtle.down==false) do
- print "Can't Move Down Any..."
- sleep(1)
- end
- end
- count2=2
- count3=0
- count4=0
- count5=count5+1
- print "Starting Next Level..."
- end
- if(count2==0) then
- turtle.turnRight()
- turtle.dig()
- if(turtle.forward()==false) then
- while(turtle.forward()==false) do
- print "Something Is Blocking Movement..."
- sleep(1)
- end
- end
- turtle.turnRight()
- count3=1
- count4=count4+1
- end
- if(count2==1) then
- turtle.turnLeft()
- turtle.dig()
- if(turtle.forward()==false) then
- while(turtle.forward()==false) do
- print "Something Is Blocking Movement..."
- sleep(1)
- end
- end
- turtle.turnLeft()
- count3=0
- end
- count1=0
- count2=count3
- end
- end
- print "Done!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement