Neopherus

lane

Feb 5th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tArgs = { ... }
  2. local adv = tonumber(tArgs[1])
  3. local up = tonumber(tArgs[2])
  4. --
  5. function inventory()
  6.   if turtle.getItemCount(1) == 0 then
  7.   turtle.select(2)
  8.  end
  9. end
  10.    
  11.   for i= 1, adv do
  12.   inventory()
  13.   turtle.placeDown()
  14.   turtle.forward()
  15.   end
Advertisement
Add Comment
Please, Sign In to add comment