Advertisement
Guest User

beans

a guest
Jan 22nd, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. top = peripheral.wrap("top")
  2.  
  3. while true do
  4.   for i=1,3,1 do
  5.     aspects = top.getAspects()
  6.     if table.getn(aspects) > 0 then
  7.       turtle.digUp()
  8.       turtle.placeUp()
  9.     end
  10.     turtle.forward()
  11.   end
  12.   turtle.back()
  13.   sleep(60)
  14.   for i=1,3,1 do
  15.     aspects = top.getAspects()
  16.     if table.getn(aspects) > 0 then
  17.       turtle.digUp()
  18.       turtle.placeUp()
  19.     end
  20.     turtle.back()
  21.   end
  22.   turtle.forward()
  23.   sleep(60)
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement