Advertisement
jBlume

Test 2

May 5th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. turtle.up()
  2. turtle.placeDown()
  3. for t=1,4 do
  4. for w=1,11 do
  5. turtle.forward()
  6. turtle.placeDown()
  7. end
  8. turtle.turnRight()
  9. end
  10. turtle.turnRight()
  11. turtle.forward()
  12. turtle.down()
  13.  
  14. r=1
  15. while true do
  16. turtle.forward()
  17. turtle.turnRight()
  18. turtle.turnRight()
  19. turtle.place()
  20. turtle.turnLeft()
  21. turtle.turnLeft()
  22. if r<16 and turtle.getItemCount(r)<1 then
  23. r=r+1
  24. turtle.select(r)
  25. end
  26. if r==16 and turtle.getItemCount(r)<1 then
  27. for p=1,100000 do
  28. print "I am out of Items."
  29. end
  30. end
  31. if turtle.detect() then
  32. turtle.turnRight()
  33. if turtle.detect() then
  34. turtle.turnRight()
  35. if turtle.detect() then
  36. turtle.turnRight()
  37. if turtle.detect() then
  38. turtle.turnRight()
  39. if turtle.detect() then
  40. turtle.turnRight()
  41. if turtle.detect() then
  42. turtle.up()
  43. turtle.placeDown()
  44. for p=1,100000 do
  45. print "The floor has been made."
  46. end
  47. end
  48. end
  49. end
  50. end
  51. end
  52. end
  53. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement