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

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.getItemCount&amp;diff=7018</id>
		<title>Turtle.getItemCount</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.getItemCount&amp;diff=7018"/>
				<updated>2015-04-26T23:31:39Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.getItemCount&lt;br /&gt;
|args=slot&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|number}} the number of items found in the specified slot.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Return the number of items in the specified slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the number of items in the specified slot.&lt;br /&gt;
|code=print(turtle.getItemCount(1))&lt;br /&gt;
|output=An integer 0 through 64 depending on number of items in slot 1.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.getItemSpace]]&lt;br /&gt;
*[[turtle.getItemDetail]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.getItemDetail&amp;diff=7017</id>
		<title>Turtle.getItemDetail</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.getItemDetail&amp;diff=7017"/>
				<updated>2015-04-26T23:31:15Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.getItemDetail&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|number}} slotNum]&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|table}} data&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=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 in a table format: &amp;lt;var&amp;gt;{ name = &amp;quot;modname:itemname&amp;quot;, damage = 0, count = 1 }&amp;lt;/var&amp;gt;. Returns {{type|nil}} if there is no item in the specified or currently selected slot.&lt;br /&gt;
|examples={{Example&lt;br /&gt;
|desc=If there is an item in the currently selected slot, prints it's name, damage value and count.&lt;br /&gt;
|code= local data = '''turtle.getItemDetail()'''&lt;br /&gt;
 &lt;br /&gt;
 if data then&lt;br /&gt;
   [[print]](&amp;quot;Item name: &amp;quot;, data.name)&lt;br /&gt;
   [[print]](&amp;quot;Item damage value: &amp;quot;, data.damage)&lt;br /&gt;
   [[print]](&amp;quot;Item count: &amp;quot;, data.count)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=If there is an item in the last slot, prints it's name.&lt;br /&gt;
|code= local data = '''turtle.getItemDetail(16)'''&lt;br /&gt;
 &lt;br /&gt;
 if data then&lt;br /&gt;
   [[print]](&amp;quot;Item name: &amp;quot;, data.name)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.getItemCount]]&lt;br /&gt;
*[[turtle.getItemSpace]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.getItemSpace&amp;diff=7016</id>
		<title>Turtle.getItemSpace</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.getItemSpace&amp;diff=7016"/>
				<updated>2015-04-26T23:31:09Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.getItemSpace&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|number}} the amount of room for items found in the specified slot.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Prints the number of spaces remaining in the specified slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the number of spaces remaining in the specified slot.&lt;br /&gt;
|code=print(turtle.getItemSpace())&lt;br /&gt;
|output=Integer 0 through 64 depending on number of items.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.getItemCount]]&lt;br /&gt;
*[[turtle.getItemDetail]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.getFuelLevel&amp;diff=7015</id>
		<title>Turtle.getFuelLevel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.getFuelLevel&amp;diff=7015"/>
				<updated>2015-04-26T23:28:20Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Moving trivia from Turtle (API) to turtle.getFuelLevel, and &amp;quot;see also&amp;quot; to a new section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.getFuelLevel&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=&amp;quot;unlimited&amp;quot; if fuel is disabled, otherwise the fuel level.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns how much [[fuel]] is inside the specific turtle. Turtles may be configured to ignore the need for fuel via [[ComputerCraft.cfg]], in which case this command will always return &amp;quot;unlimited&amp;quot;. Turtles loose their fuel when destroyed, if they don't have a [[label]].&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Trivia: during the 1.4 beta, [[turtle.getFuelLevel]]() in softcore (that is now &amp;lt;var&amp;gt;turtleneedsfuel = 0&amp;lt;/var&amp;gt;) returned 9000.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Attempts to refuel the turtle if the fuel tank is empty.&lt;br /&gt;
|code= if turtle.getFuelLevel() ~= &amp;quot;unlimited&amp;quot; and turtle.getFuelLevel() &amp;lt; 1 then&lt;br /&gt;
 	turtle.refuel()&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.refuel()]]&lt;br /&gt;
*[[turtle.getFuelLimit()]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=7014</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=7014"/>
				<updated>2015-04-26T23:27:40Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Moving trivia from Turtle (API) to turtle.getFuelLevel.&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]]()&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]]()&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]]()&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]]()&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]]()&lt;br /&gt;
|Breaks the block above. With hoe: tills the dirt above it.&lt;br /&gt;
|?&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the block below. With hoe: tills the dirt 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.drop|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.drop|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>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.getSelectedSlot&amp;diff=7013</id>
		<title>Turtle.getSelectedSlot</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.getSelectedSlot&amp;diff=7013"/>
				<updated>2015-04-26T23:21:03Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Removing the old &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.getSelectedSlot&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{Type|number}} selected slot&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Added by version 1.6 of ComputerCraft, this command returns the currently selected inventory slot. In builds prior this value must be tracked manually by the scripter.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Checks to see if the current inventory slot contains items.&lt;br /&gt;
