mouse961

Carpet Bomb

Oct 11th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. v = 1
  2. y = 1
  3. z = 1
  4. maxv = 48
  5. maxy = 75
  6. maxz = 10
  7.  
  8. local function up()
  9. repeat
  10. z = z + 1
  11. turtle.up()
  12. until z == maxz
  13. forward()
  14. end
  15.  
  16. local function forward()
  17. repeat
  18. y = y + 1
  19. turtle.up()
  20. until y == maxy
  21. bomb()
  22. end
  23.  
  24. local function bomb()
  25. v = 1
  26. maxv = 48
  27. repeat
  28. movev = movev + 1
  29. turtle.forward(3)
  30. turtle.placeDown()
  31. redstone.setOutput("bottom", true )
  32. sleep(0.1)
  33. redstone.setOutput("bottom", false )
  34. until v == maxv
  35. end
Advertisement
Add Comment
Please, Sign In to add comment