wrong module definition in circles.lua

This commit is contained in:
Sascha Martens 2020-11-12 20:38:05 +01:00
parent 85abbfd8a4
commit cf41150a10

View File

@ -81,7 +81,7 @@ end
function circle2(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 4)
circles.initial_circle_setup(material, 4)
modules.select_and_place_down(material)
turtle.forward()
@ -103,7 +103,7 @@ end
function circle3(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 8)
circles.initial_circle_setup(material, 8)
for i = 1, 4 do
for j = 1, 2 do
@ -120,7 +120,7 @@ end
function circle4(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 8)
circles.initial_circle_setup(material, 8)
turtle.turnLeft()
turtle.forward()
turtle.turnRight()
@ -145,7 +145,7 @@ end
function circle5(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 12)
circles.initial_circle_setup(material, 12)
turtle.turnLeft()
turtle.forward()
turtle.turnRight()
@ -171,7 +171,7 @@ end
function circle6(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 16)
circles.initial_circle_setup(material, 16)
turtle.turnLeft()
turtle.forward()
turtle.turnRight()
@ -197,7 +197,7 @@ end
function circle7(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 16)
circles.initial_circle_setup(material, 16)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -223,7 +223,7 @@ end
function circle8(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 20)
circles.initial_circle_setup(material, 20)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -249,7 +249,7 @@ end
function circle9(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 24)
circles.initial_circle_setup(material, 24)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -275,11 +275,11 @@ end
function circle10(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 28)
circles.initial_circle_setup(material, 28)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_triangle(material)
circles.place_triangle(material)
turtle.turnRight()
for j = 1, 4 do
turtle.forward()
@ -297,11 +297,11 @@ end
function circle11(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 28)
circles.initial_circle_setup(material, 28)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_column(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 5 do
turtle.forward()
@ -319,12 +319,12 @@ end
function circle12(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 32)
circles.initial_circle_setup(material, 32)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 4 do
turtle.forward()
@ -342,12 +342,12 @@ end
function circle13(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 36)
circles.initial_circle_setup(material, 36)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 5 do
turtle.forward()
@ -365,11 +365,11 @@ end
function circle14(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 36)
circles.initial_circle_setup(material, 36)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_diagonal(3, material)
circles.place_diagonal(3, material)
turtle.turnRight()
for j = 1, 6 do
turtle.forward()
@ -387,13 +387,13 @@ end
function circle15(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 36)
circles.initial_circle_setup(material, 36)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_diagonal(1, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_diagonal(1, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 5 do
turtle.forward()
@ -411,13 +411,13 @@ end
function circle16(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 44)
circles.initial_circle_setup(material, 44)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_diagonal(1, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_diagonal(1, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 6 do
turtle.forward()
@ -435,13 +435,13 @@ end
function circle17(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 48)
circles.initial_circle_setup(material, 48)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_triangle(material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_triangle(material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 5 do
turtle.forward()
@ -459,13 +459,13 @@ end
function circle18(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 48)
circles.initial_circle_setup(material, 48)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_diagonal(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_diagonal(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 6 do
turtle.forward()
@ -483,13 +483,13 @@ end
function circle19(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 52)
circles.initial_circle_setup(material, 52)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_diagonal(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_diagonal(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 7 do
turtle.forward()
@ -507,14 +507,14 @@ end
function circle20(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 56)
circles.initial_circle_setup(material, 56)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_row(2, material)
modules.place_column(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_row(2, material)
circles.place_column(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 6 do
turtle.forward()
@ -532,13 +532,13 @@ end
function circle21(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 56)
circles.initial_circle_setup(material, 56)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_diagonal(3, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_diagonal(3, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 7 do
turtle.forward()
@ -556,13 +556,13 @@ end
function circle22(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 60)
circles.initial_circle_setup(material, 60)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(3, material)
modules.place_diagonal(3, material)
modules.place_column(3, material)
circles.place_row(3, material)
circles.place_diagonal(3, material)
circles.place_column(3, material)
turtle.turnRight()
for j = 1, 6 do
turtle.forward()
@ -580,15 +580,15 @@ end
function circle23(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 64)
circles.initial_circle_setup(material, 64)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_row(2, material)
modules.place_diagonal(1, material)
modules.place_column(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_row(2, material)
circles.place_diagonal(1, material)
circles.place_column(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 7 do
turtle.forward()
@ -606,13 +606,13 @@ end
function circle24(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 64)
circles.initial_circle_setup(material, 64)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(3, material)
modules.place_diagonal(4, material)
modules.place_column(3, material)
circles.place_row(3, material)
circles.place_diagonal(4, material)
circles.place_column(3, material)
turtle.turnRight()
for j = 1, 6 do
turtle.forward()
@ -630,15 +630,15 @@ end
function circle25(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 68)
circles.initial_circle_setup(material, 68)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_row(2, material)
modules.place_diagonal(2, material)
modules.place_column(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_row(2, material)
circles.place_diagonal(2, material)
circles.place_column(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 7 do
turtle.forward()
@ -656,15 +656,15 @@ end
function circle26(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 72)
circles.initial_circle_setup(material, 72)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_row(2, material)
modules.place_diagonal(2, material)
modules.place_column(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_row(2, material)
circles.place_diagonal(2, material)
circles.place_column(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 8 do
turtle.forward()
@ -682,16 +682,16 @@ end
function circle27(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 76)
circles.initial_circle_setup(material, 76)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(3, material)
modules.place_diagonal(1, material)
modules.place_row(2, material)
modules.place_column(2, material)
modules.place_diagonal(1, material)
modules.place_column(3, material)
circles.place_row(3, material)
circles.place_diagonal(1, material)
circles.place_row(2, material)
circles.place_column(2, material)
circles.place_diagonal(1, material)
circles.place_column(3, material)
turtle.turnRight()
for j = 1, 7 do
turtle.forward()
@ -709,15 +709,15 @@ end
function circle28(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 76)
circles.initial_circle_setup(material, 76)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(2, material)
modules.place_row(2, material)
modules.place_diagonal(3, material)
modules.place_column(2, material)
modules.place_column(2, material)
circles.place_row(2, material)
circles.place_row(2, material)
circles.place_diagonal(3, material)
circles.place_column(2, material)
circles.place_column(2, material)
turtle.turnRight()
for j = 1, 7 do
turtle.forward()
@ -735,15 +735,15 @@ end
function circle29(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 80)
circles.initial_circle_setup(material, 80)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(3, material)
modules.place_row(2, material)
modules.place_diagonal(3, material)
modules.place_column(2, material)
modules.place_column(3, material)
circles.place_row(3, material)
circles.place_row(2, material)
circles.place_diagonal(3, material)
circles.place_column(2, material)
circles.place_column(3, material)
turtle.turnRight()
for j = 1, 7 do
turtle.forward()
@ -761,17 +761,17 @@ end
function circle30(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 84)
circles.initial_circle_setup(material, 84)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(3, material)
modules.place_diagonal(1, material)
modules.place_row(2, material)
modules.place_diagonal(1, material)
modules.place_column(2, material)
modules.place_diagonal(1, material)
modules.place_column(3, material)
circles.place_row(3, material)
circles.place_diagonal(1, material)
circles.place_row(2, material)
circles.place_diagonal(1, material)
circles.place_column(2, material)
circles.place_diagonal(1, material)
circles.place_column(3, material)
turtle.turnRight()
for j = 1, 8 do
turtle.forward()
@ -789,15 +789,15 @@ end
function circle31(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_circle_setup(material, 84)
circles.initial_circle_setup(material, 84)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
modules.place_row(3, material)
modules.place_row(2, material)
modules.place_diagonal(4, material)
modules.place_column(2, material)
modules.place_column(3, material)
circles.place_row(3, material)
circles.place_row(2, material)
circles.place_diagonal(4, material)
circles.place_column(2, material)
circles.place_column(3, material)
turtle.turnRight()
for j = 1, 7 do
turtle.forward()