|code= if turtle.getItemCount( turtle.getSelectedSlot() ) &amp;gt; 0 then&lt;br /&gt;
 	print(&amp;quot;I have items in my selected slot.&amp;quot;)&lt;br /&gt;
 else&lt;br /&gt;
 	print(&amp;quot;I'm out of items in my selected slot.&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
|output=Whether or not the currently selected slot contains items.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.select]]&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.getSelectedSlot&amp;diff=7012</id>
		<title>Turtle.getSelectedSlot</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.getSelectedSlot&amp;diff=7012"/>
				<updated>2015-04-26T23:15:47Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.getSelectedSlot&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{Type|number}} selected slot&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Added by version 1.6 of ComputerCraft, this command returns the currently selected inventory slot. In builds prior this value must be tracked manually by the scripter.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also: [[Turtle.select|turtle.select()]]&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Checks to see if the current inventory slot contains items.&lt;br /&gt;
|code= if turtle.getItemCount( turtle.getSelectedSlot() ) &amp;gt; 0 then&lt;br /&gt;
 	print(&amp;quot;I have items in my selected slot.&amp;quot;)&lt;br /&gt;
 else&lt;br /&gt;
 	print(&amp;quot;I'm out of items in my selected slot.&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
|output=Whether or not the currently selected slot contains items.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.select]]&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.select&amp;diff=7011</id>
		<title>Turtle.select</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.select&amp;diff=7011"/>
				<updated>2015-04-26T23:15:46Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.select&lt;br /&gt;
|args={{type|number}} slotNumber (1-16 in ComputerCraft 1.4+, otherwise 1-9)&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the slot number specified is greater than nine or not.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to select the specified slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Selects the specified slot&lt;br /&gt;
|code=print(turtle.select(5))&lt;br /&gt;
|output=true&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.getSelectedSlot]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.up&amp;diff=7010</id>
		<title>Turtle.up</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.up&amp;diff=7010"/>
				<updated>2015-04-26T23:12:33Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.up&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in moving upwards.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to move the turtle upwards.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Moves the turtle upwards&lt;br /&gt;
|code=print(turtle.up())&lt;br /&gt;
|output=true if the turtle could move upwards, false if there was something in the way&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.down]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.down&amp;diff=7009</id>
		<title>Turtle.down</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.down&amp;diff=7009"/>
				<updated>2015-04-26T23:12:31Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.down&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in moving downwards.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to move the turtle downwards.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Moves the turtle downwards&lt;br /&gt;
|code=print(turtle.down())&lt;br /&gt;
|output=true if the turtle could move downwards, false if there was something in the way&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.up]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.back&amp;diff=7008</id>
		<title>Turtle.back</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.back&amp;diff=7008"/>
				<updated>2015-04-26T23:09:59Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.back&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in moving backwards&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to move the turtle backwards.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Moves the turtle backwards&lt;br /&gt;
|code=print(turtle.back())&lt;br /&gt;
|output=true if the turtle could move backwards, false if there was something in the way&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.forward]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.forward&amp;diff=7007</id>
		<title>Turtle.forward</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.forward&amp;diff=7007"/>
				<updated>2015-04-26T23:09:58Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=turtle.forward&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in moving forward&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to move the turtle forward.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Tries to move the turtle forward and outputs whether it worked or not.&lt;br /&gt;
|code=if turtle.forward() then&lt;br /&gt;
  [[print]] (&amp;quot;Turtle moved forward.&amp;quot;)&lt;br /&gt;
 else&lt;br /&gt;
  [[print]] (&amp;quot;Turtle didn't move forward.&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
|output= Turtle moved forward. or Turtle didn't move forward.&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Tries to move the turtle forward a number of times. The times to move forward is specified by the user.&lt;br /&gt;
|code=local distance = ... -- gets the first argument from the user&lt;br /&gt;
 if distance ~= nil then&lt;br /&gt;
  distance = [[tonumber]] (distance) -- make it a number&lt;br /&gt;
  for i = 1, distance do&lt;br /&gt;
    turtle.forward()&lt;br /&gt;
  end&lt;br /&gt;
 else&lt;br /&gt;
  [[print]] (&amp;quot;Did not specify distance.&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
|output= Either the turtle moving the specified amount of times or missing parameter.&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs until the turtle can move forward.&lt;br /&gt;
|code=while not turtle.forward() do&lt;br /&gt;
  [[turtle.dig]]()&lt;br /&gt;
 end&lt;br /&gt;
|output= The turtle moves forward.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.back]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.turnRight&amp;diff=7006</id>
		<title>Turtle.turnRight</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.turnRight&amp;diff=7006"/>
				<updated>2015-04-26T23:07:56Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.turnRight&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in turning right.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to turn the turtle right.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Turns the turtle right&lt;br /&gt;
|code=print(turtle.turnRight())&lt;br /&gt;
|output=true - the turtle cannot fail to turn right&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.turnLeft]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.turnLeft&amp;diff=7005</id>
		<title>Turtle.turnLeft</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.turnLeft&amp;diff=7005"/>
				<updated>2015-04-26T23:07:30Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.turnLeft&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in turning left.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to turn the turtle left.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Turns the turtle left&lt;br /&gt;
