Advertisement
bugs399

ComputerCraft House over 9000

Jul 24th, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. local slot = 1
  2.  
  3. function house()
  4.     turtle.up()
  5.     for i = 1,4 do
  6.             local slot = slot + 1
  7.         if slot == 16 then
  8.         turtle.select(1)
  9.         turtle.select(slot)
  10.    
  11.         end
  12.     end
  13.    
  14.        
  15.         turtle.placeDown()
  16.         turtle.turnRight()
  17.         turtle.forward()
  18.        
  19.         turtle.placeDown()
  20.         turtle.forward()
  21.         turtle.placeDown()
  22.         turtle.forward()
  23.         turtle.placeDown() 
  24.         if turtle.getItemCount == 0 then
  25.  
  26.     end
  27. end
  28.  
  29.  
  30.  
  31. while true do
  32.     house()
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement