Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 23rd, 2018 55 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. local lib = {}
  2. lib.tick = 1
  3.  
  4. function lib.move()
  5.     while turtle.detect() do turtle.up() end
  6.     while not(turtle.forward()) do sleep(lib.tick) end
  7.     while not(turtle.detectDown()) do turtle.down() end
  8.     local succ, meta = turtle.inspectDown()
  9.     return meta.name
  10. end
  11.  
  12. for i=1, 12 do
  13.     print(lib.move())
  14. 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