|code=print(turtle.turnLeft())&lt;br /&gt;
|output=true - the turtle cannot fail to turn left&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.turnRight]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.equipRight&amp;diff=7004</id>
		<title>Turtle.equipRight</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.equipRight&amp;diff=7004"/>
				<updated>2015-04-26T23:05:36Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Moving &amp;quot;see also&amp;quot; to it's own section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.equipRight&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=true, or false if an invalid item was in the selected inventory slot.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=As of ComputerCraft 1.6, [[turtle]]s may have items added to (or even removed from!) them outside of the crafting grid. If a valid item exists in the currently selected inventory slot, this command places it on the turtle's right side. If an item was already present there, it'll be placed back into the inventory in the currently selected slot (assuming it's not taken up by eg an item that the turtle couldn't equip). Both actions can be performed in one go, allowing turtles to instantly swap tools.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Turtles may equip [[Turtle#Recipes|most any item they could be crafted together with]].&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Executed on a standard farming turtle (with a hoe on its left side), and assuming a diamond pick is in the currently selected inventory slot, has it equip both items - allowing it to plough dirt ''and'' collect blocks using [[Turtle.dig|turtle.dig()]].&lt;br /&gt;
|code= turtle.equipRight()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.equipLeft]]&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.equipLeft&amp;diff=7003</id>
		<title>Turtle.equipLeft</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.equipLeft&amp;diff=7003"/>
				<updated>2015-04-26T23:05:28Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Moving &amp;quot;see also&amp;quot; to it's own section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.equipLeft&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} was the item equipped successfully?&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=As of ComputerCraft 1.6, [[turtle]]s may have items added to (or even removed from!) them outside of the crafting grid. If a valid item exists in the currently selected inventory slot, this command places it on the turtle's left side. If an item was already present there, it'll be placed back into the inventory in the currently selected slot (assuming it's not taken up by eg an item that the turtle couldn't equip). Both actions can be performed in one go, allowing turtles to instantly swap tools.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Turtles may equip [[Turtle#Recipes|mostly any item they could be crafted together with]].&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Executed on a standard melee turtle (with a sword on its left side), and assuming a diamond pick is in the currently selected inventory slot, turns it into a miner turtle.&lt;br /&gt;
