<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Walia6</id>
		<title>ComputerCraft Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Walia6"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/Walia6"/>
		<updated>2026-07-11T22:03:53Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_Tutorial&amp;diff=5213</id>
		<title>Turtle Tutorial</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_Tutorial&amp;diff=5213"/>
				<updated>2013-03-24T11:32:46Z</updated>
		
		<summary type="html">&lt;p&gt;Walia6: /* Explanation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
This tutorial will teach you the functions of the Turtle API, and also will teach you how to make your first turtle program.&lt;br /&gt;
&lt;br /&gt;
== Turtle ==&lt;br /&gt;
&lt;br /&gt;
The Turtle API is used to work with your Turtles. &lt;br /&gt;
[[Turtle (API)|Here is a list of the complete Turtle API]]&lt;br /&gt;
&lt;br /&gt;
For our program, we will use turtle.refuel(),turtle.detectDown(), turtle.digDown(), turtle.down(), turtle.forward(), and turtle.placeDown(). It is recommended that you learn what these method do before messing with Turtles.&lt;br /&gt;
&lt;br /&gt;
== The Program ==&lt;br /&gt;
So, for you to make the Turtle program, first craft a Turtle.&lt;br /&gt;
&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot    |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=Computer       |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest         |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
Then make a Mining Turtle.&lt;br /&gt;
&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A2=turtle |B2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, place it anywhere you want. Right click it and type 'edit MyFirstTurtleProgram'. You don't have to call it 'MyFirstTurtleProgram'; It can be whatever you want.&lt;br /&gt;
So, inside the file, type&lt;br /&gt;
 turtle.refuel()&lt;br /&gt;
 print(&amp;quot;Refueled turtle!&amp;quot;)&lt;br /&gt;
 while turtle.detectDown() do&lt;br /&gt;
 print(&amp;quot;Digging down!&amp;quot;)&lt;br /&gt;
 turtle.digDown()&lt;br /&gt;
 print(&amp;quot;Going down!&amp;quot;)&lt;br /&gt;
 turtle.down()&lt;br /&gt;
 print(&amp;quot;Digging forward!&amp;quot;)&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 print(&amp;quot;Going forward!&amp;quot;)&lt;br /&gt;
 turtle.forward()&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
To save the program, press CTRL and select SAVE with the Arrow Keys. After that, type MyFirstTurtleProgram (or whatever you called your program).&lt;br /&gt;
&lt;br /&gt;
If you want a spiral drill formation that allows you to be able to retrieve the turtle after its done mining, do the same as above but when editing the program type:&lt;br /&gt;
 turtle.refuel()&lt;br /&gt;
 while turtle.detectDown() do&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 turtle.digDown()&lt;br /&gt;
 turtle.down()&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 turtle.forward()&lt;br /&gt;
 turtle.turnLeft()&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
== Explanation ==&lt;br /&gt;
&lt;br /&gt;
The line turtle.refuel() refuels the Turtle so that it can move.&lt;br /&gt;
&lt;br /&gt;
The line while turtle.detectDown() do makes the program run until there is no block underneath the Turtle.&lt;br /&gt;
&lt;br /&gt;
The turtle.digDown() will make the Turtle dig down.&lt;br /&gt;
&lt;br /&gt;
The part where it says turtle.forward() will make the Turtle go forward.&lt;br /&gt;
&lt;br /&gt;
The line that says turtle.dig() will make the Turtle dig forward.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE: this should be running on a mining turtle, or it wont work!&lt;/div&gt;</summary>
		<author><name>Walia6</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_Tutorial&amp;diff=5212</id>
		<title>Turtle Tutorial</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_Tutorial&amp;diff=5212"/>
				<updated>2013-03-24T11:31:13Z</updated>
		
		<summary type="html">&lt;p&gt;Walia6: /* Turtle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
This tutorial will teach you the functions of the Turtle API, and also will teach you how to make your first turtle program.&lt;br /&gt;
&lt;br /&gt;
== Turtle ==&lt;br /&gt;
&lt;br /&gt;
The Turtle API is used to work with your Turtles. &lt;br /&gt;
[[Turtle (API)|Here is a list of the complete Turtle API]]&lt;br /&gt;
&lt;br /&gt;
For our program, we will use turtle.refuel(),turtle.detectDown(), turtle.digDown(), turtle.down(), turtle.forward(), and turtle.placeDown(). It is recommended that you learn what these method do before messing with Turtles.&lt;br /&gt;
&lt;br /&gt;
== The Program ==&lt;br /&gt;
So, for you to make the Turtle program, first craft a Turtle.&lt;br /&gt;
&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot    |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=Computer       |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest         |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
Then make a Mining Turtle.&lt;br /&gt;
&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A2=turtle |B2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, place it anywhere you want. Right click it and type 'edit MyFirstTurtleProgram'. You don't have to call it 'MyFirstTurtleProgram'; It can be whatever you want.&lt;br /&gt;
So, inside the file, type&lt;br /&gt;
 turtle.refuel()&lt;br /&gt;
 print(&amp;quot;Refueled turtle!&amp;quot;)&lt;br /&gt;
 while turtle.detectDown() do&lt;br /&gt;
 print(&amp;quot;Digging down!&amp;quot;)&lt;br /&gt;
 turtle.digDown()&lt;br /&gt;
 print(&amp;quot;Going down!&amp;quot;)&lt;br /&gt;
 turtle.down()&lt;br /&gt;
 print(&amp;quot;Digging forward!&amp;quot;)&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 print(&amp;quot;Going forward!&amp;quot;)&lt;br /&gt;
 turtle.forward()&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
To save the program, press CTRL and select SAVE with the Arrow Keys. After that, type MyFirstTurtleProgram (or whatever you called your program).&lt;br /&gt;
&lt;br /&gt;
If you want a spiral drill formation that allows you to be able to retrieve the turtle after its done mining, do the same as above but when editing the program type:&lt;br /&gt;
 turtle.refuel()&lt;br /&gt;
 while turtle.detectDown() do&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 turtle.digDown()&lt;br /&gt;
 turtle.down()&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 turtle.forward()&lt;br /&gt;
 turtle.turnLeft()&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
== Explanation ==&lt;br /&gt;
&lt;br /&gt;
The line while turtle.detectDown() do makes the program run until there is no block underneath the Turtle.&lt;br /&gt;
&lt;br /&gt;
The turtle.digDown() will make the Turtle dig down.&lt;br /&gt;
&lt;br /&gt;
The part where it says turtle.forward() will make the Turtle go forward.&lt;br /&gt;
&lt;br /&gt;
The line that says turtle.dig() will make the Turtle dig forward.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE: this should be running on a mining turtle, or it wont work!&lt;/div&gt;</summary>
		<author><name>Walia6</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_Tutorial&amp;diff=5211</id>
		<title>Turtle Tutorial</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_Tutorial&amp;diff=5211"/>
				<updated>2013-03-24T11:30:15Z</updated>
		
		<summary type="html">&lt;p&gt;Walia6: /* The Program */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
This tutorial will teach you the functions of the Turtle API, and also will teach you how to make your first turtle program.&lt;br /&gt;
&lt;br /&gt;
== Turtle ==&lt;br /&gt;
&lt;br /&gt;
The Turtle API is used to work with your Turtles. &lt;br /&gt;
[[Turtle (API)|Here is a list of the complete Turtle API]]&lt;br /&gt;
&lt;br /&gt;
For our program, we will use turtle.detectDown(), turtle.digDown(), turtle.down(), turtle.forward(), and turtle.placeDown(). It is recommended that you learn what these method do before messing with Turtles.&lt;br /&gt;
&lt;br /&gt;
== The Program ==&lt;br /&gt;
So, for you to make the Turtle program, first craft a Turtle.&lt;br /&gt;
&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot    |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=Computer       |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest         |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
Then make a Mining Turtle.&lt;br /&gt;
&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A2=turtle |B2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, place it anywhere you want. Right click it and type 'edit MyFirstTurtleProgram'. You don't have to call it 'MyFirstTurtleProgram'; It can be whatever you want.&lt;br /&gt;
So, inside the file, type&lt;br /&gt;
 turtle.refuel()&lt;br /&gt;
 print(&amp;quot;Refueled turtle!&amp;quot;)&lt;br /&gt;
 while turtle.detectDown() do&lt;br /&gt;
 print(&amp;quot;Digging down!&amp;quot;)&lt;br /&gt;
 turtle.digDown()&lt;br /&gt;
 print(&amp;quot;Going down!&amp;quot;)&lt;br /&gt;
 turtle.down()&lt;br /&gt;
 print(&amp;quot;Digging forward!&amp;quot;)&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 print(&amp;quot;Going forward!&amp;quot;)&lt;br /&gt;
 turtle.forward()&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
To save the program, press CTRL and select SAVE with the Arrow Keys. After that, type MyFirstTurtleProgram (or whatever you called your program).&lt;br /&gt;
&lt;br /&gt;
If you want a spiral drill formation that allows you to be able to retrieve the turtle after its done mining, do the same as above but when editing the program type:&lt;br /&gt;
 turtle.refuel()&lt;br /&gt;
 while turtle.detectDown() do&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 turtle.digDown()&lt;br /&gt;
 turtle.down()&lt;br /&gt;
 turtle.dig()&lt;br /&gt;
 turtle.forward()&lt;br /&gt;
 turtle.turnLeft()&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
== Explanation ==&lt;br /&gt;
&lt;br /&gt;
The line while turtle.detectDown() do makes the program run until there is no block underneath the Turtle.&lt;br /&gt;
&lt;br /&gt;
The turtle.digDown() will make the Turtle dig down.&lt;br /&gt;
&lt;br /&gt;
The part where it says turtle.forward() will make the Turtle go forward.&lt;br /&gt;
&lt;br /&gt;
The line that says turtle.dig() will make the Turtle dig forward.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE: this should be running on a mining turtle, or it wont work!&lt;/div&gt;</summary>
		<author><name>Walia6</name></author>	</entry>

	</feed>