Missedspelled initial setup function

This commit is contained in:
Sascha Martens 2020-11-12 20:25:46 +01:00
parent 49bfd155e2
commit 85abbfd8a4

View File

@ -9,7 +9,7 @@ if not os.loadAPI('modules.lua') then
error('Error! modules.lua is missing. Please insert it into turtle.')
end
--initial_setup() checks if there is enough
--initial_circle_setup() checks if there is enough
--material and sets the turtle to the start
--position and places the first block.
--Alle circles uses this function
@ -81,7 +81,7 @@ end
function circle2(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 4)
modules.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_setup(material, 8)
modules.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_setup(material, 8)
modules.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_setup(material, 12)
modules.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_setup(material, 16)
modules.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_setup(material, 16)
modules.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_setup(material, 20)
modules.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_setup(material, 24)
modules.initial_circle_setup(material, 24)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -275,7 +275,7 @@ end
function circle10(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 28)
modules.initial_circle_setup(material, 28)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -297,7 +297,7 @@ end
function circle11(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 28)
modules.initial_circle_setup(material, 28)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -319,7 +319,7 @@ end
function circle12(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 32)
modules.initial_circle_setup(material, 32)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -342,7 +342,7 @@ end
function circle13(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 36)
modules.initial_circle_setup(material, 36)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -365,7 +365,7 @@ end
function circle14(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 36)
modules.initial_circle_setup(material, 36)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -387,7 +387,7 @@ end
function circle15(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 36)
modules.initial_circle_setup(material, 36)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -411,7 +411,7 @@ end
function circle16(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 44)
modules.initial_circle_setup(material, 44)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -435,7 +435,7 @@ end
function circle17(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 48)
modules.initial_circle_setup(material, 48)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -459,7 +459,7 @@ end
function circle18(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 48)
modules.initial_circle_setup(material, 48)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -483,7 +483,7 @@ end
function circle19(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 52)
modules.initial_circle_setup(material, 52)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -507,7 +507,7 @@ end
function circle20(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 56)
modules.initial_circle_setup(material, 56)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -532,7 +532,7 @@ end
function circle21(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 56)
modules.initial_circle_setup(material, 56)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -556,7 +556,7 @@ end
function circle22(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 60)
modules.initial_circle_setup(material, 60)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -580,7 +580,7 @@ end
function circle23(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 64)
modules.initial_circle_setup(material, 64)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -606,7 +606,7 @@ end
function circle24(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 64)
modules.initial_circle_setup(material, 64)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -630,7 +630,7 @@ end
function circle25(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 68)
modules.initial_circle_setup(material, 68)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -656,7 +656,7 @@ end
function circle26(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 72)
modules.initial_circle_setup(material, 72)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -682,7 +682,7 @@ end
function circle27(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 76)
modules.initial_circle_setup(material, 76)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -709,7 +709,7 @@ end
function circle28(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 76)
modules.initial_circle_setup(material, 76)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -735,7 +735,7 @@ end
function circle29(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 80)
modules.initial_circle_setup(material, 80)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -761,7 +761,7 @@ end
function circle30(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 84)
modules.initial_circle_setup(material, 84)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do
@ -789,7 +789,7 @@ end
function circle31(material)
-- Start the initial Setup and place the turtle in
-- the right position
modules.initial_setup(material, 84)
modules.initial_circle_setup(material, 84)
turtle.turnLeft()
turtle.forward()
for i = 1, 4 do