daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local log = 1
  2.  
  3. turtle.select(log)
  4.  -- if the tree has grown
  5.     if turtle.compare() then
  6.       turtle.dig()
  7.       turtle.forward()
  8.       -- harvest the tree
  9.       while turtle.detectUp() do
  10.       turtle.digUp()  
  11.       turtle.up()
  12.       end
  13.       -- return to the ground
  14.       while not turtle.detectDown() do
  15.         turtle.down()
  16.       end
  17.         turtle.back()
  18.     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