SHARE
TWEET

Farm_colorwool

hekay Jun 12th, 2015 (edited) 680 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local r = (require"robot")
  2. local sheeps = 8
  3. function Line()
  4.         r.forward()
  5.                 for i = 1,sheeps do
  6.                 r.forward()
  7.                 r.useDown()
  8.                 r.forward()
  9.                 end
  10. end
  11. function Chest()
  12.                 for c = 1,16 do
  13.                 r.select(c)
  14.                 r.dropDown()
  15.                 end
  16.         r.select(1)
  17. end
  18. --programm--
  19. while true do
  20.         for i = 1,2 do
  21.         Line()
  22.         r.turnRight()
  23.                 for i = 1,6 do r.forward() end
  24.         r.turnRight()
  25.  end
  26.         Chest()
  27.         os.sleep(60)
  28.  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