|code= '''turtle.equipLeft()'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.equipRight]]&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=ComputerCraft_IRC&amp;diff=7002</id>
		<title>ComputerCraft IRC</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=ComputerCraft_IRC&amp;diff=7002"/>
				<updated>2015-04-24T16:20:27Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Wiki formatting.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Stub}}&lt;br /&gt;
ComputerCraft has an official [https://en.wikipedia.org/wiki/Internet_Relay_Chat IRC] channel. You can connect to irc.esper.net server, and join #computercraft channel.&lt;br /&gt;
&lt;br /&gt;
Many of the admins, devs, and active members are on the IRC daily, and are usually available to answer questions about the mod, and may even help you with your code, if you ask nicely.&lt;br /&gt;
&lt;br /&gt;
A link to the webchat is [http://webchat.esper.net/?channels=#computercraft here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lists]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.attackDown&amp;diff=7001</id>
		<title>Turtle.attackDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.attackDown&amp;diff=7001"/>
				<updated>2015-04-24T16:07:44Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=turtle.attackDown&lt;br /&gt;
|api=turtle&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>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.attackUp&amp;diff=7000</id>
		<title>Turtle.attackUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.attackUp&amp;diff=7000"/>
				<updated>2015-04-24T16:07:39Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=turtle.attackUp&lt;br /&gt;
|api=turtle&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>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.attack&amp;diff=6999</id>
		<title>Turtle.attack</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.attack&amp;diff=6999"/>
				<updated>2015-04-24T16:07:38Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=turtle.attack&lt;br /&gt;
|api=turtle&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.&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>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.digDown&amp;diff=6998</id>
		<title>Turtle.digDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.digDown&amp;diff=6998"/>
				<updated>2015-04-22T21:17:11Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;, and a phrase from turtle.dig.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.digDown&lt;br /&gt;
|args=&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.&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>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.dig&amp;diff=6996</id>
		<title>Turtle.dig</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.dig&amp;diff=6996"/>
				<updated>2015-04-22T21:17:10Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.dig&lt;br /&gt;
|args=&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.&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>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.digUp&amp;diff=6997</id>
		<title>Turtle.digUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.digUp&amp;diff=6997"/>
				<updated>2015-04-22T21:17:10Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;, and a phrase from turtle.dig.&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;
|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>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.placeDown&amp;diff=6995</id>
		<title>Turtle.placeDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.placeDown&amp;diff=6995"/>
				<updated>2015-04-22T18:03:02Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot; and making description clearer.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.placeDown&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Places below a Block of the selected Slot.&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in placing the block.  False if selected slot is empty, or if there is already a block below.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Places a Block of the selected Slot below &lt;br /&gt;
|code=turtle.placeDown()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.place]]&lt;br /&gt;
*[[turtle.placeUp]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.placeUp&amp;diff=6994</id>
		<title>Turtle.placeUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.placeUp&amp;diff=6994"/>
				<updated>2015-04-22T18:02:58Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot; and making description clearer.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.placeUp&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Places above a Block of the selected Slot. See function [[turtle.select]] for information on selecting a slot for placement.&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in placing the block.  False if selected slot is empty, or if there is already a block above.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Places a Block of the selected Slot above&lt;br /&gt;
|code=turtle.placeUp()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.place]]&lt;br /&gt;
*[[turtle.placeDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.place&amp;diff=6993</id>
		<title>Turtle.place</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.place&amp;diff=6993"/>
				<updated>2015-04-22T18:02:57Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.place&lt;br /&gt;
|args=[&amp;lt;nowiki/&amp;gt;{{type|string}} signText]&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|returns={{type|boolean}} was the block placed?&lt;br /&gt;
|desc=Places the selected block in front of the Turtle. If you're placing a sign and &amp;lt;var&amp;gt;signText&amp;lt;/var&amp;gt; is given, then the turtle places the sign putting the text of &amp;lt;var&amp;gt;signText&amp;lt;/var&amp;gt; into it. Each line of the sign can be separated using ''newline'' (&amp;quot;\n&amp;quot;) character.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Places the selected block in front of the Turtle.&lt;br /&gt;
|code='''turtle.place()'''&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Places a sign which says &amp;quot;Hello&amp;quot; in the first row, &amp;quot;and&amp;quot; in the second row and &amp;quot;Welcome!&amp;quot; in the third row.&lt;br /&gt;
|code= '''turtle.place(&amp;quot;Hello\nand\nWelcome!&amp;quot;)'''&lt;br /&gt;
|output=Places a sign which says &amp;quot;Hello and Welcome!&amp;quot; with each word separated into different lines.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.placeUp]]&lt;br /&gt;
*[[turtle.placeDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.detectDown&amp;diff=6992</id>
		<title>Turtle.detectDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.detectDown&amp;diff=6992"/>
				<updated>2015-04-22T17:59:20Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.detectDown&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} If turtle has detected a block below.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if there is a Block Below.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Displays whether or not there is a block under the turtle.&lt;br /&gt;
|code=if turtle.detectDown() then&lt;br /&gt;
   print(&amp;quot;There is a block under me!&amp;quot;)&lt;br /&gt;
 else&lt;br /&gt;
   print(&amp;quot;There isn't a block under me!&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
|output=A message on the turtle screen telling if a block is under the turtle.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.detect]]&lt;br /&gt;
*[[turtle.detectUp]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.detect&amp;diff=6991</id>
		<title>Turtle.detect</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.detect&amp;diff=6991"/>
				<updated>2015-04-22T17:59:19Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.detect&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] If turtle has Detected a Block in front.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if there is a Block in front.  Does not detect mobs or liquids or floating items.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Detects if there is a Block in front and digs it out.&lt;br /&gt;
|code= if turtle.detect() then &amp;lt;br&amp;gt;    turtle.dig() &amp;lt;br&amp;gt;end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.detectUp]]&lt;br /&gt;
*[[turtle.detectDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.detectUp&amp;diff=6990</id>
		<title>Turtle.detectUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.detectUp&amp;diff=6990"/>
				<updated>2015-04-22T17:59:16Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.detectUp&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} is there a block above the turtle?&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if there is a block above the turtle.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=If there is a block above the turtle digs it.&lt;br /&gt;
|code= if '''turtle.detectUp()''' then&lt;br /&gt;
   [[turtle.digUp]]()&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.detect]]&lt;br /&gt;
*[[turtle.detectDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.inspectUp&amp;diff=6989</id>
		<title>Turtle.inspectUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.inspectUp&amp;diff=6989"/>
				<updated>2015-04-22T17:56:45Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.inspectUp&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the ID string and metadata of the block above the Turtle in a table format: &amp;lt;var&amp;gt;{ name = &amp;quot;modname:blockname&amp;quot;, metadata = 0 }&amp;lt;/var&amp;gt;.&lt;br /&gt;
|examples={{Example&lt;br /&gt;
|desc=If there is a block above the turtle, prints it's name and metadata.&lt;br /&gt;
|code= local success, data = '''turtle.inspectUp()'''&lt;br /&gt;
 &lt;br /&gt;
 if success then&lt;br /&gt;
   [[print]](&amp;quot;Block name: &amp;quot;, data.name)&lt;br /&gt;
   [[print]](&amp;quot;Block metadata: &amp;quot;, data.metadata)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
|notes=&lt;br /&gt;
* Returns false when there is nothing (air) above the Turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.inspect]]&lt;br /&gt;
*[[turtle.inspectDown]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.inspectDown&amp;diff=6988</id>
		<title>Turtle.inspectDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.inspectDown&amp;diff=6988"/>
				<updated>2015-04-22T17:56:44Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.inspectDown&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the ID string and metadata of the block below the Turtle in a table format: &amp;lt;var&amp;gt;{ name = &amp;quot;modname:blockname&amp;quot;, metadata = 0 }&amp;lt;/var&amp;gt;.&lt;br /&gt;
|examples={{Example&lt;br /&gt;
|desc=If there is a block below the turtle, prints it's name and metadata.&lt;br /&gt;
|code= local success, data = '''turtle.inspectDown()'''&lt;br /&gt;
 &lt;br /&gt;
 if success then&lt;br /&gt;
   [[print]](&amp;quot;Block name: &amp;quot;, data.name)&lt;br /&gt;
   [[print]](&amp;quot;Block metadata: &amp;quot;, data.metadata)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
|notes=&lt;br /&gt;
* Returns false when there is nothing (air) below the Turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.inspect]]&lt;br /&gt;
*[[turtle.inspectUp]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=6987</id>
		<title>Turtle.inspect</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=6987"/>
				<updated>2015-04-22T17:56:41Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.inspect&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the ID string and metadata of the block in front of the Turtle in a table format: &amp;lt;var&amp;gt;{ name = &amp;quot;modname:blockname&amp;quot;, metadata = 0 }&amp;lt;/var&amp;gt;.&lt;br /&gt;
|examples={{Example&lt;br /&gt;
|desc=If there is a block in front of the turtle, prints it's name and metadata.&lt;br /&gt;
|code= local success, data = '''turtle.inspect()'''&lt;br /&gt;
 &lt;br /&gt;
 if success then&lt;br /&gt;
   [[print]](&amp;quot;Block name: &amp;quot;, data.name)&lt;br /&gt;
   [[print]](&amp;quot;Block metadata: &amp;quot;, data.metadata)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
|notes=&lt;br /&gt;
* Returns false when there is nothing (air) in front of the Turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.inspectDown]]&lt;br /&gt;
*[[turtle.inspectUp]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.compareTo&amp;diff=6986</id>
		<title>Turtle.compareTo</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.compareTo&amp;diff=6986"/>
				<updated>2015-04-22T16:21:58Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.compareTo&lt;br /&gt;
|args=slot&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] true if the selected item matches the one in the specified slot.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if the block in the specified slot is the same as the one in the selected Slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Detects if the item in the selected slot is the same as the one in the specified slot.&lt;br /&gt;
|code=turtle.compareTo(2)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.compare]]&lt;br /&gt;
*[[turtle.compareUp]]&lt;br /&gt;
*[[turtle.compareDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.compareDown&amp;diff=6985</id>
		<title>Turtle.compareDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.compareDown&amp;diff=6985"/>
				<updated>2015-04-22T16:21:56Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.compareDown&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} is the block below the turtle same as the one in the selected slot?&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if the block in below is the same as the one in the selected Slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs down until the selected block is seen.&lt;br /&gt;
|code=while not '''turtle.compareDown()''' do&lt;br /&gt;
   [[turtle.digDown]]()&lt;br /&gt;
   [[turtle.down]]()&lt;br /&gt;
 end}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.compare]]&lt;br /&gt;
*[[turtle.compareUp]]&lt;br /&gt;
*[[turtle.compareTo]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.compareUp&amp;diff=6984</id>
		<title>Turtle.compareUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.compareUp&amp;diff=6984"/>
				<updated>2015-04-22T16:21:55Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.compareUp&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] returns true if the block above the turtle is the same as the one in the selected slot, false otherwise&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if the block in above is the same as the one in the selected Slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Detects if the block above is the same as the one in the selected Slot.&lt;br /&gt;
|code=turtle.compareUp()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.compare]]&lt;br /&gt;
*[[turtle.compareDown]]&lt;br /&gt;
*[[turtle.compareTo]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.compare&amp;diff=6983</id>
		<title>Turtle.compare</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.compare&amp;diff=6983"/>
				<updated>2015-04-22T16:21:54Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.compare&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] if the block in front is the same as the one in the selected Slot.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if the block in front is the same as the one in the selected Slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Detects if the block in front is the same as the one in the selected Slot.&lt;br /&gt;
|code=turtle.compare()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.compareUp]]&lt;br /&gt;
*[[turtle.compareDown]]&lt;br /&gt;
*[[turtle.compareTo]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=6982</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=6982"/>
				<updated>2015-04-21T23:17:04Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding the ComputerCraft version that introduced each function, accordingly with Changelog information. &amp;quot;?&amp;quot; for non-specified on that page, so the reader know that we don't know, instead of assuming that the feature was always present.&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]]()&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]]()&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]]()&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]]()&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]]()&lt;br /&gt;
|Breaks the block above. With hoe: tills the dirt above it.&lt;br /&gt;
|?&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the block below. With hoe: tills the dirt 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.drop|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.drop|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;
&lt;br /&gt;
Trivia:&lt;br /&gt;
During the 1.4 beta, [[turtle.getFuelLevel]]() in softcore (that is now &amp;lt;var&amp;gt;turtleneedsfuel = 0&amp;lt;/var&amp;gt;) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.suckDown&amp;diff=6981</id>
		<title>Turtle.suckDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.suckDown&amp;diff=6981"/>
				<updated>2015-04-21T21:04:20Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot; and correcting the name of the function.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.suck.Down&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount]&lt;br /&gt;
|returns={{type|boolean}} &amp;lt;var&amp;gt;true&amp;lt;/var&amp;gt; if at least one item was moved into the turtle's inventory; &amp;lt;var&amp;gt;false&amp;lt;/var&amp;gt; otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=&lt;br /&gt;
Moves one or more items from either the ground below the turtle, or, from an inventory-enabled block (such as a chest) below the turtle.&lt;br /&gt;
* If an item is in the square directly below the turtle, it picks up one of those items. &lt;br /&gt;
* If a chest is in the square directly below the turtle, it picks up the items from the first non-empty chest slot, moving from top left to bottom right. The items are moved into the currently selected turtle slot if there is room. &lt;br /&gt;
* If the currently selected turtle slot is filled up before all of the items are picked up, the remaining picked up items are put in the next available turtle slot. &lt;br /&gt;
* If the currently selected turtle slot is 16 and the next slot is required, it will loop around and try turtle slot 1, and so on.&lt;br /&gt;
* As of ComputerCraft 1.6, if an amount is specified, the turtle will attempt to pick up at most the specified number of items. Earlier builds always attempt to pick up a full slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Picks up some items from below the turtle.&lt;br /&gt;
|code='''turtle.suckDown()'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.suck]]&lt;br /&gt;
*[[turtle.suckUp]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.suckUp&amp;diff=6980</id>
		<title>Turtle.suckUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.suckUp&amp;diff=6980"/>
				<updated>2015-04-21T21:04:19Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot; and correcting the name of the function.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.suck.Up&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount]&lt;br /&gt;
