Category talk:Programs

From ComputerCraft Wiki
Jump to: navigation, search

Here's a cool turtle script I made. Makes a 5x5x5 building. Untested.


turtle.turnRight()

turtle.turnRight()

turtle.placeUp()

for i = 1, 4 do

turtle.back()

turtle.place( )

turtle.placeUp()

end


turtle.back()

turtle.place( )

turtle.up()

turtle.up()

turtle.placeDown()

turtle.up()


turtle.turnRight()

turtle.turnRight()

turtle.back()


for i = 1, 4 do

turtle.placeUp()

turtle.placeDown()

turtle.back()

turtle.place( )

end


for i = 1, 3 do

turtle.turnRight()

turtle.forward()

turtle.turnLeft()

turtle.forward()

turtle.turnLeft()


for i = 1, 5 do

turtle.placeUp()

turtle.placeDown()

turtle.back()

turtle.place( )

end

end


turtle.placeUp()

turtle.placeDown()

turtle.back()

turtle.place( )


turtle.up()

turtle.up()

turtle.turnRight()

turtle.forward()

turtle.turnLeft()

turtle.forward()

turtle.forward()

turtle.down()

turtle.down()



for i = 1, 4 do

turtle.placeUp()

turtle.forward()

end


turtle.turnRight()

turtle.forward()

turtle.turnRight()


for i = 1, 4 do

turtle.placeUp()

turtle.forward()

end


turtle.turnLeft()

turtle.forward()

turtle.turnLeft()


for i = 1, 4 do

turtle.placeUp()

turtle.forward()

end


turtle.turnRight()

turtle.forward()

turtle.turnRight()


for i = 1, 4 do

turtle.placeUp()

turtle.forward()

end


turtle.down()

turtle.down()

turtle.down()

turtle.turnLeft()

turtle.forward()

turtle.turnRight()



turtle.placeUp()


for i = 1, 2 do

for i = 1, 4 do

turtle.back()

turtle.place( )

turtle.placeUp()

end


turtle.turnLeft()


turtle.back()


turtle.place( )

turtle.placeUp()

end



for i = 1, 3 do

turtle.back()

turtle.place( )

turtle.placeUp()

end


turtle.turnRight()

turtle.turnRight()

turtle.place( )


turtle.turnLeft()


turtle.forward()

turtle.turnRight()

turtle.turnRight()

turtle.place( )

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox