<?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=SquidDev</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=SquidDev"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/SquidDev"/>
		<updated>2026-07-11T05:12:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Wheat&amp;diff=8125</id>
		<title>Wheat</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Wheat&amp;diff=8125"/>
				<updated>2023-09-25T08:59:48Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Wheat here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Water&amp;diff=8124</id>
		<title>Water</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Water&amp;diff=8124"/>
				<updated>2023-09-25T08:59:29Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Water''' is a standard Minecraft substance. All ComputerCraft blocks are waterproof - this makes [[turtle]]s very convenient for underwater mining and exploration.&lt;br /&gt;
&lt;br /&gt;
As with [[lava]], water source blocks are deleted if turtles move through them, but often water flows will incorrectly persist nearby so long as any source remains connected - this can lead to large bodies of water floating in the air when turtles dig out pits using eg the [[excavate]] script. While this doesn't have any negative side effects in its own right (the server load while digging is light, mobs cannot spawn in the flooded area, and lava encountered lower down the shaft will mostly be converted to mine-able obsidian), sealing away the source blocks afterwards may induce some notable (although very short-lived) server lag while the oversized flows subside.&lt;br /&gt;
&lt;br /&gt;
Turtles may collect water source blocks by calling [[turtle.place]]() with an empty bucket in their [[turtle.select|selected inventory slot]]. They can likewise place source blocks by doing the same with a filled bucket selected.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Lava]]&lt;br /&gt;
* [https://minecraft.wiki/w/Water Water described on the Minecraft Wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Slime_ball&amp;diff=8123</id>
		<title>Slime ball</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Slime_ball&amp;diff=8123"/>
				<updated>2023-09-25T08:59:03Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Slime_Ball here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Sign&amp;diff=8122</id>
		<title>Sign</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Sign&amp;diff=8122"/>
				<updated>2023-09-25T08:58:44Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Sign here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Redstone_torch&amp;diff=8121</id>
		<title>Redstone torch</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Redstone_torch&amp;diff=8121"/>
				<updated>2023-09-25T08:58:35Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Redstone_Torch here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Pressure_plate&amp;diff=8120</id>
		<title>Pressure plate</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Pressure_plate&amp;diff=8120"/>
				<updated>2023-09-25T08:58:18Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Pressure_Plate here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paper&amp;diff=8119</id>
		<title>Paper</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paper&amp;diff=8119"/>
				<updated>2023-09-25T08:58:07Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Paper here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Obsidian&amp;diff=8118</id>
		<title>Obsidian</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Obsidian&amp;diff=8118"/>
				<updated>2023-09-25T08:57:57Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Obsidian here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Minecart&amp;diff=8117</id>
		<title>Minecart</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Minecart&amp;diff=8117"/>
				<updated>2023-09-25T08:57:46Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Minecart here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Leather&amp;diff=8116</id>
		<title>Leather</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Leather&amp;diff=8116"/>
				<updated>2023-09-25T08:57:37Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Leather here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Lava&amp;diff=8115</id>
		<title>Lava</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Lava&amp;diff=8115"/>
				<updated>2023-09-25T08:57:17Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Stub}}&lt;br /&gt;
'''Lava''' is a [[fuel]] source in Computercraft. A [[turtle]] can consume a bucket of lava for 1,000 fuel units (using the [[turtle.refuel]] command when a bucket is in the currently selected slot). This will leave an empty bucket in the selected slot after the lava is consumed. When a turtle uses [[turtle.place]] and has a bucket of lava in the currently selected slot, it will place the lava in front of it. When a turtle uses turtle.place and has an empty bucket in the currently selected slot, it can collect a lava source block in front of it and put the lava in the bucket. This allows turtles to easily [[refuel]] on the move when working deep underground or in the nether. Lava does not harm turtles.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Turtle (API)]]&lt;br /&gt;
* [[Water]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://minecraft.wiki/w/Lava Lava at minecraftwiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla_Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Jukebox&amp;diff=8114</id>
		<title>Jukebox</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Jukebox&amp;diff=8114"/>
				<updated>2023-09-25T08:57:04Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Jukebox here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Iron_ingot&amp;diff=8113</id>
		<title>Iron ingot</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Iron_ingot&amp;diff=8113"/>
				<updated>2023-09-25T08:56:52Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Iron_Ingot here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Ink_Sac&amp;diff=8112</id>
		<title>Ink Sac</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Ink_Sac&amp;diff=8112"/>
				<updated>2023-09-25T08:56:42Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Ink_Sac here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Golden_Apple&amp;diff=8111</id>
		<title>Golden Apple</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Golden_Apple&amp;diff=8111"/>
				<updated>2023-09-25T08:55:42Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Golden_Apple here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Gold_Ingot&amp;diff=8110</id>
		<title>Gold Ingot</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Gold_Ingot&amp;diff=8110"/>
				<updated>2023-09-25T08:55:33Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Gold_Ingot here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Glass_pane&amp;diff=8109</id>
		<title>Glass pane</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Glass_pane&amp;diff=8109"/>
				<updated>2023-09-25T08:55:23Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Glass_Pane here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Eye_of_Ender&amp;diff=8108</id>
		<title>Eye of Ender</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Eye_of_Ender&amp;diff=8108"/>
				<updated>2023-09-25T08:55:10Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Eye_of_Ender here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Ender_pearl&amp;diff=8107</id>
		<title>Ender pearl</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Ender_pearl&amp;diff=8107"/>
				<updated>2023-09-25T08:54:53Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Ender_Pearl here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Diamond_shovel&amp;diff=8106</id>
		<title>Diamond shovel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Diamond_shovel&amp;diff=8106"/>
				<updated>2023-09-25T08:54:29Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The diamond shovel can be equipped on a turtle. Because of it's low cost it can only mine soft blocks like dirt and sand. The shovel is the only tool that can mine snow and get snowballs from it. The turtle can also attack with the shovel, and has the same damage output as a [[diamond pickaxe]] and [[diamond hoe]].&lt;br /&gt;
{{Crafting&lt;br /&gt;
 |B2=turtle |C2=diamond shovel&lt;br /&gt;
 |Output=Digging Turtle&lt;br /&gt;
 |Output-link=Turtle&lt;br /&gt;
}}&lt;br /&gt;
For more information on the &amp;quot;Diamond Shovel&amp;quot;, please go the the Minecraft official wiki.&lt;br /&gt;
&lt;br /&gt;
[https://minecraft.wiki/w/Diamond_Shovel Diamond Shovel]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Diamond_pickaxe&amp;diff=8105</id>
		<title>Diamond pickaxe</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Diamond_pickaxe&amp;diff=8105"/>
				<updated>2023-09-25T08:54:19Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The diamond pickaxe can be equipped on a turtle. The pickaxe is the best tool for mining that can be equipped on a turtle. Because of the high cost of the pickaxe, it can mine anything and get the resources for it. The turtle can also attack with the pickaxe, and has the same damage output as a [[diamond shovel]] and [[diamond hoe]].&lt;br /&gt;
{{Crafting&lt;br /&gt;
 |B2=turtle |C2=diamond pickaxe&lt;br /&gt;
 |Output=mining turtle&lt;br /&gt;
 |Output-link=Turtle&lt;br /&gt;
}}&lt;br /&gt;
For more information on the &amp;quot;Diamond Pickaxe&amp;quot;, please go the the Minecraft official wiki.&lt;br /&gt;
&lt;br /&gt;
[https://minecraft.wiki/w/Diamond_Pickaxe Diamond Pickaxe]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Diamond_hoe&amp;diff=8104</id>
		<title>Diamond hoe</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Diamond_hoe&amp;diff=8104"/>
				<updated>2023-09-25T08:54:05Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The diamond hoe can be equipped on a Turtle. The hoe is the only tool that can turn dirt into farmland. The turtle can also attack with the hoe, and has the same damage output as a [[diamond pickaxe]] and [[diamond shovel]].&lt;br /&gt;
{{Crafting&lt;br /&gt;
 |B2=turtle |C2=diamond hoe&lt;br /&gt;
 |Output=Farming Turtle&lt;br /&gt;
 |Output-link=Turtle&lt;br /&gt;
}}&lt;br /&gt;
For more information on the &amp;quot;Diamond Hoe&amp;quot;, please go the the Minecraft official wiki.&lt;br /&gt;
&lt;br /&gt;
[https://minecraft.wiki/w/Diamond_Hoe  Diamond Hoe]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Diamond_axe&amp;diff=8103</id>
		<title>Diamond axe</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Diamond_axe&amp;diff=8103"/>
				<updated>2023-09-25T08:53:46Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The diamond axe can be equipped on a turtle and is a tool that is both effective for mining and attacking. The axe is the second best weapon for the turtle and can also mine blocks. The turtle cannot get the resources for mining ores and stone.&lt;br /&gt;
{{Crafting&lt;br /&gt;
 |B2=turtle |C2=diamond axe&lt;br /&gt;
 |Output=Felling Turtle&lt;br /&gt;
 |Output-link=Turtle&lt;br /&gt;
}}&lt;br /&gt;
For more information on the &amp;quot;Diamond Axe&amp;quot;, please go the the Minecraft official wiki.&lt;br /&gt;
&lt;br /&gt;
[https://minecraft.wiki/w/Diamond_Axe Diamond Axe]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Diamond&amp;diff=8102</id>
		<title>Diamond</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Diamond&amp;diff=8102"/>
				<updated>2023-09-25T08:53:17Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Diamond here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=8101</id>
		<title>Crafting Table</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=8101"/>
				<updated>2023-09-25T08:51:40Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Crafting_Table here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Coal&amp;diff=8100</id>
		<title>Coal</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Coal&amp;diff=8100"/>
				<updated>2023-09-25T08:51:26Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Coal here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Chest&amp;diff=8099</id>
		<title>Chest</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Chest&amp;diff=8099"/>
				<updated>2023-09-25T08:51:11Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Chest here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Bucket&amp;diff=8098</id>
		<title>Bucket</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Bucket&amp;diff=8098"/>
				<updated>2023-09-25T08:50:54Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Bucket here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Block_of_Iron&amp;diff=8097</id>
		<title>Block of Iron</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Block_of_Iron&amp;diff=8097"/>
				<updated>2023-09-25T08:50:36Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [https://minecraft.wiki/w/Block_of_Iron here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Vanilla Minecraft]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=MediaWiki:Common.css&amp;diff=7514</id>
		<title>MediaWiki:Common.css</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=MediaWiki:Common.css&amp;diff=7514"/>
				<updated>2020-08-01T16:16:12Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Apply myagiczocker's changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;.infobox {&lt;br /&gt;
  float: right;&lt;br /&gt;
  width: 320px;&lt;br /&gt;
  border: solid 1px black;&lt;br /&gt;
  white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
.infobox .infobox-name {&lt;br /&gt;
  background-color: #DBE5FF;&lt;br /&gt;
  font-size: large;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
}&lt;br /&gt;
.infobox .infobox-image {&lt;br /&gt;
  text-align: center;&lt;br /&gt;
}&lt;br /&gt;
.infobox .infobox-rows {&lt;br /&gt;
  border-spacing: 0;&lt;br /&gt;
}&lt;br /&gt;
.infobox .infobox-rows th {&lt;br /&gt;
  text-align: left;&lt;br /&gt;
}&lt;br /&gt;
.infobox .infobox-rows td {&lt;br /&gt;
  width: 100%;&lt;br /&gt;
}&lt;br /&gt;
.infobox .infobox-rows td,&lt;br /&gt;
.infobox .infobox-rows th {&lt;br /&gt;
  border-top: solid #C9C9C9 1px;&lt;br /&gt;
  border-right: solid #C9C9C9 1px;&lt;br /&gt;
  padding: 0.4em;&lt;br /&gt;
}&lt;br /&gt;
.infobox .infobox-rows tr:nth-child(odd) {&lt;br /&gt;
  background-color: #E8E8E8;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Getting_Started&amp;diff=7499</id>
		<title>Getting Started</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Getting_Started&amp;diff=7499"/>
				<updated>2019-10-09T18:32:52Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Try to make the download page even more foolproof&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisite: Installing the mods ==&lt;br /&gt;
'''It is very important to read everything carefully before asking questions.'''&lt;br /&gt;
'''Also, the latest version of this mod may not be compatible with the current Minecraft release.'''&lt;br /&gt;
&lt;br /&gt;
# Install the appropriate [http://files.minecraftforge.net/ Minecraft Forge Recommended Build] for your Minecraft version&lt;br /&gt;
# Download the latest version of [http://www.computercraft.info/download/ ComputerCraft] for your Minecraft version&lt;br /&gt;
# Copy the .jar file into *minecraft folder*\mods\ or into your specified profile. (Tip: If on Windows, on the main screen of Minecraft, go to 'Texture Packs' and click on 'Open texture pack folder'. Go up one folder, there's your Minecraft folder. If on Mac, open Finder, hit Command+Shift+G and type ~/Library/ then hit enter, open 'Application Support' then open 'minecraft')&lt;br /&gt;
&amp;lt;!-- Both the zip or folder work. Please do not edit this without proof.  &lt;br /&gt;
Aha, but the folder doesn't work anymore since 1.6 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Crafting ==&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
|A1=stone |B1=stone      |C1=stone&lt;br /&gt;
|A2=stone |B2=Redstone   |C2=stone&lt;br /&gt;
|A3=stone |B3=glass pane |C3=stone&lt;br /&gt;
|Output=Computer&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right click on the computer to use it.&amp;lt;br /&amp;gt;&lt;br /&gt;
Some important key combinations to remember:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Key Combination&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Usage&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=T}}&lt;br /&gt;
|Closes the current program.&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=R}}&lt;br /&gt;
|Reboots the computer.&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=S}}&lt;br /&gt;
|Forcefully shuts down the computer.&lt;br /&gt;
|}&lt;br /&gt;
You usually will have to hold down the key combinations for at least 1 second&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Attaching hardware ==&lt;br /&gt;
You can a bunch of stuff to your computer. There are 6 sides to the sides of your computer, and the computer can interact with almost anything there that it can interact with. This includes [[Modem|modems]] [[Modem_(API)|(API)]], [[Disk_Drive|disk drives]] [[Fs_(API)|(API)]], [[Printer|Printers]] [[Printer_(API)|(API)]], [[Monitor|monitors]] [[Term_(API)|(API)]], and even redstone [[Rs_(API)|(API)]]! Connect these to the sides of your computer and use the appropriate API to control your hardware.&lt;br /&gt;
&lt;br /&gt;
== Using the computer 's shell ==&lt;br /&gt;
Your computer should come with CraftOS as long as you didn't mod the mod.&lt;br /&gt;
If you have ever used the Linux terminal or Command Prompt or DOS or something similar, shell usage should be pretty simple. &lt;br /&gt;
&lt;br /&gt;
However the CraftOS Shell is even simpler and it only has one thing you can do: Type the name of a program (along with arguments) and it will run.&lt;br /&gt;
&lt;br /&gt;
A few useful programs that will help you magically appear on every computer you use, because they are in the universal ''rom'' folder that every computer can access. &lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|cd&lt;br /&gt;
|'''C'''hanges the current working '''d'''irectory of the shell, so you can do something else.&lt;br /&gt;
|-&lt;br /&gt;
|ls&lt;br /&gt;
|'''L'''i'''s'''ts the contents of the working directory, with directories in green and files in white.&lt;br /&gt;
|-&lt;br /&gt;
|rm&lt;br /&gt;
|'''R'''e'''m'''oves (deletes) a file or folder&lt;br /&gt;
|-&lt;br /&gt;
|mkdir&lt;br /&gt;
|'''M'''a'''k'''es an empty '''dir'''ectory&lt;br /&gt;
|-&lt;br /&gt;
|mv&lt;br /&gt;
|'''M'''o'''v'''es a file to another path&lt;br /&gt;
|-&lt;br /&gt;
|cp&lt;br /&gt;
|'''C'''o'''p'''ies a file under another name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Programming your computer ==&lt;br /&gt;
    For programming tutorials, ''go to'': [[Tutorials]]&lt;br /&gt;
&lt;br /&gt;
Programming ComputerCraft computers is done with a programming language called Lua. Lua is intended to be pretty simple to use, but if you don't know how, you can check out the programming tutorials on this wiki. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Do you recall that one time ages ago when you looked up &amp;quot;how to play Minecraft&amp;quot;, and you got a basic guide: punch trees, make bench, make tools, build house, make torches. But do you remember the end?&lt;br /&gt;
&lt;br /&gt;
''The rest is up to you...''&lt;br /&gt;
&lt;br /&gt;
ComputerCraft works the same way. The goals and uses for ComputerCraft are limitless, and now you've gotten started. There is no definite thing to do next, the rest is up to you.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Getting_Started&amp;diff=7498</id>
		<title>Getting Started</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Getting_Started&amp;diff=7498"/>
				<updated>2019-10-09T18:25:15Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisite: Installing the mods ==&lt;br /&gt;
'''It is very important to read everything carefully before asking questions.'''&lt;br /&gt;
'''Also, the latest version of this mod may not be compatible with the current Minecraft release.'''&lt;br /&gt;
&lt;br /&gt;
# Install the appropriate [http://files.minecraftforge.net/ Minecraft Forge Recommended Build] for your Minecraft version&lt;br /&gt;
# Download the latest version of [http://computercraft.info ComputerCraft]&lt;br /&gt;
# Copy the .jar file into *minecraft folder*\mods\ or into your specified profile. (Tip: If on Windows, on the main screen of Minecraft, go to 'Texture Packs' and click on 'Open texture pack folder'. Go up one folder, there's your Minecraft folder. If on Mac, open Finder, hit Command+Shift+G and type ~/Library/ then hit enter, open 'Application Support' then open 'minecraft')&lt;br /&gt;
&amp;lt;!-- Both the zip or folder work. Please do not edit this without proof.  &lt;br /&gt;
Aha, but the folder doesn't work anymore since 1.6 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Crafting ==&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
|A1=stone |B1=stone      |C1=stone&lt;br /&gt;
|A2=stone |B2=Redstone   |C2=stone&lt;br /&gt;
|A3=stone |B3=glass pane |C3=stone&lt;br /&gt;
|Output=Computer&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right click on the computer to use it.&amp;lt;br /&amp;gt;&lt;br /&gt;
Some important key combinations to remember:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Key Combination&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Usage&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=T}}&lt;br /&gt;
|Closes the current program.&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=R}}&lt;br /&gt;
|Reboots the computer.&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=S}}&lt;br /&gt;
|Forcefully shuts down the computer.&lt;br /&gt;
|}&lt;br /&gt;
You usually will have to hold down the key combinations for at least 1 second&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Attaching hardware ==&lt;br /&gt;
You can a bunch of stuff to your computer. There are 6 sides to the sides of your computer, and the computer can interact with almost anything there that it can interact with. This includes [[Modem|modems]] [[Modem_(API)|(API)]], [[Disk_Drive|disk drives]] [[Fs_(API)|(API)]], [[Printer|Printers]] [[Printer_(API)|(API)]], [[Monitor|monitors]] [[Term_(API)|(API)]], and even redstone [[Rs_(API)|(API)]]! Connect these to the sides of your computer and use the appropriate API to control your hardware.&lt;br /&gt;
&lt;br /&gt;
== Using the computer 's shell ==&lt;br /&gt;
Your computer should come with CraftOS as long as you didn't mod the mod.&lt;br /&gt;
If you have ever used the Linux terminal or Command Prompt or DOS or something similar, shell usage should be pretty simple. &lt;br /&gt;
&lt;br /&gt;
However the CraftOS Shell is even simpler and it only has one thing you can do: Type the name of a program (along with arguments) and it will run.&lt;br /&gt;
&lt;br /&gt;
A few useful programs that will help you magically appear on every computer you use, because they are in the universal ''rom'' folder that every computer can access. &lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|cd&lt;br /&gt;
|'''C'''hanges the current working '''d'''irectory of the shell, so you can do something else.&lt;br /&gt;
|-&lt;br /&gt;
|ls&lt;br /&gt;
|'''L'''i'''s'''ts the contents of the working directory, with directories in green and files in white.&lt;br /&gt;
|-&lt;br /&gt;
|rm&lt;br /&gt;
|'''R'''e'''m'''oves (deletes) a file or folder&lt;br /&gt;
|-&lt;br /&gt;
|mkdir&lt;br /&gt;
|'''M'''a'''k'''es an empty '''dir'''ectory&lt;br /&gt;
|-&lt;br /&gt;
|mv&lt;br /&gt;
|'''M'''o'''v'''es a file to another path&lt;br /&gt;
|-&lt;br /&gt;
|cp&lt;br /&gt;
|'''C'''o'''p'''ies a file under another name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Programming your computer ==&lt;br /&gt;
    For programming tutorials, ''go to'': [[Tutorials]]&lt;br /&gt;
&lt;br /&gt;
Programming ComputerCraft computers is done with a programming language called Lua. Lua is intended to be pretty simple to use, but if you don't know how, you can check out the programming tutorials on this wiki. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Do you recall that one time ages ago when you looked up &amp;quot;how to play Minecraft&amp;quot;, and you got a basic guide: punch trees, make bench, make tools, build house, make torches. But do you remember the end?&lt;br /&gt;
&lt;br /&gt;
''The rest is up to you...''&lt;br /&gt;
&lt;br /&gt;
ComputerCraft works the same way. The goals and uses for ComputerCraft are limitless, and now you've gotten started. There is no definite thing to do next, the rest is up to you.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.dig&amp;diff=7481</id>
		<title>Turtle.dig</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.dig&amp;diff=7481"/>
				<updated>2018-10-24T10:36:54Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Describe the toolSide argument for turtle.dig. We won't bother with the other dig methods, as they operate the same as this.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.dig&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|string}} toolSide]&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{Type|boolean}} whether the turtle succeeded in digging, {{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to dig the block in front of the turtle.  If successful, [[Turtle.suck|suck()]] is automatically called, placing the item in turtle inventory in the selected slot if possible (block type matches and the slot is not a full stack yet), or in the next available slot.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If a hoe is used to attempt to &amp;quot;dig&amp;quot; a dirt block, it will be tilled instead. Tilling is also possible if the space in front of the turtle is empty but dirt exists below that point.&lt;br /&gt;
&lt;br /&gt;
You can pass optionally pass in &amp;quot;left&amp;quot; or &amp;quot;right&amp;quot; to the &amp;lt;var&amp;gt;toolSide&amp;lt;/var&amp;gt; argument to determine which tool to dig with, otherwise the turtle will attempt to dig with both tools.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs the block in front of the turtle.&lt;br /&gt;
|code=[[print]](turtle.dig())&lt;br /&gt;
|output=true if the turtle could dig the block, false if it could not or no block present.&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs the block in front of the turtle, but only if there is a block to dig (saves time).&lt;br /&gt;
|code=if [[turtle.detect]]() then&lt;br /&gt;
  turtle.dig()&lt;br /&gt;
 end&lt;br /&gt;
|output=the turtle digs if there is a block in front.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.digUp]]&lt;br /&gt;
*[[turtle.digDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.digDown&amp;diff=7480</id>
		<title>Turtle.digDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.digDown&amp;diff=7480"/>
				<updated>2018-10-24T10:36:03Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Add toolSide argument&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.digDown&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|string}} toolSide]&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{Type|boolean}} whether the turtle succeeded in digging, {{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to dig the block below the turtle. If successful, [[Turtle.suck|suck()]] is automatically called, placing the item in turtle inventory in the selected slot if possible (block type matches and the slot is not a full stack yet), or in the next available slot.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When using a hoe, if the space beneath the turtle consists of air and the space beneath ''that'' is dirt, then the turtle may till that dirt by use of this function.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Attempts to dig the block below the turtle.&lt;br /&gt;
|code=print(turtle.digDown())&lt;br /&gt;
|output=true if the turtle could dig the block, false if it could not or no block present.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.dig]]&lt;br /&gt;
*[[turtle.digUp]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.digUp&amp;diff=7479</id>
		<title>Turtle.digUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.digUp&amp;diff=7479"/>
				<updated>2018-10-24T10:35:42Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Add toolSide argument&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.digUp&lt;br /&gt;
|api=turtle&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|string}} toolSide]&lt;br /&gt;
|returns={{Type|boolean}} whether the turtle succeeded in digging, {{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to dig the block above of the turtle. If successful, [[Turtle.suck|suck()]] is automatically called, placing the item in turtle inventory in the selected slot if possible (block type matches and the slot is not a full stack yet), or in the next available slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs the block above the turtle.&lt;br /&gt;
|code=print('''turtle.digUp()''')&lt;br /&gt;
|output=true if the turtle could dig the block, false if it could not or no block present.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.dig]]&lt;br /&gt;
*[[turtle.digDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.dig&amp;diff=7478</id>
		<title>Turtle.dig</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.dig&amp;diff=7478"/>
				<updated>2018-10-24T10:35:20Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Add toolSide argument&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.dig&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|string}} toolSide]&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{Type|boolean}} whether the turtle succeeded in digging, {{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to dig the block in front of the turtle.  If successful, [[Turtle.suck|suck()]] is automatically called, placing the item in turtle inventory in the selected slot if possible (block type matches and the slot is not a full stack yet), or in the next available slot.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If a hoe is used to attempt to &amp;quot;dig&amp;quot; a dirt block, it will be tilled instead. Tilling is also possible if the space in front of the turtle is empty but dirt exists below that point.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs the block in front of the turtle.&lt;br /&gt;
|code=[[print]](turtle.dig())&lt;br /&gt;
|output=true if the turtle could dig the block, false if it could not or no block present.&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs the block in front of the turtle, but only if there is a block to dig (saves time).&lt;br /&gt;
|code=if [[turtle.detect]]() then&lt;br /&gt;
  turtle.dig()&lt;br /&gt;
 end&lt;br /&gt;
|output=the turtle digs if there is a block in front.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.digUp]]&lt;br /&gt;
*[[turtle.digDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.attackDown&amp;diff=7477</id>
		<title>Turtle.attackDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.attackDown&amp;diff=7477"/>
				<updated>2018-10-24T10:35:06Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Add toolSide argument&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=turtle.attackDown&lt;br /&gt;
|api=turtle&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|string}} toolSide]&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking downwards&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to attack below the turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.attack]]&lt;br /&gt;
*[[turtle.attackUp]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.attackUp&amp;diff=7476</id>
		<title>Turtle.attackUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.attackUp&amp;diff=7476"/>
				<updated>2018-10-24T10:34:48Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Add toolSide argument&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=turtle.attackUp&lt;br /&gt;
|api=turtle&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|string}} toolSide]&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking upwards&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to attack above the turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.attack]]&lt;br /&gt;
*[[turtle.attackDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.attack&amp;diff=7475</id>
		<title>Turtle.attack</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.attack&amp;diff=7475"/>
				<updated>2018-10-24T10:34:03Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=turtle.attack&lt;br /&gt;
|api=turtle&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|string}} toolSide]&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking forward&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to attack in front of the turtle. You can pass optionally pass in &amp;quot;left&amp;quot; or &amp;quot;right&amp;quot; to the &amp;lt;var&amp;gt;toolSide&amp;lt;/var&amp;gt; argument to determine which tool to attack with, otherwise the turtle will attempt to attack with both tools.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Tries to attack in front of the turtle and outputs whether it worked or not.&lt;br /&gt;
|code=if turtle.attack() then&lt;br /&gt;
  [[print]] (&amp;quot;Turtle attacked in front.&amp;quot;)&lt;br /&gt;
 else&lt;br /&gt;
  [[print]] (&amp;quot;Turtle could not attack.&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
|output= Turtle attacked in front. or Turtle could not attack.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.attackUp]]&lt;br /&gt;
*[[turtle.attackDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=7474</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=7474"/>
				<updated>2018-10-24T10:26:52Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Add tool side arguments to dig and attack methods&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your [[Turtle|Turtles]].&lt;br /&gt;
&lt;br /&gt;
===Key===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Color  !! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
| White  ||All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green   || Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
| Yellow || Mining, Felling, Digging, Farming&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
| Red    || Any tool&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- ##################&lt;br /&gt;
To add additional colors, visit Template:row-lightgreen, copy the source, do a search for Template:row-yourcolor and hit Create Page. ################## --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===API===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; | Return&lt;br /&gt;
! width=&amp;quot;200px&amp;quot; | Method name&lt;br /&gt;
! Description&lt;br /&gt;
! Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.craft]]({{type|number}} quantity)&lt;br /&gt;
|Craft items using ingredients anywhere in the turtle's inventory and place results in the active slot. If a quantity is specified, it will craft only up to that many items, otherwise, it will craft as many of the items as possible.&lt;br /&gt;
|1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Try to move the turtle forward&lt;br /&gt;
|?&lt;br /&gt;
|- &lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Try to move the turtle backward&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Try to move the turtle up&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Try to move the turtle down &lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|Turn the turtle left&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|Turn the turtle right&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.select]]({{type|number}} slotNum)&lt;br /&gt;
|Make the turtle select slot &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} slot&lt;br /&gt;
|[[turtle.getSelectedSlot]]()&lt;br /&gt;
|Indicates the currently selected inventory slot&lt;br /&gt;
| 1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} count&lt;br /&gt;
|[[turtle.getItemCount]]([&amp;lt;nowiki/&amp;gt;{{type|number}} slotNum])&lt;br /&gt;
|Counts how many items are in the currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} count&lt;br /&gt;
|[[turtle.getItemSpace]]([&amp;lt;nowiki/&amp;gt;{{type|number}} slotNum])&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|table}} data&lt;br /&gt;
|[[turtle.getItemDetail]]([&amp;lt;nowiki/&amp;gt;{{type|number}} slotNum])&lt;br /&gt;
|Returns the ID string, count and damage values of currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot &lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.equipLeft]]()&lt;br /&gt;
|Attempts to equip an item in the current slot to the turtle's left side, switching the previously equipped item back into the inventory&lt;br /&gt;
|1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.equipRight]]()&lt;br /&gt;
|Attempts to equip an item in the current slot to the turtle's right side, switching the previously equipped item back into the inventory&lt;br /&gt;
|1.6&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.attack]]([&amp;lt;nowiki /&amp;gt;{{type|string}} toolSide])&lt;br /&gt;
|Attacks in front of the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success &lt;br /&gt;
|[[turtle.attackUp]]([&amp;lt;nowiki /&amp;gt;{{type|string}} toolSide])&lt;br /&gt;
|Attacks above the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.attackDown]]([&amp;lt;nowiki /&amp;gt;{{type|string}} toolSide])&lt;br /&gt;
|Attacks under the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.dig]]([&amp;lt;nowiki /&amp;gt;{{type|string}} toolSide])&lt;br /&gt;
|Breaks the block in front. With hoe: tills the dirt in front of it.&lt;br /&gt;
|?&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digUp]]([&amp;lt;nowiki /&amp;gt;{{type|string}} toolSide])&lt;br /&gt;
|Breaks the block above.&lt;br /&gt;
|?&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digDown]]([&amp;lt;nowiki /&amp;gt;{{type|string}} toolSide])&lt;br /&gt;
|Breaks the block below. With hoe: tills the dirt beneath the space below it.&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.place]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|string}} signText])&lt;br /&gt;
|Places a block of the selected slot in front. Engrave &amp;lt;var&amp;gt;signText&amp;lt;/var&amp;gt; on signs if provided. Collects [[water]] or [[lava]] if the currently selected slot is an empty bucket.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a block of the selected slot above. Collects water or lava if the currently selected slot is an empty bucket.&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a block of the selected slot below. Collects water or lava if the currently selected slot is an empty bucket.&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a block in front.  Does not detect mobs.&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a block above&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a block below&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspect]]()&lt;br /&gt;
|Returns the ID string and metadata of the block in front of the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspectUp]]()&lt;br /&gt;
|Returns the ID string and metadata of the block above the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspectDown]]()&lt;br /&gt;
|Returns the ID string and metadata of the block below the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compare]]()&lt;br /&gt;
|Detects if the block in front is the same as the one in the currently selected slot&lt;br /&gt;
|1.31&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareUp]]()&lt;br /&gt;
|Detects if the block above is the same as the one in the currently selected slot&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareDown]]()&lt;br /&gt;
|Detects if the block below is the same as the one in the currently selected slot&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareTo]]({{type|number}} slot)&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same. Returns true if they are the same, false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e in front of the turtle) it will try to place into the inventory, returning false if the inventory is full.&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.dropUp]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e above the turtle) it will try to place into the inventory, returning false if the inventory is full. &lt;br /&gt;
|1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.dropDown]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e below the turtle) it will try to place into the inventory, returning false if the inventory is full. If above a furnace, will place item in the top slot.&lt;br /&gt;
|1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suckUp]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suckDown]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.refuel]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} quantity])&lt;br /&gt;
|If the current selected slot contains a fuel item, it will consume it to give the turtle the ability to move.&amp;lt;br /&amp;gt;Added in 1.4 and is only needed in needfuel mode. If the current slot doesn't contain a fuel item, it returns false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]]. If a quantity is specified, it will refuel only up to that many items, otherwise, it will consume all the items in the slot.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} fuel&lt;br /&gt;
|[[turtle.getFuelLevel]]()&lt;br /&gt;
|Returns the current fuel level of the turtle, this is the number of blocks the turtle can move.&amp;lt;br /&amp;gt;If &amp;lt;var&amp;gt;turtleNeedFuel = 0&amp;lt;/var&amp;gt; then it returns &amp;lt;var&amp;gt;&amp;quot;unlimited&amp;quot;&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} fuel&lt;br /&gt;
|[[turtle.getFuelLimit]]()&lt;br /&gt;
|Returns the maximum amount of fuel a turtle can store - by default, 20,000 for regular turtles, 100,000 for advanced.&amp;lt;br /&amp;gt;If &amp;lt;var&amp;gt;turtleNeedFuel = 0&amp;lt;/var&amp;gt; then it returns &amp;lt;var&amp;gt;&amp;quot;unlimited&amp;quot;&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.transferTo]]({{type|number}} slot [, {{type|number}} quantity])&lt;br /&gt;
|Transfers &amp;lt;var&amp;gt;quantity&amp;lt;/var&amp;gt; items from the selected slot to &amp;lt;var&amp;gt;slot&amp;lt;/var&amp;gt;. If &amp;lt;var&amp;gt;quantity&amp;lt;/var&amp;gt; isn't specified, will attempt to transfer everything in the selected slot to &amp;lt;var&amp;gt;slot&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.45&lt;br /&gt;
|}&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Redstone.setBundledOutput&amp;diff=7473</id>
		<title>Redstone.setBundledOutput</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Redstone.setBundledOutput&amp;diff=7473"/>
				<updated>2018-10-12T07:20:50Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Also make the function local&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=redstone.setBundledOutput&lt;br /&gt;
|args={{type|string}} side, {{type|number}} colors&lt;br /&gt;
|api=redstone&lt;br /&gt;
|returns=nil&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|examples=&lt;br /&gt;
===Basic usage===&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Toggles between the black and white wires every two seconds&lt;br /&gt;
|code=while true do&amp;lt;br /&amp;gt;    redstone.setBundledOutput(&amp;quot;back&amp;quot;, colors.black)&amp;lt;br /&amp;gt;    sleep(2)&amp;lt;br /&amp;gt;    redstone.setBundledOutput(&amp;quot;back&amp;quot;, colors.white)&amp;lt;br /&amp;gt;    sleep(2)&amp;lt;br /&amp;gt;end&lt;br /&gt;
|output=(nothing on the screen)&lt;br /&gt;
}}&lt;br /&gt;
===Combining outputs===&lt;br /&gt;
The value is passed as an integer, so sending multiple colors is as easy as adding them together:&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Toggles between the black/white and red/blue wires every two seconds&lt;br /&gt;
|code=while true do&amp;lt;br /&amp;gt;    redstone.setBundledOutput(&amp;quot;back&amp;quot;, colors.black + colors.white)&amp;lt;br /&amp;gt;    sleep(2)&amp;lt;br /&amp;gt;    redstone.setBundledOutput(&amp;quot;back&amp;quot;, colors.red + colors.blue)&amp;lt;br /&amp;gt;    sleep(2)&amp;lt;br /&amp;gt;end&lt;br /&gt;
|output=(nothing on the screen)&lt;br /&gt;
}}&lt;br /&gt;
===Clearing the output===&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Unsets the output (removes all power)&lt;br /&gt;
|code=local function unsetAll(sSide)&amp;lt;br /&amp;gt;    redstone.setBundledOutput(sSide, 0)&amp;lt;br /&amp;gt;end&lt;br /&gt;
|output=(nothing on the screen)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Redstone.setBundledOutput&amp;diff=7472</id>
		<title>Redstone.setBundledOutput</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Redstone.setBundledOutput&amp;diff=7472"/>
				<updated>2018-10-12T07:20:09Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Remove redundant parens - it was confusing someone&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=redstone.setBundledOutput&lt;br /&gt;
|args={{type|string}} side, {{type|number}} colors&lt;br /&gt;
|api=redstone&lt;br /&gt;
|returns=nil&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|examples=&lt;br /&gt;
===Basic usage===&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Toggles between the black and white wires every two seconds&lt;br /&gt;
|code=while true do&amp;lt;br /&amp;gt;    redstone.setBundledOutput(&amp;quot;back&amp;quot;, colors.black)&amp;lt;br /&amp;gt;    sleep(2)&amp;lt;br /&amp;gt;    redstone.setBundledOutput(&amp;quot;back&amp;quot;, colors.white)&amp;lt;br /&amp;gt;    sleep(2)&amp;lt;br /&amp;gt;end&lt;br /&gt;
|output=(nothing on the screen)&lt;br /&gt;
}}&lt;br /&gt;
===Combining outputs===&lt;br /&gt;
The value is passed as an integer, so sending multiple colors is as easy as adding them together:&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Toggles between the black/white and red/blue wires every two seconds&lt;br /&gt;
|code=while true do&amp;lt;br /&amp;gt;    redstone.setBundledOutput(&amp;quot;back&amp;quot;, colors.black + colors.white)&amp;lt;br /&amp;gt;    sleep(2)&amp;lt;br /&amp;gt;    redstone.setBundledOutput(&amp;quot;back&amp;quot;, colors.red + colors.blue)&amp;lt;br /&amp;gt;    sleep(2)&amp;lt;br /&amp;gt;end&lt;br /&gt;
|output=(nothing on the screen)&lt;br /&gt;
}}&lt;br /&gt;
===Clearing the output===&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Unsets the output (removes all power)&lt;br /&gt;
|code=function unsetAll(sSide)&amp;lt;br /&amp;gt;    redstone.setBundledOutput(sSide, 0)&amp;lt;br /&amp;gt;end&lt;br /&gt;
|output=(nothing on the screen)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.setAlarm&amp;diff=7471</id>
		<title>Os.setAlarm</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.setAlarm&amp;diff=7471"/>
				<updated>2018-02-09T21:01:07Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Use the example template instead of standard code blocks.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=os.setAlarm&lt;br /&gt;
 |args={{type|number}} time&lt;br /&gt;
 |api=OS&lt;br /&gt;
 |returns={{type|table}} alarmID&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Adds an alarm which will fire an &amp;quot;alarm&amp;quot; event at the specified Minecraft world time. The returned table acts as a unique ID for the alarm.&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=The basic usage of '''os.setAlarm''' From a [http://www.computercraft.info/forums2/index.php?/topic/5599-ossetalarm/page__view__findpost__p__46168 forum Post] by jag_e_nummer_ett.&lt;br /&gt;
|code= --(( Basic format ))--&lt;br /&gt;
 os.setAlarm(time)&lt;br /&gt;
 --(( Will timeout when it's 18 o'clock in the world ))--&lt;br /&gt;
 os.setAlarm(18.00)&lt;br /&gt;
 --(( Will timeout 2 (in-game) hours later ))--&lt;br /&gt;
 os.setAlarm(os.time()+2)&lt;br /&gt;
 --(( Basic event layout ))--&lt;br /&gt;
 local ev,p1 = os.pullEvent(&amp;quot;alarm&amp;quot;)&lt;br /&gt;
 --(( Event output ))--&lt;br /&gt;
 Name: alarm&lt;br /&gt;
 Parameter 1: A table that acts like it's unique ID&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Waits until 5 in the morning and prints a message. From a [http://www.computercraft.info/forums2/index.php?/topic/5599-ossetalarm/page__view__findpost__p__46167 forum Post] by MysticT.&lt;br /&gt;
|code= local alarm = os.setAlarm(5)&lt;br /&gt;
 while true do&lt;br /&gt;
     local evt, arg = os.pullEvent(&amp;quot;alarm&amp;quot;)&lt;br /&gt;
     if arg == alarm then&lt;br /&gt;
         print(&amp;quot;It's 5:00, wake up!&amp;quot;)&lt;br /&gt;
     end&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Making_a_Password_Protected_Door&amp;diff=7468</id>
		<title>Making a Password Protected Door</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Making_a_Password_Protected_Door&amp;diff=7468"/>
				<updated>2017-09-12T22:05:48Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Fix formatting of inline code blocks&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
This tutorial covers on how to make a computer output redstone current when the right password is typed in. The current is then used to trigger an iron door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
= How to make it =&lt;br /&gt;
&lt;br /&gt;
A password protected door is actually pretty easy, if you break it into steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, you need to craft a computer, and connect the back to an iron door with redstone. Like this:&lt;br /&gt;
&lt;br /&gt;
The front: [[File:Tutorial1.png|border|200px]]&lt;br /&gt;
&lt;br /&gt;
The back: [[File:cTutorial2.png|border|200px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can put the computer adjacent to the iron door without using redstone. Once you're done with the basics, open the computer and edit the &amp;quot;startup&amp;quot; file (type in &amp;lt;code&amp;gt;edit startup&amp;lt;/code&amp;gt;).&lt;br /&gt;
This will make it so the program will be executed when the computer boots.&lt;br /&gt;
&lt;br /&gt;
Once you access the startup file, enter in these five lines.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 [[Loops#The_While_loop|while]] true do&lt;br /&gt;
  [[term_(API)|term]].[[term.clear|clear]]()&lt;br /&gt;
  [[term_(API)|term]].[[term.setCursorPos|setCursorPos]](1, 1)&lt;br /&gt;
  [[print]](&amp;quot;Please Enter Password:&amp;quot;)&lt;br /&gt;
  local input = [[read]](&amp;quot;*&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first line opens a loop that will continue running forever, or until we explicitly exit it with the 'break' keyword. The second and third lines clear the screen of whatever may have been on it, and then set the cursor position to the top-left corner of the screen. This ensures that each time the program loops, the text appears in the same place. The fifth line assigns whatever the user types to the variable 'input'. So for example, if I typed &amp;quot;qwerty&amp;quot;, it would be assigning &amp;quot;qwerty&amp;quot; to the &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; variable. In the read call on the third line (&amp;lt;code&amp;gt;read(&amp;quot;*&amp;quot;)&amp;lt;/code&amp;gt;), the asterisk character will be used to replace each letter typed by the user, so that the password stays hidden.&lt;br /&gt;
&lt;br /&gt;
Here are the next few lines added on:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 [[Loops#The_While_loop|while]] true do&lt;br /&gt;
  [[term_(API)|term]].[[term.clear|clear]]()&lt;br /&gt;
  [[term_(API)|term]].[[term.setCursorPos|setCursorPos]](1, 1)&lt;br /&gt;
  [[print]](&amp;quot;Please Enter Password:&amp;quot;)&lt;br /&gt;
  input = [[read]](&amp;quot;*&amp;quot;)&lt;br /&gt;
  if input == &amp;quot;password&amp;quot; then&lt;br /&gt;
   [[redstone_(API)|redstone]].[[redstone.setOutput|setOutput]](&amp;quot;back&amp;quot;, true)&lt;br /&gt;
   [[os.sleep|sleep]](2)&lt;br /&gt;
   [[redstone_(API)|redstone]].[[redstone.setOutput|setOutput]](&amp;quot;back&amp;quot;, false)&lt;br /&gt;
  end&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
''where &amp;quot;password&amp;quot; is the password needed to open the door. You can modify it.''&lt;br /&gt;
&lt;br /&gt;
The first line we add, &amp;lt;code&amp;gt;if input == &amp;quot;password&amp;quot; then&amp;lt;/code&amp;gt; checks whether or not the &amp;lt;code&amp;gt;input&amp;lt;/code&amp;gt; variable contains the string &amp;quot;password&amp;quot;. The three lines immediately following are only executed if the password is correct. So if it's correct, &amp;lt;code&amp;gt;redstone.setOutput(&amp;quot;back&amp;quot;, true)&amp;lt;/code&amp;gt; sets the redstone output on the back side to true (on), which opens the door. The program then wait two seconds (&amp;lt;code&amp;gt;sleep(2)&amp;lt;/code&amp;gt;), and turns the redstone output back off again. The program then reaches the end of the loop and repeats.&lt;br /&gt;
&lt;br /&gt;
Please note that this is the basic format for a computer protection program as well. We would put this program in the startup file and instead of outputting redstone signals if the password was correct, we would use the break keyword instead to exit the loop and allow access to the rest of the computer.&lt;br /&gt;
&lt;br /&gt;
Note also that if the program fails somehow, pressing and holding Ctrl + T will terminate it and allow you to edit it, see the [http://computercraft.info/wiki/index.php?title=Making_a_Password_Protected_Door#Stop_people_from_terminating_your_lock No termination section] to stop people from exiting your lock.&lt;br /&gt;
&lt;br /&gt;
= Easier to understand code =&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;edit startup&amp;lt;/code&amp;gt; and type in this code: &lt;br /&gt;
(Use Ctrl + T to terminate the program, all code is explained in the comments, the --'s. It's good to read the comments, so you actually know what the code does, you do not need to have the comments in your code, of course).&lt;br /&gt;
&lt;br /&gt;
 local side = &amp;quot;left&amp;quot; -- Change left to whatever side your door / redstone is on, E.G: left, right, front, back, bottom, top. Be sure to leave the &amp;quot;s around it, though&lt;br /&gt;
 local password = &amp;quot;bacon&amp;quot; -- Change bacon to what you want your password to be. Be sure to leave the &amp;quot;s around it, though&lt;br /&gt;
 local opentime = 5 -- Change 5 to how long (in seconds) you want the redstone current to be on. Don't put &amp;quot;s around it, though&lt;br /&gt;
 [[Loops#The_While_loop|while]] true do &lt;br /&gt;
  [[term_(API)|term]].[[term.clear|clear]]() -- Clears the screen&lt;br /&gt;
  [[term_(API)|term]].[[term.setCursorPos|setCursorPos]](1,1) -- Fixes the cursor position&lt;br /&gt;
  [[write]](&amp;quot;Password: &amp;quot;) -- Prints 'Password: ' to the screen&lt;br /&gt;
  local input = [[read]](&amp;quot;*&amp;quot;) -- Makes the variable 'input' have the contents of what the user types in, the &amp;quot;*&amp;quot; part censors out the password&lt;br /&gt;
  if input == password then -- Checks if the user inputted the correct password&lt;br /&gt;
   [[term_(API)|term]].[[term.clear|clear]]() -- Already explained up top&lt;br /&gt;
   [[term_(API)|term]].[[term.setCursorPos|setCursorPos]](1,1)&lt;br /&gt;
   [[print]](&amp;quot;Password correct!&amp;quot;) -- Prints 'Password correct!' to the screen&lt;br /&gt;
   [[redstone_(API)|rs]].[[redstone.setOutput|setOutput]](side,true) -- Output a redstone current to the side you specified&lt;br /&gt;
   [[os.sleep|sleep]](opentime) -- Wait the amount of seconds you specifed, then..&lt;br /&gt;
   [[redstone_(API)|rs]].[[redstone.setOutput|setOutput]](side,false) -- Stop outputting a redstone current&lt;br /&gt;
  else -- Checks if the user didn't input the correct password&lt;br /&gt;
   [[print]](&amp;quot;Password incorrect!&amp;quot;) -- Prints 'Password incorrect!' to the screen&lt;br /&gt;
   [[os.sleep|sleep]](2) -- Waits 2 seconds&lt;br /&gt;
  end&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
= Stop people from terminating your lock =&lt;br /&gt;
&lt;br /&gt;
If you don't want people holding CTRL+T and quitting your lock, use this code at the top of your program:&lt;br /&gt;
&lt;br /&gt;
 os.pullEvent = os.pullEventRaw&lt;br /&gt;
&lt;br /&gt;
If you don't add this code to the top of your program, someone could terminate the lock and enter in a command and they can unlock your door without knowing the password. Adding the code is useful in Multiplayer.&lt;br /&gt;
&lt;br /&gt;
To re-enable the ability to terminate the program, you must first make a copy of &amp;lt;code&amp;gt;os.pullEvent&amp;lt;/code&amp;gt;, then you can restore it later.&lt;br /&gt;
&lt;br /&gt;
 local pullEvent = os.pullEvent&lt;br /&gt;
 os.pullEvent = os.pullEventRaw&lt;br /&gt;
&lt;br /&gt;
 -- If the desired conditions are met, you can run this line to allow the program to be terminated.&lt;br /&gt;
 os.pullEvent = pullEvent&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_Lumberjack_(tutorial)&amp;diff=7467</id>
		<title>Turtle Lumberjack (tutorial)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_Lumberjack_(tutorial)&amp;diff=7467"/>
				<updated>2017-09-12T21:58:46Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Fix code blocks being badly formatted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Turtle Lumberjack ==&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
Welcome to this [[:Category:Tutorials|tutorial]] about Turtle Lumberjacks.&lt;br /&gt;
&lt;br /&gt;
=== What are Turtle Lumberjacks? ===&lt;br /&gt;
Turtle Lumberjacks are mining turtles that are programmed to chop down a tree.&lt;br /&gt;
They are placed in front of a tree and then activated, and then you watch the tree get chopped down!&lt;br /&gt;
This can be also used to destroy pillars of sandstone, sand etc.&lt;br /&gt;
&lt;br /&gt;
== The Code ==&lt;br /&gt;
First, we start with the basics.&lt;br /&gt;
&lt;br /&gt;
 while turtle.detect() do&lt;br /&gt;
 &lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This makes it loop while there is a block in front of it.&lt;br /&gt;
Let's add the digging part to it.&lt;br /&gt;
&lt;br /&gt;
 while turtle.detect() do&lt;br /&gt;
  turtle.dig()&lt;br /&gt;
  turtle.up()&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This makes it dig the block if it is detected, then move up.&lt;br /&gt;
Let's add the print function to print what the turtle is doing.&lt;br /&gt;
&lt;br /&gt;
 while turtle.detect() do&lt;br /&gt;
  turtle.dig()&lt;br /&gt;
  print(&amp;quot;Digging the block&amp;quot;)&lt;br /&gt;
  turtle.up()&lt;br /&gt;
  print(&amp;quot;Moving up&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
There we go!&lt;br /&gt;
Let's make it come back down when there is no more blocks to be chopped, or there is a roof above it!&lt;br /&gt;
&lt;br /&gt;
 while turtle.detect() do&lt;br /&gt;
  turtle.dig()&lt;br /&gt;
  print(&amp;quot;Digging the block&amp;quot;)&lt;br /&gt;
  turtle.up()&lt;br /&gt;
  print(&amp;quot;Moving up&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
 while not turtle.detect() and not turtle.detectDown() do&lt;br /&gt;
  turtle.down()&lt;br /&gt;
  print(&amp;quot;Moving down&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This makes it check that while there are no blocks to be chopped and it can go down, it goes down.&lt;br /&gt;
Let's add a notification about the job being done.&lt;br /&gt;
&lt;br /&gt;
 while turtle.detect() do&lt;br /&gt;
  turtle.dig()&lt;br /&gt;
  print(&amp;quot;Digging the block&amp;quot;)&lt;br /&gt;
  turtle.up()&lt;br /&gt;
  print(&amp;quot;Moving up&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
 while not turtle.detect() and not turtle.detectDown() do&lt;br /&gt;
  turtle.down()&lt;br /&gt;
  print(&amp;quot;Moving down&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
 print(&amp;quot;Job done!&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There you go! Now it is done!&lt;br /&gt;
Your turtle will dig the tree up and then come back down.&lt;br /&gt;
&lt;br /&gt;
('''Helpful tip:''' Save this to your ComputerCraft/lua/rom/programs folder, then it will be on all turtles.)&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Receiving_a_rednet_message_through_os.pullEvent()&amp;diff=7463</id>
		<title>Receiving a rednet message through os.pullEvent()</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Receiving_a_rednet_message_through_os.pullEvent()&amp;diff=7463"/>
				<updated>2017-07-20T17:56:19Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Use local variables instead of globals&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following method is a good method of receiving a [[Rednet_(API)|rednet]] message without using rednet.receive().&lt;br /&gt;
It is usually used in IRC, Chat programs e.t.c.&lt;br /&gt;
When a message arrives to a computer, a &amp;quot;rednet_message&amp;quot; event occurs.  &lt;br /&gt;
== The Code ==&lt;br /&gt;
This is a typical Listener which prints the content and the sender id of any incoming message.&lt;br /&gt;
 for n,m in ipairs(rs.getSides()) do rednet.open(m) end -- Opens all rednet sides.&lt;br /&gt;
 while true do&lt;br /&gt;
   local event, id, text = os.pullEvent()&lt;br /&gt;
   if event == &amp;quot;rednet_message&amp;quot; then&lt;br /&gt;
     print(id .. &amp;quot;&amp;gt; &amp;quot; .. text)&lt;br /&gt;
   end&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
== Explanation ==&lt;br /&gt;
 for n,m in ipairs(rs.getSides()) do rednet.open(m) end&lt;br /&gt;
Here we just open all sides for rednet processing.&lt;br /&gt;
&lt;br /&gt;
 while true do&lt;br /&gt;
We start a loop because os.pullEvent() terminates itself after 10 seconds.&lt;br /&gt;
&lt;br /&gt;
 local event, id, text = os.pullEvent()&lt;br /&gt;
We wait for an event to occur and when this happens, we store the event's info into 3 variables.&lt;br /&gt;
NOTE: You can give your variables whichever name you want.&lt;br /&gt;
&lt;br /&gt;
 if event == &amp;quot;rednet_message&amp;quot; then&lt;br /&gt;
We check if the event was a rednet message.&lt;br /&gt;
&lt;br /&gt;
 print(id .. &amp;quot;&amp;gt; &amp;quot; .. text)&lt;br /&gt;
We print the message and the id of the sender.&lt;br /&gt;
&lt;br /&gt;
 end&lt;br /&gt;
 end&lt;br /&gt;
We close our previous statements.&lt;br /&gt;
&lt;br /&gt;
=== Security ===&lt;br /&gt;
Beware that rednet is not secure on its own, with easily exploitable vulnerabilities that allow hackers to hack your networks into pieces--through attacks like wiretapping, spoofing, forgery, overloading, and many more. Be sure to add your own security when using rednet.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_GPS_self-tracker_expansion_(tutorial)&amp;diff=7461</id>
		<title>Turtle GPS self-tracker expansion (tutorial)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_GPS_self-tracker_expansion_(tutorial)&amp;diff=7461"/>
				<updated>2017-05-17T17:27:25Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Fix getLocation implementation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial will teach you how to make a [[Turtle]] more efficient in keeping track of its location when using the [[Gps_(API)|GPS API]]. This is essentially an API that uses the native Turtle movement API while using its own movement as a sensor to keep track of its location, so it only requires a GPS signal once, until it is turned off. This API requires every Turtle you want to use the API with to have it installed. I recommend using an [[Advanced_Computer|Advanced Computer]] to write it on, move it to a [[Disk]] with a [[Disk_Drive|disk drive]] and moving it to the Turtle. Alternatively, if you are on Singleplayer or a Multiplayer admin and have access to the mod file, you can move it into the turtle/rom folder to have it automatically installed on every new turtle that is placed.&lt;br /&gt;
&lt;br /&gt;
Important: When starting, the program assumes that it is facing west, so first you must face West and then place the turtle. Here are some ways to check where you are facing:&lt;br /&gt;
You can see the sun/moon rising right in front of you. You are facing East.&lt;br /&gt;
You can see the sun/moon falling right in front of you. You are facing West.&lt;br /&gt;
Clouds go west. Check where they go.&lt;br /&gt;
Press F3 and locate the number behind &amp;quot;f&amp;quot;. This one is below &amp;quot;x&amp;quot;, &amp;quot;y&amp;quot; and &amp;quot;z&amp;quot;. If this number is 0, you are facing North. If this number is 1, you are facing West. If this number is 2, you are facing South. If this number is 3, you are facing East.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
''Note: This will only work on a Turtle. That said, even if it worked on a [[Computer|computer]], it wouldnt have any practical use because a computer cant move.''&amp;lt;br /&amp;gt;&lt;br /&gt;
Before you start, you must add this to the program that you want to use it with at the top line:&lt;br /&gt;
 os.loadApi(&amp;quot;tst&amp;quot;)&lt;br /&gt;
This will allow the program to use the API. This tutorial assumes that you use the file name &amp;quot;tst&amp;quot; for the API, but if you like to you can change it. You must then also change every reference to &amp;quot;tst&amp;quot; in your program, including the line above.&lt;br /&gt;
Write this in the computer/turtle:&lt;br /&gt;
&lt;br /&gt;
 -- Turtle Self-tracking System created by Latias1290.&lt;br /&gt;
 &lt;br /&gt;
 local xPos, yPos, zPos = nil&lt;br /&gt;
 face = 1&lt;br /&gt;
 cal = false&lt;br /&gt;
 &lt;br /&gt;
 function setLocation() -- get gps using other computers&lt;br /&gt;
  xPos, yPos, zPos = gps.locate()&lt;br /&gt;
  cal = true&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 function manSetLocation(number x, number y, number z) -- manually set location&lt;br /&gt;
  xPos = x&lt;br /&gt;
  yPos = y&lt;br /&gt;
  zPos = z&lt;br /&gt;
  cal = true&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 function getLocation() -- return the location&lt;br /&gt;
  if xPos ~= nil then&lt;br /&gt;
   return xPos, yPos, zPos&lt;br /&gt;
  else&lt;br /&gt;
   return nil&lt;br /&gt;
  end&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 function turnLeft() -- turn left&lt;br /&gt;
  if face == 0 then&lt;br /&gt;
   face = 1&lt;br /&gt;
  elseif face == 1 then&lt;br /&gt;
   face = 2&lt;br /&gt;
  elseif face == 2 then&lt;br /&gt;
   face = 3&lt;br /&gt;
  elseif face == 3 then&lt;br /&gt;
   face = 0&lt;br /&gt;
  end&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 function turnRight() -- turn right&lt;br /&gt;
  if face == 0 then&lt;br /&gt;
   face = 3&lt;br /&gt;
  elseif face == 1 then&lt;br /&gt;
   face = 0&lt;br /&gt;
  elseif face == 2 then&lt;br /&gt;
   face = 1&lt;br /&gt;
  elseif face == 3 then&lt;br /&gt;
   face = 2&lt;br /&gt;
  end&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 function forward() -- go forward&lt;br /&gt;
  turtle.forward()&lt;br /&gt;
  if cal == true then&lt;br /&gt;
   if face == 0 then&lt;br /&gt;
    zPos = zPos - 1&lt;br /&gt;
   elseif face == 1 then&lt;br /&gt;
    xPos = xPos - 1&lt;br /&gt;
   elseif face == 2 then&lt;br /&gt;
    zPos = zPos + 1&lt;br /&gt;
   elseif face == 3 then&lt;br /&gt;
    xPos = xPos + 1&lt;br /&gt;
   end&lt;br /&gt;
  else&lt;br /&gt;
   print(&amp;quot;Not Calibrated.&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 function back() -- go back&lt;br /&gt;
  turtle.back()&lt;br /&gt;
  if cal == true then&lt;br /&gt;
   if face == 0 then&lt;br /&gt;
    zPos = zPos + 1&lt;br /&gt;
   elseif face == 1 then&lt;br /&gt;
    xPos = xPos + 1&lt;br /&gt;
   elseif face == 2 then&lt;br /&gt;
    zPos = zPos - 1&lt;br /&gt;
   elseif face == 2 then&lt;br /&gt;
    xPos = xPos - 1&lt;br /&gt;
   end&lt;br /&gt;
  else&lt;br /&gt;
   print(&amp;quot;Not Calibrated.&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 function up() -- go up&lt;br /&gt;
  turtle.up()&lt;br /&gt;
  if cal == true then&lt;br /&gt;
   yPos = yPos + 1&lt;br /&gt;
  else&lt;br /&gt;
   print(&amp;quot;Not Calibrated.&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 function down() -- go down&lt;br /&gt;
  turtle.down()&lt;br /&gt;
  if cal == true then&lt;br /&gt;
   yPos = yPos - 1&lt;br /&gt;
  else&lt;br /&gt;
   print(&amp;quot;Not Calibrated.&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
  &lt;br /&gt;
  function jump() -- perform a jump. useless? yup!&lt;br /&gt;
   turtle.up()&lt;br /&gt;
   turtle.down()&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
== How to Use ==&lt;br /&gt;
This might seem daunting at the first moment. But dont worry, I will walk you through it. Note that to use it properly, you must always put &amp;quot;tst.&amp;quot; in front of it, or how you named it followed by a dot. So if I wanted to have my turtle go 1 block forward, I typed &amp;quot;tst.forward()&amp;quot;. Note that if you do not do either tst.getLocation OR tst.setLocation(coords), the API will print &amp;quot;Not Calibrated.&amp;quot; every time you use a command. This will not prevent you from using it, however.&lt;br /&gt;
&lt;br /&gt;
=== setLocation ===&lt;br /&gt;
To use this, you will need at least 4 computers equipped with a Wireless Modem, and having it host a GPS. More info about that [[Gps_(API)|here]] and [[Gps_(program)|here]].&lt;br /&gt;
&lt;br /&gt;
=== manSetLocation ===&lt;br /&gt;
For this one you will need to know the location of your turtle. Any location will work, but the API loses its point if you use another coordinate set.&lt;br /&gt;
A good way to obtain the coordinates is to open up the debug screen(press F3), stand on the turtle, write down the x, y and z fields, substract 1 from the Y coordinate and use these.&lt;br /&gt;
&lt;br /&gt;
=== getLocation ===&lt;br /&gt;
This one is pretty simple. It returns the coordinates. Note that you will have to overwrite all of them.&lt;br /&gt;
For example, if we had the variables x, y and z, and we wanted to have the value set to our location, we did this:&lt;br /&gt;
 x, y, z = tst.getLocation()&lt;br /&gt;
Simple right? Note that this will return nil if you are not calibrated, which means if you do it before you do setLocation or manSetLocation, x, y and z will be null!&lt;br /&gt;
&lt;br /&gt;
=== forward, back, up, down, turnLeft and turnRight ===&lt;br /&gt;
This one is pretty easy as well. It makes your turtle move 1 block in the direction you used(its obvious which function goes where) and update its location according to where it went.&lt;br /&gt;
&lt;br /&gt;
=== jump ===&lt;br /&gt;
This one works a bit different. It makes the turtle go up, then go down. &amp;quot;But thats useless!&amp;quot; you might say, and indeed it is!&lt;br /&gt;
&lt;br /&gt;
[[Category:Unofficial APIs]] [[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Colors_(API)&amp;diff=7458</id>
		<title>Colors (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Colors_(API)&amp;diff=7458"/>
				<updated>2016-12-24T14:03:50Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Remove distinction between black background and text colours&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Colors API allows you to manipulate sets of colors. This is useful in conjunction with Bundled Cables from the RedPower mod, RedNet Cables from the MineFactory Reloaded mod, and colors on [[Advanced Computer|Advanced Computers]] and [[Advanced Monitor|Advanced Monitors]].&lt;br /&gt;
&lt;br /&gt;
For the non-American English version just replace 'colors' with 'colours' and it will use the other API, colours—which is exactly the same, except in non-American English (e.g. gray is spelt grey and lightGray is spelt lightGrey).&lt;br /&gt;
&lt;br /&gt;
{{API table|Colors|image=Grid_disk.png|2=&lt;br /&gt;
&lt;br /&gt;
{{API table/row|[[colors.combine]]({{Type|number}} color1, {{Type|number}} color2, ...)|{{type|number}} value|&lt;br /&gt;
Combines one or more colors (or sets of colors) into a larger set.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row|[[colors.subtract]]({{Type|number}} colors, {{Type|number}} color1, {{Type|number}} color2, ...)|{{type|number}} value|&lt;br /&gt;
Removes one or more colors (or sets of colors) from an initial set.&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row|[[colors.test]]({{type|number}} colors, {{type|number}} color)|{{type|boolean}} contained|&lt;br /&gt;
Tests whether ''color'' is contained within '''colors'''.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The standard addition (+) and subtraction (-) operators while able to be used on colors instead of colors.combine and colors.subtract should be avoided due to the nature of the colour format. For example&amp;lt;pre&amp;gt;print(colors.white + colors.white)&amp;lt;/pre&amp;gt;will output 2 which is orange as opposed to&amp;lt;pre&amp;gt;print(colors.combine(colors.white, colors.white))&amp;lt;/pre&amp;gt;will output 1 which is white.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the [[Bit (API)]] may be used on sets of colors. For example, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bCableLeft  = rs.getBundledInput(&amp;quot;left&amp;quot;)&lt;br /&gt;
bCableRight = rs.getBundledInput(&amp;quot;right&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
-- Get a number representing colors on in both right and left bundled cables&lt;br /&gt;
commonColors    = bit.band(bCableLeft, bCableRight)&lt;br /&gt;
&lt;br /&gt;
-- Get all the colors active on either right or left&lt;br /&gt;
totalColors     = bit.bor(bCableLeft, bCableRight)&lt;br /&gt;
&lt;br /&gt;
-- Get the colors which are active on right, or left, but not both at the same time&lt;br /&gt;
exclusiveColors = bit.bxor(bCableLeft, bCableRight)&lt;br /&gt;
&lt;br /&gt;
-- Get the colors that are not active on the left&lt;br /&gt;
offColorsA      = bit.bnot(bCableLeft)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Colors==&lt;br /&gt;
The following table includes; the variable name to use in ComputerCraft programs, the decimal, hexadecimal, and binary values of the color, the number used in the 'paint' programs save files, and the actual color used to display in the ComputerCraft mod (provided in web hexadecimal format).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:right;&amp;quot;&lt;br /&gt;
! Color&lt;br /&gt;
! Decimal&lt;br /&gt;
! Hexadecimal&lt;br /&gt;
! Binary&lt;br /&gt;
! Paint&lt;br /&gt;
! Display&lt;br /&gt;
|-&lt;br /&gt;
| colors.white&lt;br /&gt;
| 1&lt;br /&gt;
| 0x1&lt;br /&gt;
| 0000000000000001&lt;br /&gt;
| 0&lt;br /&gt;
| style=&amp;quot;background-color:#F0F0F0;&amp;quot; | #F0F0F0&lt;br /&gt;
|-&lt;br /&gt;
| colors.orange&lt;br /&gt;
| 2&lt;br /&gt;
| 0x2&lt;br /&gt;
| 0000000000000010&lt;br /&gt;
| 1&lt;br /&gt;
| style=&amp;quot;background-color:#F2B233;&amp;quot; | #F2B233&lt;br /&gt;
|-&lt;br /&gt;
| colors.magenta&lt;br /&gt;
| 4&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0000000000000100&lt;br /&gt;
| 2&lt;br /&gt;
| style=&amp;quot;background-color:#E57FD8;&amp;quot; | #E57FD8&lt;br /&gt;
|-&lt;br /&gt;
| colors.lightBlue&lt;br /&gt;
| 8&lt;br /&gt;
| 0x8&lt;br /&gt;
| 0000000000001000&lt;br /&gt;
| 3&lt;br /&gt;
| style=&amp;quot;background-color:#99B2F2;&amp;quot; | #99B2F2&lt;br /&gt;
|-&lt;br /&gt;
| colors.yellow&lt;br /&gt;
| 16&lt;br /&gt;
| 0x10&lt;br /&gt;
| 0000000000010000&lt;br /&gt;
| 4&lt;br /&gt;
| style=&amp;quot;background-color:#DEDE6C;&amp;quot; | #DEDE6C&lt;br /&gt;
|-&lt;br /&gt;
| colors.lime&lt;br /&gt;
| 32&lt;br /&gt;
| 0x20&lt;br /&gt;
| 0000000000100000&lt;br /&gt;
| 5&lt;br /&gt;
| style=&amp;quot;background-color:#7FCC19;&amp;quot; | #7FCC19&lt;br /&gt;
|-&lt;br /&gt;
| colors.pink&lt;br /&gt;
| 64&lt;br /&gt;
| 0x40&lt;br /&gt;
| 0000000001000000&lt;br /&gt;
| 6&lt;br /&gt;
| style=&amp;quot;background-color:#F2B2CC;&amp;quot; | #F2B2CC&lt;br /&gt;
|-&lt;br /&gt;
| colors.gray&lt;br /&gt;
| 128&lt;br /&gt;
| 0x80&lt;br /&gt;
| 0000000010000000&lt;br /&gt;
| 7&lt;br /&gt;
| style=&amp;quot;background-color:#4C4C4C;&amp;quot; | #4C4C4C&lt;br /&gt;
|-&lt;br /&gt;
| colors.lightGray&lt;br /&gt;
| 256&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0000000100000000&lt;br /&gt;
| 8&lt;br /&gt;
| style=&amp;quot;background-color:#999999;&amp;quot; | #999999&lt;br /&gt;
|-&lt;br /&gt;
| colors.cyan&lt;br /&gt;
| 512&lt;br /&gt;
| 0x200&lt;br /&gt;
| 0000001000000000&lt;br /&gt;
| 9&lt;br /&gt;
| style=&amp;quot;background-color:#4C99B2;&amp;quot; | #4C99B2&lt;br /&gt;
|-&lt;br /&gt;
| colors.purple&lt;br /&gt;
| 1024&lt;br /&gt;
| 0x400&lt;br /&gt;
| 0000010000000000&lt;br /&gt;
| a&lt;br /&gt;
| style=&amp;quot;background-color:#B266E5;&amp;quot; | #B266E5&lt;br /&gt;
|-&lt;br /&gt;
| colors.blue&lt;br /&gt;
| 2048&lt;br /&gt;
| 0x800&lt;br /&gt;
| 0000100000000000&lt;br /&gt;
| b&lt;br /&gt;
| style=&amp;quot;background-color:#3366CC;&amp;quot; | #3366CC&lt;br /&gt;
|-&lt;br /&gt;
| colors.brown&lt;br /&gt;
| 4096&lt;br /&gt;
| 0x1000&lt;br /&gt;
| 0001000000000000&lt;br /&gt;
| c&lt;br /&gt;
| style=&amp;quot;background-color:#7F664C;&amp;quot; | #7F664C&lt;br /&gt;
|-&lt;br /&gt;
| colors.green&lt;br /&gt;
| 8192&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 0010000000000000&lt;br /&gt;
| d&lt;br /&gt;
| style=&amp;quot;background-color:#57A64E;&amp;quot; | #57A64E&lt;br /&gt;
|-&lt;br /&gt;
| colors.red&lt;br /&gt;
| 16384&lt;br /&gt;
| 0x4000&lt;br /&gt;
| 0100000000000000&lt;br /&gt;
| e&lt;br /&gt;
| style=&amp;quot;background-color:#CC4C4C;&amp;quot; | #CC4C4C&lt;br /&gt;
|-&lt;br /&gt;
| colors.black&lt;br /&gt;
| 32768&lt;br /&gt;
| 0x8000&lt;br /&gt;
| 1000000000000000&lt;br /&gt;
| f&lt;br /&gt;
| style=&amp;quot;background-color:#191919; color:#FFFFFF;&amp;quot; | #191919&lt;br /&gt;
|}&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=ComputerCraft.cfg&amp;diff=7190</id>
		<title>ComputerCraft.cfg</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=ComputerCraft.cfg&amp;diff=7190"/>
				<updated>2015-08-03T18:18:44Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Fix ComputerCraft version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is an example of the default ComputerCraft configuration file, as it's seen in version 1.74.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Configuration file&lt;br /&gt;
&lt;br /&gt;
general {&lt;br /&gt;
    # The fuel limit for Advanced Turtles&lt;br /&gt;
    I:advancedTurtleFuelLimit=100000&lt;br /&gt;
&lt;br /&gt;
    # The disk space limit for computers and turtles, in bytes&lt;br /&gt;
    I:computerSpaceLimit=1000000&lt;br /&gt;
&lt;br /&gt;
    # Set this to true to disable Lua 5.1 functions that will be removed in a future update. Useful for ensuring forward compatibility of your programs now.&lt;br /&gt;
    B:disable_lua51_features=false&lt;br /&gt;
&lt;br /&gt;
    # Enable Command Block peripheral support&lt;br /&gt;
    B:enableCommandBlock=false&lt;br /&gt;
&lt;br /&gt;
    # The disk space limit for floppy disks, in bytes&lt;br /&gt;
    I:floppySpaceLimit=125000&lt;br /&gt;
&lt;br /&gt;
    # Enable the &amp;quot;http&amp;quot; API on Computers (see &amp;quot;http_whitelist&amp;quot; for more fine grained control than this)&lt;br /&gt;
    B:http_enable=true&lt;br /&gt;
&lt;br /&gt;
    # A semicolon limited list of wildcards for domains that can be accessed through the &amp;quot;http&amp;quot; API on Computers. Set this to &amp;quot;*&amp;quot; to access to the entire internet. Example: &amp;quot;*.pastebin.com;*.github.com;*.computercraft.info&amp;quot; will restrict access to just those 3 domains.&lt;br /&gt;
    S:http_whitelist=*&lt;br /&gt;
&lt;br /&gt;
    # The range of Wireless Modems at maximum altitude in clear weather, in meters&lt;br /&gt;
    I:modem_highAltitudeRange=384&lt;br /&gt;
&lt;br /&gt;
    # The range of Wireless Modems at maximum altitude in stormy weather, in meters&lt;br /&gt;
    I:modem_highAltitudeRangeDuringStorm=96&lt;br /&gt;
&lt;br /&gt;
    # The range of Wireless Modems at low altitude in clear weather, in meters&lt;br /&gt;
    I:modem_range=64&lt;br /&gt;
&lt;br /&gt;
    # The range of Wireless Modems at low altitude in stormy weather, in meters&lt;br /&gt;
    I:modem_rangeDuringStorm=16&lt;br /&gt;
&lt;br /&gt;
    # The frequency that treasure disks will be found in dungeon chests, from 0 to 100. Increase this value if running a modpack with lots of mods that add dungeon loot, or you just want more treasure disks. Set to 0 to disable treasure disks.&lt;br /&gt;
    I:treasureDiskLootFrequency=1&lt;br /&gt;
&lt;br /&gt;
    # The fuel limit for Turtles&lt;br /&gt;
    I:turtleFuelLimit=20000&lt;br /&gt;
&lt;br /&gt;
    # If set to true, Turtles will push entities out of the way instead of stopping if there is space to do so&lt;br /&gt;
    B:turtlesCanPush=true&lt;br /&gt;
&lt;br /&gt;
    # Set whether Turtles require fuel to move&lt;br /&gt;
    B:turtlesNeedFuel=true&lt;br /&gt;
&lt;br /&gt;
    # If set to true, Turtles will be unable to build, dig, or enter protected areas (such as near the server spawn point)&lt;br /&gt;
    B:turtlesObeyBlockProtection=true&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Http.checkURL&amp;diff=7177</id>
		<title>Http.checkURL</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Http.checkURL&amp;diff=7177"/>
				<updated>2015-08-01T19:59:39Z</updated>
		
		<summary type="html">&lt;p&gt;SquidDev: Add http.checkURL page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=http.checkURL&lt;br /&gt;
|args={{type|string}} url&lt;br /&gt;
|returns={{type|boolean}} success, {{type|string}} message&lt;br /&gt;
|api=HTTP&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Validates a URL, checking it is in the correct format and it the website is on the whitelist. If the URL is not valid then the second return value will be an appropriate error message.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Validates a URL and errors if it is invalid.&lt;br /&gt;
|code=local success, message = '''http.checkURL(&amp;quot;http://example.com&amp;quot;)'''&lt;br /&gt;
 if not success then&lt;br /&gt;
   error(&amp;quot;Invalid URL: &amp;quot; .. message)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Various outputs of http.checkURL.&lt;br /&gt;
|code=http.checkURL(&amp;quot;http://example.com&amp;quot;) -- true&lt;br /&gt;
 http.checkURL(&amp;quot;example.com&amp;quot;) -- false, URL malformed&lt;br /&gt;
 http.checkURL(&amp;quot;ftp://example.com&amp;quot;) -- false, URL not http&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SquidDev</name></author>	</entry>

	</feed>