|returns={{type|boolean}} &amp;lt;var&amp;gt;true&amp;lt;/var&amp;gt; if at least one item was moved into the turtle's inventory; &amp;lt;var&amp;gt;false&amp;lt;/var&amp;gt; otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=&lt;br /&gt;
Moves one or more items from either the ground above the turtle, or, from an inventory-enabled block (such as a chest) above the turtle.&lt;br /&gt;
* If an item is in the square directly above of the turtle, it picks up one of those items. &lt;br /&gt;
* If a chest is in the square directly above the turtle, it picks up the items from the first non-empty chest slot, moving from top left to bottom right. The items are moved into the currently selected turtle slot if there is room. &lt;br /&gt;
* If the currently selected turtle slot is filled up before all of the items are picked up, the remaining picked up items are put in the next available turtle slot. &lt;br /&gt;
* If the currently selected turtle slot is 16 and the next slot is required, it will loop around and try turtle slot 1, and so on.&lt;br /&gt;
* As of Minecraft 1.5/ComputerCraft 1.51, turtle.suckUp can be used to pick items of the output slot of a furnace.&lt;br /&gt;
* As of ComputerCraft 1.6, if an amount is specified, the turtle will attempt to pick up at most the specified number of items. Earlier builds always attempt to pick up a full slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Picks up some items from above the turtle.&lt;br /&gt;
|code='''turtle.suckUp()'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.suck]]&lt;br /&gt;
*[[turtle.suckDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.dropDown&amp;diff=6979</id>
		<title>Turtle.dropDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.dropDown&amp;diff=6979"/>
				<updated>2015-04-21T21:02:01Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Taking back useful information.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.dropDown&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count]&lt;br /&gt;
|returns={{type|boolean}} true if an item was dropped; false otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Drops all items off the selected slot, or, if ''count'' is specified, drops that many items. The items are dropped on the ground below the turtle by default, but if there is an inventory in that block, the items go to that inventory instead. Then the items will be placed in the first available slot of the inventory, starting at the top left, moving right and then down.&lt;br /&gt;
&lt;br /&gt;
This command, when the turtle is above the furnace, will load the top slot for smelting.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Drops all items in the first available slot.&lt;br /&gt;
|code=turtle.dropDown()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.drop]]&lt;br /&gt;
*[[turtle.dropUp]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.dropUp&amp;diff=6978</id>
		<title>Turtle.dropUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.dropUp&amp;diff=6978"/>
				<updated>2015-04-21T21:01:40Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot; for the oldly created articles and making the description clearer.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.dropUp&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count]&lt;br /&gt;
|returns={{type|boolean}} true if an item was dropped; false otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Drops all items off the selected slot, or, if ''count'' is specified, drops that many items. The items are dropped on the space above the turtle by default, but if there is an inventory in that block, the items go to that inventory instead. Then the items will be placed in the first available slot of the inventory, starting at the top left, moving right and then down.&lt;br /&gt;
&lt;br /&gt;
Before Minecraft 1.5/ComputerCraft 1.51, dropUp would load the bottom (fuel) slot for furnaces, since the hopper-related changes, fuel is loaded into the sides, and the output slot is available on the bottom (using [[turtle.suckUp]])&lt;br /&gt;
&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Drops all items in the first available slot.&lt;br /&gt;
|code=turtle.dropUp()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.drop]]&lt;br /&gt;
*[[turtle.dropDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.dropDown&amp;diff=6977</id>
		<title>Turtle.dropDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.dropDown&amp;diff=6977"/>
				<updated>2015-04-21T20:58:08Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot; for the oldly created articles and making the description clearer.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.dropDown&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count]&lt;br /&gt;
|returns={{type|boolean}} true if an item was dropped; false otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Drops all items off the selected slot, or, if ''count'' is specified, drops that many items. The items are dropped on the ground below the turtle by default, but if there is an inventory in that block, the items go to that inventory instead. Then the items will be placed in the first available slot of the inventory, starting at the top left, moving right and then down.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Drops all items in the first available slot.&lt;br /&gt;
|code=turtle.dropDown()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.drop]]&lt;br /&gt;
*[[turtle.dropUp]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.drop&amp;diff=6976</id>
		<title>Turtle.drop</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.drop&amp;diff=6976"/>
				<updated>2015-04-21T20:56:32Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding &amp;quot;see also&amp;quot; for the oldly created articles and making the description clearer.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.drop&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count]&lt;br /&gt;
|returns={{type|boolean}} true if an item was dropped; false otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Drops all items off the selected slot, or, if ''count'' is specified, drops that many items. The items are dropped on the ground by default, but if there is an inventory in that block, the items go to that inventory instead. Then the items will be placed in the first available slot of the inventory, starting at the top left, moving right and then down.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Drops all items in the first available slot.&lt;br /&gt;
|code=turtle.drop()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.dropDown]]&lt;br /&gt;
*[[turtle.dropUp]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.suckDown&amp;diff=6975</id>
		<title>Turtle.suckDown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.suckDown&amp;diff=6975"/>
				<updated>2015-04-21T20:50:55Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Removing examples of other commands, keeping just the examples related to this command.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.suck&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount]&lt;br /&gt;
|returns={{type|boolean}} &amp;lt;var&amp;gt;true&amp;lt;/var&amp;gt; if at least one item was moved into the turtle's inventory; &amp;lt;var&amp;gt;false&amp;lt;/var&amp;gt; otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=&lt;br /&gt;
Moves one or more items from either the ground below the turtle, or, from an inventory-enabled block (such as a chest) below the turtle.&lt;br /&gt;
* If an item is in the square directly below the turtle, it picks up one of those items. &lt;br /&gt;
* If a chest is in the square directly below the turtle, it picks up the items from the first non-empty chest slot, moving from top left to bottom right. The items are moved into the currently selected turtle slot if there is room. &lt;br /&gt;
* If the currently selected turtle slot is filled up before all of the items are picked up, the remaining picked up items are put in the next available turtle slot. &lt;br /&gt;
* If the currently selected turtle slot is 16 and the next slot is required, it will loop around and try turtle slot 1, and so on.&lt;br /&gt;
* As of ComputerCraft 1.6, if an amount is specified, the turtle will attempt to pick up at most the specified number of items. Earlier builds always attempt to pick up a full slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Picks up some items from below the turtle.&lt;br /&gt;
|code='''turtle.suckDown()'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.suckUp&amp;diff=6974</id>
		<title>Turtle.suckUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.suckUp&amp;diff=6974"/>
				<updated>2015-04-21T20:50:54Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Removing examples of other commands, keeping just the examples related to this command.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.suck&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount]&lt;br /&gt;
|returns={{type|boolean}} &amp;lt;var&amp;gt;true&amp;lt;/var&amp;gt; if at least one item was moved into the turtle's inventory; &amp;lt;var&amp;gt;false&amp;lt;/var&amp;gt; otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=&lt;br /&gt;
Moves one or more items from either the ground above the turtle, or, from an inventory-enabled block (such as a chest) above the turtle.&lt;br /&gt;
* If an item is in the square directly above of the turtle, it picks up one of those items. &lt;br /&gt;
* If a chest is in the square directly above the turtle, it picks up the items from the first non-empty chest slot, moving from top left to bottom right. The items are moved into the currently selected turtle slot if there is room. &lt;br /&gt;
* If the currently selected turtle slot is filled up before all of the items are picked up, the remaining picked up items are put in the next available turtle slot. &lt;br /&gt;
* If the currently selected turtle slot is 16 and the next slot is required, it will loop around and try turtle slot 1, and so on.&lt;br /&gt;
* As of Minecraft 1.5/ComputerCraft 1.51, turtle.suckUp can be used to pick items of the output slot of a furnace.&lt;br /&gt;
* As of ComputerCraft 1.6, if an amount is specified, the turtle will attempt to pick up at most the specified number of items. Earlier builds always attempt to pick up a full slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Picks up some items from above the turtle.&lt;br /&gt;
|code='''turtle.suckUp()'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.suck&amp;diff=6973</id>
		<title>Turtle.suck</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.suck&amp;diff=6973"/>
				<updated>2015-04-21T20:50:52Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Removing examples of other commands, keeping just the examples related to this command.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.suck&lt;br /&gt;
|args=[&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount]&lt;br /&gt;
|returns={{type|boolean}} &amp;lt;var&amp;gt;true&amp;lt;/var&amp;gt; if at least one item was moved into the turtle's inventory; &amp;lt;var&amp;gt;false&amp;lt;/var&amp;gt; otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=&lt;br /&gt;
Moves one or more items from either the ground in front of the turtle, or, from an inventory-enabled block (such as a chest) in front of the turtle.&lt;br /&gt;
* If an item is in the square directly in front of the turtle, it picks up one of those items. &lt;br /&gt;
* If a chest is in the square directly in front of the turtle, it picks up the items from the first non-empty chest slot, moving from top left to bottom right. The items are moved into the currently selected turtle slot if there is room. &lt;br /&gt;
* If the currently selected turtle slot is filled up before all of the items are picked up, the remaining picked up items are put in the next available turtle slot. &lt;br /&gt;
* If the currently selected turtle slot is 16 and the next slot is required, it will loop around and try turtle slot 1, and so on.&lt;br /&gt;
* As of ComputerCraft 1.6, if an amount is specified, the turtle will attempt to pick up at most the specified number of items. Earlier builds always attempt to pick up a full slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Picks up some items from in front of the turtle.&lt;br /&gt;
|code='''turtle.suck()'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.suckUp]]&lt;br /&gt;
*[[turtle.suckDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Portable_Computer&amp;diff=6972</id>
		<title>Portable Computer</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Portable_Computer&amp;diff=6972"/>
				<updated>2015-04-21T20:48:27Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Redirected page to Pocket Computer&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Pocket Computer]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Printed_Book&amp;diff=6971</id>
		<title>Printed Book</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Printed_Book&amp;diff=6971"/>
				<updated>2015-04-21T20:47:25Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding Template:Block. It isn't a block, but Portable Computer uses this infobox, so the other items should use too. Please just check if &amp;quot;is-peripheral&amp;quot; is right. It isn't optional, but I don't know how to fill this field.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Block&lt;br /&gt;
|name=Printed Book&lt;br /&gt;
|image=Grid printed book .png&lt;br /&gt;
|id=&lt;br /&gt;
|damage-value=&lt;br /&gt;
|is-peripheral=&lt;br /&gt;
}}&lt;br /&gt;
The printed book is an item consisting of more than one [[Printed Page|printed page]] bound with a leather cover.   The book can be viewed by right clicking with it on the hotbar. While being viewed, the mouse scroll wheel or left/right arrow keys can be used to move between pages.&lt;br /&gt;
&lt;br /&gt;
== Crafting ==&lt;br /&gt;
The printed book can be crafted with a string, a piece of leather, and the pages to combine, either as multiple individual [[Printed Page|printed page]]s, at least one already combined [[Printed Pages|printed pages]], or a combination of the two.&lt;br /&gt;
The order of the pages in the book is determined by the order the pages are arranged in in the crafting grid, from left to right then top to bottom. The position of the string and leather in the crafting grid does not matter, nor does the exact position of the pages.&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=printed_page |B1=printed_page |C1=printed_page&lt;br /&gt;
 |A2=String |B2=Leather&lt;br /&gt;
 |Output=printed_book_&lt;br /&gt;
}}&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=printed_pages |B1=String |C1=Leather&lt;br /&gt;
 |Output=printed_book_&lt;br /&gt;
}}&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=printed_pages |B1=printed_pages |C1=printed_pages&lt;br /&gt;
 |A2=printed_page  |B2=printed_page |C2=printed_page&lt;br /&gt;
 |A3=String        |B3=Leather&lt;br /&gt;
 |Output=printed_book_&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{BlocksItemsList}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Items]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Printed_Pages&amp;diff=6970</id>
		<title>Printed Pages</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Printed_Pages&amp;diff=6970"/>
				<updated>2015-04-21T20:47:22Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding Template:Block. It isn't a block, but Portable Computer uses this infobox, so the other items should use too. Please just check if &amp;quot;is-peripheral&amp;quot; is right. It isn't optional, but I don't know how to fill this field.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Block&lt;br /&gt;
