SHARE
TWEET

farmer(2.0)

a guest Aug 25th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local rowcount
  2. local rowlength
  3. local rowprogress = 1
  4.  
  5. print("1 or 2 rows?")
  6. rowcount = read()
  7.  
  8. print("how long are the row(s)?")
  9. rowlength = read()
  10.  
  11. if rowcount == 1 then
  12.     while true do
  13.         repeat
  14.             if turtle.detectDown() then
  15.                 turtle.digDown()
  16.             end
  17.             turtle.forward()
  18.             rowprogress = rowprogress + 1
  19.         until rowprogress == rowlength
  20.         turtle.turnLeft(2)
  21.         turtle.forward(rowlength - 1)
  22.         turtle.drop()
  23.         turtle.turnleft(2)
  24.    end
  25. else
  26. print("not programed yet")
  27. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top