Damaged

Replace stuff with stone

Nov 5th, 2012
210
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. function PlaceStone()
  2.     turtle.digDown()
  3.     turtle.select( 1 )
  4.     if turtle.compareTo( 9 ) == false then
  5.         turtle.drop()
  6.     end
  7.     for x=1,9 do
  8.         if turtle.getItemCount( x ) == true then
  9.             turtle.select( x )
  10.             turtle.placeDown()
  11.         end
  12.     end
  13.  
  14. end
  15.      
  16.  
  17. for x=1,9 do
  18.     if turtle.getItemCount( x ) == true then
  19.         turtle.select( x )
  20.         if turtle.compareDown() == false then
  21.             PlaceStone()
  22.         end
  23.     end
  24. end
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment