Advertisement
Guest User

stone

a guest
Apr 6th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.74 KB | None | 0 0
  1. local SuckCount = 64;
  2. local slot = 2;
  3.  
  4. function suck_items()
  5.     for suck = 1,9 do
  6.        turtle.select(slot);
  7.        turtle.suckUp(SuckCount);
  8.        slot = slot + 1;
  9.        SuckCount = SuckCount - 8;
  10.     end;
  11. end;
  12.  
  13.  
  14. turtle.refuel(64);
  15.  
  16. suck_items();
  17.  
  18. turtle.select(2);
  19. turtle.forward();
  20.  
  21. local x = 16;
  22. local x2 = 3;
  23.  
  24. function LevelUp()
  25.     turtle.forward();
  26.     turtle.turnRight();
  27.     turtle.forward();
  28.     turtle.turnLeft();
  29.     turtle.select(x2);
  30.     x2 = x2 + 1;
  31. end;
  32.  
  33. function Place()
  34.     for i = 1, 8 do
  35.         for i = 1, 4 do
  36.             for placer = 1, x do
  37.                 turtle.forward();
  38.                 turtle.placeDown();
  39.             end;
  40.             turtle.turnRight();
  41.         end;
  42.         LevelUp();
  43.         x = x - 2;
  44.     end;
  45. end;
  46.  
  47. for Godown = 1, 20 do
  48.     turtle.down();
  49. end;
  50.  
  51. Place();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement