mj41374

testwall

Sep 23rd, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. function buildWall (length)  
  2.   turtle.select(1)
  3.   for i = 1, length do    
  4.     turtle.placeDown()
  5.     turtle.forward()
  6.   end
  7. end
  8.  
  9. turtle.up()
  10. buildWall(7)
  11. turtle.turnRight()
  12. buildWall(7)
  13. turtle.turnRight()
  14. buildWall(7)
  15. turtle.turnRight()
  16. buildWall(7)
Advertisement
Add Comment
Please, Sign In to add comment