|name=Printed Pages&lt;br /&gt;
|image=Grid printed pages.png&lt;br /&gt;
|id=&lt;br /&gt;
|damage-value=&lt;br /&gt;
|is-peripheral=&lt;br /&gt;
}}&lt;br /&gt;
Printed pages are an item created by crafting together more than one [[Printed Page]] or printed pages together with a string.  The pages can be viewed by right clicking with it on the hotbar. While being viewed, the mouse scroll wheel or left/right arrow keys can be used to move between pages.&lt;br /&gt;
&lt;br /&gt;
== Crafting ==&lt;br /&gt;
The order of the pages in the produced item is determined by the order the pages are arranged in in the crafting grid, from left to right then top to bottom. The position of the string in the crafting grid does not matter, nor does the exact position of the pages.&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |B1=printed_page&lt;br /&gt;
 |A2=String       |B2=printed_page&lt;br /&gt;
 |B3=printed_page&lt;br /&gt;
 |Output=printed_pages&lt;br /&gt;
}}&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=printed_pages  |B1=printed_pages  |C1=printed_pages&lt;br /&gt;
 |A2=printed_page   |B2=printed_page   |C2=printed_page&lt;br /&gt;
 |B3=String&lt;br /&gt;
 |Output=printed_pages&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{BlocksItemsList}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Items]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Printed_Page&amp;diff=6969</id>
		<title>Printed Page</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Printed_Page&amp;diff=6969"/>
				<updated>2015-04-21T20:47:19Z</updated>
		
		<summary type="html">&lt;p&gt;MisterSanderson: Adding Template:Block. It isn't a block, but Portable Computer uses this infobox, so the other items should use too. Please just check if &amp;quot;is-peripheral&amp;quot; is right. It isn't optional, but I don't know how to fill this field.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Block&lt;br /&gt;
|name=Printed Page&lt;br /&gt;
|image=Grid Page.png&lt;br /&gt;
|id=&lt;br /&gt;
|damage-value=&lt;br /&gt;
|is-peripheral=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[File:PrintedPage.png|thumb|Viewing a printed page]]&lt;br /&gt;
&lt;br /&gt;
The printed page is an item which is created with the [[printer]]. The contents of the page can be viewed by right clicking with it on the hotbar. Two or more can be crafted together with a string to create [[Printed Pages|printed pages]], or crafted together with a string and a piece of leather to create a [[printed book]].&lt;br /&gt;
&lt;br /&gt;
Printed Page can't be read by computers. If you want to save a program, use a [[Floppy Disk]] instead.&lt;br /&gt;
&lt;br /&gt;
{{BlocksItemsList}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Items]]&lt;/div&gt;</summary>
		<author><name>MisterSanderson</name></author>	</entry>

	</feed>