gumland44

ComputerCraft 12x12 Floor Builder

Sep 24th, 2012
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.03 KB | None | 0 0
  1. function line()
  2.  for a = 1,11 do
  3.   turtle.placeDown()
  4.   turtle.forward()
  5.  end
  6. end
  7.  
  8. function fourLines()
  9.  for b = 1,2 do
  10.   line()
  11.   turtle.placeDown()
  12.   turtle.turnRight()
  13.   turtle.forward()
  14.   turtle.turnRight()
  15.   line()
  16.   turtle.placeDown()
  17.   turtle.turnLeft()
  18.   turtle.forward()
  19.   turtle.turnLeft()
  20.  end
  21. end
  22.  
  23. function c()
  24.  for c = 1,4 do
  25.   turtle.placeDown()
  26.   turtle.forward()
  27.  end
  28. end
  29.  
  30. function d()
  31.  for d = 1,7 do
  32.   turtle.placeDown()
  33.   turtle.forward()
  34.  end
  35. end
  36.  
  37. function e()
  38.  for e = 1,8 do
  39.   turtle.placeDown()
  40.   turtle.forward()
  41.  end
  42. end
  43.  
  44. function f()
  45.  for f = 1,3 do
  46.   turtle.placeDown()
  47.   turtle.forward()
  48.  end
  49. end
  50.  
  51. turtle.up()
  52. turtle.select(1)
  53. fourLines()
  54. c()
  55. turtle.select(2)
  56. d()
  57. turtle.placeDown()
  58. turtle.turnLeft()
  59. turtle.forward()
  60. turtle.turnLeft()
  61. fourLines()
  62. e()
  63. turtle.select(3)
  64. f()
  65. turtle.placeDown()
  66. turtle.turnLeft()
  67. turtle.forward()
  68. turtle.turnLeft()
  69. line()
  70. turtle.placeDown()
  71. turtle.turnRight()
  72. turtle.forward()
  73. turtle.turnRight()
  74. line()
  75. turtle.placeDown()
Advertisement
Add Comment
Please, Sign In to add comment