Advertisement
Guest User

place.l

a guest
Feb 19th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. local function Place()
  2.   turtle.place(64)
  3. end
  4.  
  5. local function sechest()
  6. turtle.select(16)
  7. end
  8.  
  9. local function pai()
  10.   for i=1,15 do
  11.     turtle.select(i)
  12.     turtle.drop(64)
  13.   end
  14. end
  15.    
  16.  
  17. local function Turn90()
  18.   for i=1,2 do
  19.     turtle.turnLeft()
  20.   end
  21. end
  22.  
  23. local function Mine()
  24.   turtle.dig()
  25. end
  26.  
  27. local function Chest()
  28. turtle.drop(64)
  29. end
  30.  
  31. local function exc(lengh,with)
  32.   for i=1,with do
  33.     for y=1,lengh do
  34.       turtle.dig()
  35.       turtle.forward()
  36.       turtle.digUp()
  37.     end
  38.   end
  39. end
  40.  
  41. local function run()
  42. exec(100,100)
  43. Turn90()
  44. sechest()
  45. Place()
  46. pai()
  47. sechest()
  48. Mine()
  49. Turn90()
  50. end
  51.  
  52.  
  53. run()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement