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

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=3487</id>
		<title>User talk:Thesbros</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=3487"/>
				<updated>2012-10-24T01:29:40Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Undo revision 3486 by Riking (talk) lolninja&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Keymapper API ==&lt;br /&gt;
&lt;br /&gt;
The keymapper API was intended to assist with deciphering os.pullEvent(&amp;quot;key&amp;quot;) calls. os.pullEvent(&amp;quot;char&amp;quot;) basically replicates the conditions that it was intended to solve, and that's why os.pullEvent(&amp;quot;char&amp;quot;) was the only one I listed in the deprecated statement. Can you explain to me your reasoning for including key events in the notice? [[User:Riking|Riking]]&lt;br /&gt;
&lt;br /&gt;
== Random Reverts? ==&lt;br /&gt;
Hello its mandrake again. and I would like to ask why you keep reverting like a madman?! I wanted that page deleted for a reason. The code on that page is old and outdated and did not work back in 1.3 or so when i tried it.&lt;br /&gt;
[[User:FernFlower|FernFlower]] 21:28, 23 October 2012 (EDT)&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=3486</id>
		<title>User talk:Thesbros</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=3486"/>
				<updated>2012-10-24T01:29:26Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: /* Mandrake */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Keymapper API ==&lt;br /&gt;
&lt;br /&gt;
The keymapper API was intended to assist with deciphering os.pullEvent(&amp;quot;key&amp;quot;) calls. os.pullEvent(&amp;quot;char&amp;quot;) basically replicates the conditions that it was intended to solve, and that's why os.pullEvent(&amp;quot;char&amp;quot;) was the only one I listed in the deprecated statement. Can you explain to me your reasoning for including key events in the notice? [[User:Riking|Riking]]&lt;br /&gt;
&lt;br /&gt;
== Random Reverts? ==&lt;br /&gt;
Hello its mandrake again. and I would like to ask why you keep reverting like a madman?! I wanted that page deleted for a reason. The code on that page is old and outdated and did not work back in 1.3 or so when i tried it.&lt;br /&gt;
[[User:FernFlower|FernFlower]] 21:28, 23 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Mandrake ==&lt;br /&gt;
&lt;br /&gt;
Hello its mandrake again. and I would like to ask why you keep reverting like a madman?! I wanted that page deleted for a reason. The code on that page is old and outdated and did not work back in 1.3 or so when i tried it.&lt;br /&gt;
[[User:FernFlower|FernFlower]] 21:28, 23 October 2012 (EDT)&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=3483</id>
		<title>User talk:Thesbros</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=3483"/>
				<updated>2012-10-24T01:25:03Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Keymapper API ==&lt;br /&gt;
&lt;br /&gt;
The keymapper API was intended to assist with deciphering os.pullEvent(&amp;quot;key&amp;quot;) calls. os.pullEvent(&amp;quot;char&amp;quot;) basically replicates the conditions that it was intended to solve, and that's why os.pullEvent(&amp;quot;char&amp;quot;) was the only one I listed in the deprecated statement. Can you explain to me your reasoning for including key events in the notice? [[User:Riking|Riking]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:Theeboris&amp;diff=3482</id>
		<title>User talk:Theeboris</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:Theeboris&amp;diff=3482"/>
				<updated>2012-10-24T01:24:42Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: create section &amp;quot;Your username&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Your username==&lt;br /&gt;
Hello, welcome to the wiki. Your username is very similar to that of [[User:Thesbros]]. It's not at all required that you change it, I'm just asking you to consider that this may cause some confusion among people. Thank you for contributing to the ComputerCraft Wiki, though! [[User:Riking|Riking]] 21:24, 23 October 2012 (EDT)&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=3336</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=3336"/>
				<updated>2012-10-08T04:15:40Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Update to craft() mechanics&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your Turtles.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | &amp;lt;center&amp;gt;&amp;lt;b&amp;gt;KEY&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Color&lt;br /&gt;
! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
|White&lt;br /&gt;
|All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green&lt;br /&gt;
|Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|Yellow&lt;br /&gt;
|Mining, Felling, Digging, Farming&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|Red&lt;br /&gt;
|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;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|Return&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.craft]]()&lt;br /&gt;
|Craft items using ingredients anywhere in the Turtle's inventory and place results in the active slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;slot &amp;gt; 16&amp;quot;&lt;br /&gt;
|[[turtle.select]]( slotNum )&lt;br /&gt;
|The Turtle selects the given Slot (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemCount]]( slotNum )&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemSpace]]( slotNum )&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot; &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|nil&lt;br /&gt;
|[[turtle.place]]( [signText] )&lt;br /&gt;
|Places a Block of the selected slot in front. Engrave [signText] on signs if provided.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a Block of the selected slot above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a Block of the selected slot below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a Block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.compareTo]]( [slot] )&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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. If below a furnace, will place item in the bottom slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suck]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.refuel]]([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 yields 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;
|int &amp;quot;fuel&amp;quot;&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 turtleNeedFuel = 0 then it yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&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 turtleneedsfuel = 0) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Disk&amp;diff=3210</id>
		<title>Disk</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Disk&amp;diff=3210"/>
				<updated>2012-09-26T22:39:55Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: bold not italic&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{disambiguation}}&lt;br /&gt;
'''Disk''' can mean one of:&lt;br /&gt;
* [[Floppy Disk]], an item you use to store data on&lt;br /&gt;
* [[Disk (API)]], an API for programs&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Disk&amp;diff=3209</id>
		<title>Disk</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Disk&amp;diff=3209"/>
				<updated>2012-09-26T22:39:44Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: disambig&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{disambiguation}}&lt;br /&gt;
''Disk'' can mean one of:&lt;br /&gt;
* [[Floppy Disk]], an item you use to store data on&lt;br /&gt;
* [[Disk (API)]], an API for programs&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=3164</id>
		<title>User talk:Thesbros</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=3164"/>
				<updated>2012-09-24T01:21:22Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Keymapper API&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Keymapper API ==&lt;br /&gt;
&lt;br /&gt;
The keymapper API was intended to assist with deciphering os.pullEvent(&amp;quot;key&amp;quot;) calls. os.pullEvent(&amp;quot;char&amp;quot;) basically replicates the conditions that it was intended to solve, and that's why os.pullEvent(&amp;quot;char&amp;quot;) was the only one I listed in the deprecated statement. Can you explain to me your reasoning for including key events in the notice?&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=3161</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=3161"/>
				<updated>2012-09-24T01:09:46Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: /* Recipes */ centered text, added text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS (like the [[Console|consoles]]) named [[TurtleOS]]. They have the ability to place, break and detect blocks, move around and drop items in their inventory. The programs they run are stored on its internal memory or [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles and added new tools for them to use. Turtles can now in addition to pickaxes use: Hoes, crafting tables, axes, shovels and sword. The update also included a new fuel system for the turtles. Turtles also got an inventory upgrade from 9 slots to 16.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy lava flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks==&lt;br /&gt;
Turtles do not have a built-in floppy drive. As such they need a floppy drive placed beside them to access disks. However if the turtle is a Wireless turtle, the floppy drive and other peripherals must be placed on a side other than the side the wireless modem is on.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles run on fuel. Fuel is any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 movement per half second the fuel would have burnt in a furnace.&lt;br /&gt;
The turtle can move 1 block for each fuel count it got, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
&lt;br /&gt;
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.&lt;br /&gt;
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.&lt;br /&gt;
This mode can be turned on by editing the turtle config file  (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a hoe can till dirt.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, mine wood, and even break dirt and gravel, depending on the tool you used on it. The tools equipped on the turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a turtle breaks the block it gets the item directly into its inventory. Different tools yields different drop, for example, an axe can break anything, but it won't get ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles equipped with a workbench can craft items. When crafting, the inventory must be clear of all items other than the ones needed for the recipe.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a sword can attack players and mobs. When a turtle kills a mob it will leave the experience orbs on the ground, but add the loot to it's inventory. Turtles can also attack with any tool, where axe is the second best after the sword.&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=console    |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Wireless&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=modem&lt;br /&gt;
 |Output=wireless_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=Crafty_Mining_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Crafty_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Wireless_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Crafty_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Wireless_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Crafty_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Wireless_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Crafty_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Wireless_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
|See Above&lt;br /&gt;
|N/A&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=workbench&lt;br /&gt;
 |Output=Wireless_Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=3159</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=3159"/>
				<updated>2012-09-24T01:07:01Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: /* Recipes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS (like the [[Console|consoles]]) named [[TurtleOS]]. They have the ability to place, break and detect blocks, move around and drop items in their inventory. The programs they run are stored on its internal memory or [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles and added new tools for them to use. Turtles can now in addition to pickaxes use: Hoes, crafting tables, axes, shovels and sword. The update also included a new fuel system for the turtles. Turtles also got an inventory upgrade from 9 slots to 16.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy lava flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks==&lt;br /&gt;
Turtles do not have a built-in floppy drive. As such they need a floppy drive placed beside them to access disks. However if the turtle is a Wireless turtle, the floppy drive and other peripherals must be placed on a side other than the side the wireless modem is on.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles run on fuel. Fuel is any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 movement per half second the fuel would have burnt in a furnace.&lt;br /&gt;
The turtle can move 1 block for each fuel count it got, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
&lt;br /&gt;
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.&lt;br /&gt;
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.&lt;br /&gt;
This mode can be turned on by editing the turtle config file  (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a hoe can till dirt.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, mine wood, and even break dirt and gravel, depending on the tool you used on it. The tools equipped on the turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a turtle breaks the block it gets the item directly into its inventory. Different tools yields different drop, for example, an axe can break anything, but it won't get ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles equipped with a workbench can craft items. When crafting, the inventory must be clear of all items other than the ones needed for the recipe.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a sword can attack players and mobs. When a turtle kills a mob it will leave the experience orbs on the ground, but add the loot to it's inventory. Turtles can also attack with any tool, where axe is the second best after the sword.&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=console    |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Wireless&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=modem&lt;br /&gt;
 |Output=wireless_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=Crafty_Mining_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Crafty_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Wireless_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Crafty_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Wireless_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Crafty_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Wireless_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Crafty_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Wireless_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
|See Above&lt;br /&gt;
|N/A&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=workbench&lt;br /&gt;
 |Output=Wireless_Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=3158</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=3158"/>
				<updated>2012-09-24T01:06:34Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Undo revision 3157 by Riking (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS (like the [[Console|consoles]]) named [[TurtleOS]]. They have the ability to place, break and detect blocks, move around and drop items in their inventory. The programs they run are stored on its internal memory or [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles and added new tools for them to use. Turtles can now in addition to pickaxes use: Hoes, crafting tables, axes, shovels and sword. The update also included a new fuel system for the turtles. Turtles also got an inventory upgrade from 9 slots to 16.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy lava flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks==&lt;br /&gt;
Turtles do not have a built-in floppy drive. As such they need a floppy drive placed beside them to access disks. However if the turtle is a Wireless turtle, the floppy drive and other peripherals must be placed on a side other than the side the wireless modem is on.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles run on fuel. Fuel is any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 movement per half second the fuel would have burnt in a furnace.&lt;br /&gt;
The turtle can move 1 block for each fuel count it got, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
&lt;br /&gt;
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.&lt;br /&gt;
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.&lt;br /&gt;
This mode can be turned on by editing the turtle config file  (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a hoe can till dirt.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, mine wood, and even break dirt and gravel, depending on the tool you used on it. The tools equipped on the turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a turtle breaks the block it gets the item directly into its inventory. Different tools yields different drop, for example, an axe can break anything, but it won't get ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles equipped with a workbench can craft items. When crafting, the inventory must be clear of all items other than the ones needed for the recipe.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a sword can attack players and mobs. When a turtle kills a mob it will leave the experience orbs on the ground, but add the loot to it's inventory. Turtles can also attack with any tool, where axe is the second best after the sword.&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=console    |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Wireless&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=modem&lt;br /&gt;
 |Output=wireless_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=Crafty_Mining_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Crafty_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Wireless_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Crafty_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Wireless_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Crafty_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Wireless_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Crafty_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Wireless_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=workbench&lt;br /&gt;
 |Output=Wireless_Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=3157</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=3157"/>
				<updated>2012-09-24T01:01:01Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: /* Recipes */ No, crafty is a vertical category.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS (like the [[Console|consoles]]) named [[TurtleOS]]. They have the ability to place, break and detect blocks, move around and drop items in their inventory. The programs they run are stored on its internal memory or [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles and added new tools for them to use. Turtles can now in addition to pickaxes use: Hoes, crafting tables, axes, shovels and sword. The update also included a new fuel system for the turtles. Turtles also got an inventory upgrade from 9 slots to 16.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy lava flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks==&lt;br /&gt;
Turtles do not have a built-in floppy drive. As such they need a floppy drive placed beside them to access disks. However if the turtle is a Wireless turtle, the floppy drive and other peripherals must be placed on a side other than the side the wireless modem is on.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles run on fuel. Fuel is any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 movement per half second the fuel would have burnt in a furnace.&lt;br /&gt;
The turtle can move 1 block for each fuel count it got, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
&lt;br /&gt;
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.&lt;br /&gt;
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.&lt;br /&gt;
This mode can be turned on by editing the turtle config file  (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a hoe can till dirt.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, mine wood, and even break dirt and gravel, depending on the tool you used on it. The tools equipped on the turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a turtle breaks the block it gets the item directly into its inventory. Different tools yields different drop, for example, an axe can break anything, but it won't get ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles equipped with a workbench can craft items. When crafting, the inventory must be clear of all items other than the ones needed for the recipe.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a sword can attack players and mobs. When a turtle kills a mob it will leave the experience orbs on the ground, but add the loot to it's inventory. Turtles can also attack with any tool, where axe is the second best after the sword.&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=console    |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Wireless&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=modem&lt;br /&gt;
 |Output=wireless_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=Crafty_Mining_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Crafty_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Wireless_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Crafty_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Wireless_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Crafty_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Wireless_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Crafty_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Wireless_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=3149</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=3149"/>
				<updated>2012-09-23T22:24:14Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your Turtles.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | &amp;lt;center&amp;gt;&amp;lt;b&amp;gt;KEY&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Color&lt;br /&gt;
! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
|White&lt;br /&gt;
|All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green&lt;br /&gt;
|Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|Yellow&lt;br /&gt;
|Any Tool&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|Red&lt;br /&gt;
|(Not Used)&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;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|Return&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.craft]]()&lt;br /&gt;
|Craft items using ingredients in the nine upper left slots&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;slot &amp;gt; 16&amp;quot;&lt;br /&gt;
|[[turtle.select]]( slotNum )&lt;br /&gt;
|The Turtle selects the given Slot (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemCount]]( slotNum )&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemSpace]]( slotNum )&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.attack]]()&lt;br /&gt;
|Attacks in front of the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot; &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|nil&lt;br /&gt;
|[[turtle.place]]( [signText] )&lt;br /&gt;
|Places a Block of the selected slot in front. Engrave [signText] on signs if provided.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a Block of the selected slot above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a Block of the selected slot below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a Block in front&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a Block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.compareTo]]( [slot] )&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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. If below a furnace, will place item in the bottom slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suck]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.refuel]]()&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 yields false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]].&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;fuel&amp;quot;&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 turtleNeedFuel = 0 then it yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&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 turtleneedsfuel = 0) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2848</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2848"/>
				<updated>2012-09-10T04:02:45Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: add comment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your Turtles.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | &amp;lt;center&amp;gt;&amp;lt;b&amp;gt;KEY&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Color&lt;br /&gt;
! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
|White&lt;br /&gt;
|All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green&lt;br /&gt;
|Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|Yellow&lt;br /&gt;
|Mining, Felling, Digging, Farming&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|Red&lt;br /&gt;
|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;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|Return&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.craft]]()&lt;br /&gt;
|Craft items using ingredients in the nine upper left slots&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;slot &amp;gt; 16&amp;quot;&lt;br /&gt;
|[[turtle.select]]( slotNum )&lt;br /&gt;
|The Turtle selects the given Slot (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemCount]]( slotNum )&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemSpace]]( slotNum )&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot; &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|nil&lt;br /&gt;
|[[turtle.place]]( [signText] )&lt;br /&gt;
|Places a Block of the selected slot in front. Engrave [signText] on signs if provided.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a Block of the selected slot above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a Block of the selected slot below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a Block in front&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a Block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.compareTo]]( [slot] )&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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. If below a furnace, will place item in the bottom slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suck]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.refuel]]()&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 yields false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]].&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;fuel&amp;quot;&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 turtleNeedFuel = 0 then it yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&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 turtleneedsfuel = 0) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2847</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2847"/>
				<updated>2012-09-10T04:01:15Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: sp: tiles -&amp;gt; tills&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your Turtles.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | &amp;lt;center&amp;gt;&amp;lt;b&amp;gt;KEY&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Color&lt;br /&gt;
! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
|White&lt;br /&gt;
|All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green&lt;br /&gt;
|Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|Yellow&lt;br /&gt;
|Mining, Felling, Digging&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|Red&lt;br /&gt;
|Any tool&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|Return&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.craft]]()&lt;br /&gt;
|Craft items using ingredients in the nine upper left slots&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;slot &amp;gt; 16&amp;quot;&lt;br /&gt;
|[[turtle.select]]( slotNum )&lt;br /&gt;
|The Turtle selects the given Slot (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemCount]]( slotNum )&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemSpace]]( slotNum )&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot; &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|bool &amp;quot;success&amp;quot;&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;
|nil&lt;br /&gt;
|[[turtle.place]]( [signText] )&lt;br /&gt;
|Places a Block of the selected slot in front. Engrave [signText] on signs if provided.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a Block of the selected slot above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a Block of the selected slot below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a Block in front&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a Block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.compareTo]]( [slot] )&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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. If below a furnace, will place item in the bottom slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suck]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.refuel]]()&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 yields false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]].&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;fuel&amp;quot;&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 turtleNeedFuel = 0 then it yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&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 turtleneedsfuel = 0) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=2842</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=2842"/>
				<updated>2012-09-09T06:09:47Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: /* Recipes */ doop&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS (like the [[Console|consoles]]) named [[TurtleOS]]. They have the ability to place, break and detect blocks, move around and drop items in their inventory. The programs they run are stored on its internal memory or [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles and added new tools for them to use. Turtles can now in addition to pickaxes use: Hoes, crafting tables, axes, shovels and sword. The update also included a new fuel system for the turtles. Turtles also got an inventory upgrade from 9 slots to 16.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy lava flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks==&lt;br /&gt;
Turtles do not have a built-in floppy drive. As such they need a floppy drive placed beside them to access disks. However if the turtle is a Wireless turtle, the floppy drive and other peripherals must be placed on a side other than the side the wireless modem is on.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles run on fuel. Fuel is any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 movement per half second the fuel would have burnt in a furnace.&lt;br /&gt;
The turtle can move 1 block for each fuel count it got, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
&lt;br /&gt;
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.&lt;br /&gt;
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.&lt;br /&gt;
This mode can be turned on by editing the turtle config file  (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a hoe can till dirt.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, mine wood, and even break dirt and gravel, depending on the tool you used on it. The tools equipped on the turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a turtle breaks the block it gets the item directly into its inventory. Different tools yields different drop, for example, an axe can break anything, but it won't get ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles equipped with a workbench can craft items. When crafting, the inventory must be clear of all items other than the ones needed for the recipe.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a sword can attack players and mobs. When a turtle kills a mob it will leave the experience orbs on the ground, but add the loot to it's inventory. Turtles can also attack with any tool, where axe is the second best after the sword.&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=console    |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafting&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Wireless&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=crafting_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=modem&lt;br /&gt;
 |Output=wireless_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=crafting_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=farming_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=crafting_farming_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=wireless_farming_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=melee_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=crafting_melee_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=wireless_melee_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=felling_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=crafting_felling_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=wireless_felling_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=digging_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=crafting_digging_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=wireless_digging_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=2841</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=2841"/>
				<updated>2012-09-09T06:09:04Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: we require additional tables&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS (like the [[Console|consoles]]) named [[TurtleOS]]. They have the ability to place, break and detect blocks, move around and drop items in their inventory. The programs they run are stored on its internal memory or [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles and added new tools for them to use. Turtles can now in addition to pickaxes use: Hoes, crafting tables, axes, shovels and sword. The update also included a new fuel system for the turtles. Turtles also got an inventory upgrade from 9 slots to 16.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy lava flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks==&lt;br /&gt;
Turtles do not have a built-in floppy drive. As such they need a floppy drive placed beside them to access disks. However if the turtle is a Wireless turtle, the floppy drive and other peripherals must be placed on a side other than the side the wireless modem is on.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles run on fuel. Fuel is any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 movement per half second the fuel would have burnt in a furnace.&lt;br /&gt;
The turtle can move 1 block for each fuel count it got, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
&lt;br /&gt;
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.&lt;br /&gt;
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.&lt;br /&gt;
This mode can be turned on by editing the turtle config file  (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a hoe can till dirt.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, mine wood, and even break dirt and gravel, depending on the tool you used on it. The tools equipped on the turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a turtle breaks the block it gets the item directly into its inventory. Different tools yields different drop, for example, an axe can break anything, but it won't get ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles equipped with a workbench can craft items. When crafting, the inventory must be clear of all items other than the ones needed for the recipe.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a sword can attack players and mobs. When a turtle kills a mob it will leave the experience orbs on the ground, but add the loot to it's inventory. Turtles can also attack with any tool, where axe is the second best after the sword.&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=console    |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafting&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Wireless&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Melee&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Felling&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Digging&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=crafting_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=modem&lt;br /&gt;
 |Output=wireless_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=crafting_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=farming_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=crafting_farming_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=wireless_farming_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=melee_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=crafting_melee_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=wireless_melee_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=felling_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=crafting_felling_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=wireless_felling_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=digging_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=crafting_digging_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=wireless_digging_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2840</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2840"/>
				<updated>2012-09-09T05:55:51Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your Turtles.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | &amp;lt;center&amp;gt;&amp;lt;b&amp;gt;KEY&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Color&lt;br /&gt;
! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
|White&lt;br /&gt;
|All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green&lt;br /&gt;
|Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|Yellow&lt;br /&gt;
|Mining, Felling, Digging&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|Red&lt;br /&gt;
|Melee, Felling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|Return&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.craft]]()&lt;br /&gt;
|Craft items using ingredients in the nine upper left slots&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;slot &amp;gt; 16&amp;quot;&lt;br /&gt;
|[[turtle.select]]( slotNum )&lt;br /&gt;
|The Turtle selects the given Slot (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemCount]]( slotNum )&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemSpace]]( slotNum )&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|??&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;
|??&lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|??&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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.dig]]()&lt;br /&gt;
|Breaks the Block in front&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.digUp]]()&lt;br /&gt;
|Breaks the Block above&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.place]]( [signText] )&lt;br /&gt;
|Places a Block of the selected slot in front. Engrave [signText] on signs if provided.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a Block of the selected slot above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a Block of the selected slot below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a Block in front&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a Block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.compareTo]]( [slot] )&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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. If below a furnace, will place item in the bottom slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suck]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.refuel]]()&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 hardcore turtle mode. If the current slot doesn't contain a fuel item, it yields false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]].&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;fuel&amp;quot;&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 turtleNeedFuel = 0 then it yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&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 turtleneedsfuel = 0) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2839</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2839"/>
				<updated>2012-09-09T05:55:16Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Add colors to attack commands&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your Turtles.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | &amp;lt;center&amp;gt;&amp;lt;b&amp;gt;KEY&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Color&lt;br /&gt;
! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
|White&lt;br /&gt;
|All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green&lt;br /&gt;
|Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|Yellow&lt;br /&gt;
|Mining, Felling&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|Red&lt;br /&gt;
|Melee, Felling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|Return&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.craft]]()&lt;br /&gt;
|Craft items using ingredients in the nine upper left slots&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;slot &amp;gt; 16&amp;quot;&lt;br /&gt;
|[[turtle.select]]( slotNum )&lt;br /&gt;
|The Turtle selects the given Slot (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemCount]]( slotNum )&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemSpace]]( slotNum )&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|??&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;
|??&lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|??&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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.dig]]()&lt;br /&gt;
|Breaks the Block in front&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.digUp]]()&lt;br /&gt;
|Breaks the Block above&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.place]]( [signText] )&lt;br /&gt;
|Places a Block of the selected slot in front. Engrave [signText] on signs if provided.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a Block of the selected slot above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a Block of the selected slot below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a Block in front&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a Block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.compareTo]]( [slot] )&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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. If below a furnace, will place item in the bottom slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suck]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.refuel]]()&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 hardcore turtle mode. If the current slot doesn't contain a fuel item, it yields false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]].&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;fuel&amp;quot;&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 turtleNeedFuel = 0 then it yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&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 turtleneedsfuel = 0) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Row-lightred&amp;diff=2838</id>
		<title>Template:Row-lightred</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Row-lightred&amp;diff=2838"/>
				<updated>2012-09-09T05:54:48Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background:#ff879c;&amp;quot;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Row-lightred&amp;diff=2837</id>
		<title>Template:Row-lightred</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Row-lightred&amp;diff=2837"/>
				<updated>2012-09-09T05:54:32Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background:#ff474c;&amp;quot;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Row-lightred&amp;diff=2836</id>
		<title>Template:Row-lightred</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Row-lightred&amp;diff=2836"/>
				<updated>2012-09-09T05:54:05Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background:#d9544d;&amp;quot;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2835</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=2835"/>
				<updated>2012-09-09T05:52:39Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your Turtles.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | &amp;lt;center&amp;gt;&amp;lt;b&amp;gt;KEY&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Color&lt;br /&gt;
! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
|White&lt;br /&gt;
|All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green&lt;br /&gt;
|Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|Yellow&lt;br /&gt;
|Mining, Felling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|Return&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.craft]]()&lt;br /&gt;
|Craft items using ingredients in the nine upper left slots&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;true&amp;quot;&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;slot &amp;gt; 16&amp;quot;&lt;br /&gt;
|[[turtle.select]]( slotNum )&lt;br /&gt;
|The Turtle selects the given Slot (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemCount]]( slotNum )&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.getItemSpace]]( slotNum )&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|??&lt;br /&gt;
|[[turtle.attack]]()&lt;br /&gt;
|Attacks in front of the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|??&lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|??&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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.dig]]()&lt;br /&gt;
|Breaks the Block in front&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.digUp]]()&lt;br /&gt;
|Breaks the Block above&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.place]]( [signText] )&lt;br /&gt;
|Places a Block of the selected slot in front. Engrave [signText] on signs if provided.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a Block of the selected slot above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|nil&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a Block of the selected slot below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a Block in front&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a Block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a Block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&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;
|bool &amp;quot;result&amp;quot;&lt;br /&gt;
|[[turtle.compareTo]]( [slot] )&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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. If below a furnace, will place item in the bottom slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]( [count] )&lt;br /&gt;
|Drops all items in the selected slot, or if [count] is specified, drops that many 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;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suck]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|bool &amp;quot;success&amp;quot;&lt;br /&gt;
|[[turtle.refuel]]()&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 hardcore turtle mode. If the current slot doesn't contain a fuel item, it yields false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]].&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|int &amp;quot;fuel&amp;quot;&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 turtleNeedFuel = 0 then it yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&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 turtleneedsfuel = 0) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Row-lightyellow&amp;diff=2834</id>
		<title>Template:Row-lightyellow</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Row-lightyellow&amp;diff=2834"/>
				<updated>2012-09-09T05:49:03Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Created page with &amp;quot;style=&amp;quot;background:#fffe7a;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background:#fffe7a;&amp;quot;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Row-lightgreen&amp;diff=2833</id>
		<title>Template:Row-lightgreen</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Row-lightgreen&amp;diff=2833"/>
				<updated>2012-09-09T05:22:02Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Created page with &amp;quot;style=&amp;quot;background:#8fff9f;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background:#8fff9f;&amp;quot;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Row-lightred&amp;diff=2832</id>
		<title>Template:Row-lightred</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Row-lightred&amp;diff=2832"/>
				<updated>2012-09-09T05:21:13Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Created page with &amp;quot;style=&amp;quot;background:#ffd1df;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;style=&amp;quot;background:#ffd1df;&amp;quot;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=2776</id>
		<title>CcSensors</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=2776"/>
				<updated>2012-09-01T21:19:10Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:ccSensors}}&lt;br /&gt;
'''ccSensors''' is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs.&lt;br /&gt;
A reading can be a value a simple as Light level, a isRaining, isDay or as complex as the content of a chest or the temperature of IC2 reactor.&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
# place a Sensor Controller next to a computer&lt;br /&gt;
# open the sensor Controller GUI and hit the &amp;quot;New&amp;quot; button to register a new freq&lt;br /&gt;
# place blank transmitter card in the slot and click &amp;quot;Encode Transmitter&amp;quot; to get an encoded transmitter to be used with the remote sensor.&lt;br /&gt;
# Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot. (you can rename the Remote Sensor from the default name &amp;quot;Sensor&amp;quot;)&lt;br /&gt;
# Place a SensorModule card into the top slot.&lt;br /&gt;
# open the computer terminal and run: /ccSensors/console to run the sample console program. That's it - you now have a working sensor connected to a computer :)&lt;br /&gt;
&lt;br /&gt;
==API: sensors==&lt;br /&gt;
Note: Documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarntee of accuracy.&lt;br /&gt;
&amp;lt;!-- #################################################################&lt;br /&gt;
&lt;br /&gt;
TO MOD AUTHOR:&lt;br /&gt;
If you fix up the docs, please remove the above sentence.&lt;br /&gt;
Thank you.&lt;br /&gt;
~~~~&lt;br /&gt;
&lt;br /&gt;
############################################################## --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|getVersion()&lt;br /&gt;
|sensorAPI version&lt;br /&gt;
|-&lt;br /&gt;
|getPeripherals()&lt;br /&gt;
|returns a dict of attached peripherals : SensorController,monitor,modem&lt;br /&gt;
|-&lt;br /&gt;
|getController()&lt;br /&gt;
|return the side the first controller is attached at&lt;br /&gt;
|-&lt;br /&gt;
|rIterator( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|tabtodict( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|getReadingAsTable( side, sensor, ... )&lt;br /&gt;
|return sensor reading as a table instead of a dict&lt;br /&gt;
|-&lt;br /&gt;
|setTarget( side, sensor, target )&lt;br /&gt;
|set the active target for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setSensorRange( side, sensor, range )&lt;br /&gt;
|set the sensor range (as long is &amp;lt; max_sensor_range)&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableReadings( side, sensor )&lt;br /&gt;
|returns names of all readings available for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setActiveReading( side, sensor, reading )&lt;br /&gt;
|set the active reading to be used when getReading is called&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargets( side, sensor )&lt;br /&gt;
|returns the available targets for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe2( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getProbes( side, sensor )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfo( side, sensor, ... )&lt;br /&gt;
|returns the following information for a given sensor: cardType,name,activereading,activereadingid,distance,location,methods,SensorRange&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfoAsTable( side, sensor, ... )&lt;br /&gt;
|same as getSensorInfo, except as a table&lt;br /&gt;
|-&lt;br /&gt;
|getReading( side, sensor, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getReading2( side, sensor, probe, target, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getSensors( side )&lt;br /&gt;
|returns the names of all connected sensors&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict(side,sensor,target,reading,...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor. returns a dictionary&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict2(side, sensor, probe, target, ...)&lt;br /&gt;
|Alias for getReading2&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsTable( side, sensor, target, reading, ...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getItemInfo(name,content)&lt;br /&gt;
|return item info from an inventory dictionary&lt;br /&gt;
|-&lt;br /&gt;
|getItemsInfo(names,content)&lt;br /&gt;
|returns a dict for each item in the given names table with .dmg and .qty&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External links==&lt;br /&gt;
*[http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/ ccSensors]—ComputerCraft Forum Thread&lt;br /&gt;
&lt;br /&gt;
[[Category:User Created Peripherals]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=2775</id>
		<title>CcSensors</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=2775"/>
				<updated>2012-09-01T18:26:24Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Add api docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:ccSensors}}&lt;br /&gt;
'''ccSensors''' is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs.&lt;br /&gt;
A reading can be a value a simple as Light level, a isRaining, isDay or as complex as the content of a chest or the temperature of IC2 reactor.&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
# place a Sensor Controller next to a computer&lt;br /&gt;
# open the sensor Controller GUI and hit the &amp;quot;New&amp;quot; button to register a new freq&lt;br /&gt;
# place blank transmitter card in the slot and click &amp;quot;Encode Transmitter&amp;quot; to get an encoded transmitter to be used with the remote sensor.&lt;br /&gt;
# Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot. (you can rename the Remote Sensor from the default name &amp;quot;Sensor&amp;quot;)&lt;br /&gt;
# Place a SensorModule card into the top slot.&lt;br /&gt;
# open the computer terminal and run: /ccSensors/console to run the sample console program. That's it - you now have a working sensor connected to a computer :)&lt;br /&gt;
&lt;br /&gt;
==API==&lt;br /&gt;
Note: Documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarntee of accuracy.&lt;br /&gt;
&amp;lt;!-- #################################################################&lt;br /&gt;
&lt;br /&gt;
TO MOD AUTHOR:&lt;br /&gt;
If you fix up the docs, please remove the above sentence.&lt;br /&gt;
Thank you.&lt;br /&gt;
~~~~&lt;br /&gt;
&lt;br /&gt;
############################################################## --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|getVersion()&lt;br /&gt;
|sensorAPI version&lt;br /&gt;
|-&lt;br /&gt;
|getPeripherals()&lt;br /&gt;
|returns a dict of attached peripherals : SensorController,monitor,modem&lt;br /&gt;
|-&lt;br /&gt;
|getController()&lt;br /&gt;
|return the side the first controller is attached at&lt;br /&gt;
|-&lt;br /&gt;
|rIterator( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|tabtodict( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|getReadingAsTable( side, sensor, ... )&lt;br /&gt;
|return sensor reading as a table instead of a dict&lt;br /&gt;
|-&lt;br /&gt;
|setTarget( side, sensor, target )&lt;br /&gt;
|set the active target for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setSensorRange( side, sensor, range )&lt;br /&gt;
|set the sensor range (as long is &amp;lt; max_sensor_range)&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableReadings( side, sensor )&lt;br /&gt;
|returns names of all readings available for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setActiveReading( side, sensor, reading )&lt;br /&gt;
|set the active reading to be used when getReading is called&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargets( side, sensor )&lt;br /&gt;
|returns the available targets for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe2( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getProbes( side, sensor )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfo( side, sensor, ... )&lt;br /&gt;
|returns the following information for a given sensor: cardType,name,activereading,activereadingid,distance,location,methods,SensorRange&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfoAsTable( side, sensor, ... )&lt;br /&gt;
|same as getSensorInfo, except as a table&lt;br /&gt;
|-&lt;br /&gt;
|getReading( side, sensor, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getReading2( side, sensor, probe, target, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getSensors( side )&lt;br /&gt;
|returns the names of all connected sensors&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict(side,sensor,target,reading,...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor. returns a dictionary&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict2(side, sensor, probe, target, ...)&lt;br /&gt;
|Alias for getReading2&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsTable( side, sensor, target, reading, ...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getItemInfo(name,content)&lt;br /&gt;
|return item info from an inventory dictionary&lt;br /&gt;
|-&lt;br /&gt;
|getItemsInfo(names,content)&lt;br /&gt;
|returns a dict for each item in the given names table with .dmg and .qty&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External links==&lt;br /&gt;
*[http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/ ccSensors]—ComputerCraft Forum Thread&lt;br /&gt;
&lt;br /&gt;
[[Category:User Created Peripherals]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:24.20.222.206&amp;diff=1384</id>
		<title>User talk:24.20.222.206</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:24.20.222.206&amp;diff=1384"/>
				<updated>2012-04-25T19:44:53Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: create section: Signatures&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Signatures==&lt;br /&gt;
Hi! I've noticed that you comment on the talk pages a lot. However, your style isn't all that great. Here's some tips on making your comments look better:&lt;br /&gt;
* Put &amp;lt;nowiki&amp;gt;~~~~&amp;lt;/nowiki&amp;gt; after your comment to sign it&lt;br /&gt;
* Use colons (:) to indent your message, not spaces.&lt;br /&gt;
Thank you for trying to help, though. :) [[User:Riking|Riking]] 19:44, 25 April 2012 (UTC)&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_Tutorial&amp;diff=1383</id>
		<title>Talk:Turtle Tutorial</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_Tutorial&amp;diff=1383"/>
				<updated>2012-04-25T19:42:39Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: unsigned template and talkpage cleanup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==I need help==&lt;br /&gt;
i need help,i get this error from my code&lt;br /&gt;
&lt;br /&gt;
mine:1: attempt to call nil&lt;br /&gt;
&lt;br /&gt;
PS ( mine is the name of the program) &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:76.111.25.128|76.111.25.128]] ([[User talk:76.111.25.128|talk]] • [[Special:Contributions/76.111.25.128|contribs]])  02:04, 23 March 2012&amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:What is your code? &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:24.20.222.206|24.20.222.206]] ([[User talk:24.20.222.206|talk]] • [[Special:Contributions/24.20.222.206|contribs]]) 18:15, 26 March 2012&amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Adventure&amp;diff=1382</id>
		<title>Talk:Adventure</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Adventure&amp;diff=1382"/>
				<updated>2012-04-25T19:41:12Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: unsigned template and talkpage cleanup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Needs a save command==&lt;br /&gt;
mmh.. this programm needs a save command.. &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dude|Dude]] ([[User talk:Dude|talk]] • [[Special:Contributions/Dude|contribs]]) 11:34, 11 March 2012&amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
==Information gone==&lt;br /&gt;
404, page not found... jk, some MORON edited this page (before me) and now the information is gone. :'(  &amp;lt;---me &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:24.113.51.30|24.113.51.30]] ([[User talk:24.113.51.30|talk]] • [[Special:Contributions/24.113.51.30|contribs]]) 04:49, 2 April 2012‎&amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=1381</id>
		<title>Talk:Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=1381"/>
				<updated>2012-04-25T19:38:54Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: unsigned template&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is there a way to detect a block's type? Preferably without picking it up; it would be nice to be able to write a function to check the block about to be broken against a list of &amp;quot;Do not break&amp;quot; blocks, such as Industrial craft's MFSU, which loses all held power when picked up. &lt;br /&gt;
&lt;br /&gt;
Also I request a way to set server-wide list of blocks immune to the turtle.dig() functions, such as say personal safes (Industrial Craft again).&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:50.131.199.48|50.131.199.48]] ([[User talk:50.131.199.48|talk]] • [[Special:Contributions/50.131.199.48|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:As far as I know, there's no way to check the block type with the current API. Could be a feature in the future though, never know. {{User:Scarfacial/Signature|22:17 - 8 March 2012}}&lt;br /&gt;
::Would be interesting to see if one could write a function for that. {{User:Banane9/Signature|22:43 - 9 March 2012}}&lt;br /&gt;
:::i would see it too please. But i dont think that you can make that in a function&lt;br /&gt;
:::[[User:Dude|Dude]] 22:13, 9 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== treefarm ==&lt;br /&gt;
&lt;br /&gt;
i have write a big programm (120 lines) that destory the tree full (with the leaves) when the tree is grown. so the turtle can plant an new tree an beginn at the start. My problem: the programm dont work and i cant find the faults... &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dude|Dude]] ([[User talk:Dude|talk]] • [[Special:Contributions/Dude|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Turtle range ==&lt;br /&gt;
I've made a simple program that takes the turtle 30 spaces up into the air, and then drives X number of times forward, then X number of times backwards then lands.&lt;br /&gt;
&lt;br /&gt;
It works fine for small values of X (5, 10, 30, 100).. But when I put it to 300, my turtle never returned. I could not find it when walking along it's course either&lt;br /&gt;
&lt;br /&gt;
Is there a way to make minecraft process chunks that has a turtle in it, or is this a limitation to minecraft it's not possible to work around?&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:62.16.170.203|62.16.170.203]] ([[User talk:62.16.170.203|talk]] • [[Special:Contributions/62.16.170.203|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Redstone_(API)&amp;diff=1380</id>
		<title>Talk:Redstone (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Redstone_(API)&amp;diff=1380"/>
				<updated>2012-04-25T19:36:59Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: unsigned template and talkpage cleanup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==(no title)==&lt;br /&gt;
i tried to do it but for some reason it didnt work, i tried:&lt;br /&gt;
&lt;br /&gt;
sleep(5)&amp;lt;br /&amp;gt;&lt;br /&gt;
setBundledOutput(orange,back,magenta)&amp;lt;br /&amp;gt;&lt;br /&gt;
sleep(0.5)&amp;lt;br /&amp;gt;&lt;br /&gt;
setBundledOutput(orange,back,magenta)&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and after the 5 seconds, it puts:&lt;br /&gt;
&amp;quot;redtest:2: attempt to call nil&amp;quot;&lt;br /&gt;
&lt;br /&gt;
how the heck does it work? how can i get it to work? someone plez reply lol, im new to lua so i know very little about lua... &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:98.127.192.199|98.127.192.199]] ([[User talk:98.127.192.199|talk]] • [[Special:Contributions/98.127.192.199|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: First of all, where's the function declaration? You call redtest(), but the error tells that it doesn't exist. Second, use redstone.setBundledOutput() or rs.setBundledOutput(). [[User:Wukl|Wukl]] 09:12, 9 April 2012 (UTC)&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:Chrispaul3&amp;diff=1379</id>
		<title>User talk:Chrispaul3</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:Chrispaul3&amp;diff=1379"/>
				<updated>2012-04-25T19:35:25Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Blanked spam account's talk page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Making_a_Delay_function&amp;diff=1378</id>
		<title>Talk:Making a Delay function</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Making_a_Delay_function&amp;diff=1378"/>
				<updated>2012-04-25T19:34:03Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: unsigned template&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Useless Page?==&lt;br /&gt;
There's already sleep(seconds), there's no need for this page? &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:24.20.222.206|24.20.222.206]] ([[User talk:24.20.222.206|talk]] • [[Special:Contributions/24.20.222.206|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=1377</id>
		<title>Talk:HTTP (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=1377"/>
				<updated>2012-04-25T19:33:30Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: unsigned template&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;mod_ComputerCraft.cfg is located in .minecraft/config&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
At least for client side it is. Does this file generate server side? (I can get this to work client side, but when playing multiplayer on a server, it's not enabled) &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:96.236.138.19|96.236.138.19]] ([[User talk:96.236.138.19|talk]] • [[Special:Contributions/96.236.138.19|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:This must be enabled on the server. You can find the config in mods/ComputerCraft in the Server Folder.&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:77.165.144.76|77.165.144.76]] ([[User talk:77.165.144.76|talk]] • [[Special:Contributions/77.165.144.76|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Making_a_Password_Protected_Door&amp;diff=1376</id>
		<title>Talk:Making a Password Protected Door</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Making_a_Password_Protected_Door&amp;diff=1376"/>
				<updated>2012-04-25T19:31:46Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: {{unsigned}} for all comments&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: &amp;quot;Make code better, again&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
How is it 'better' to leave the computer running when it's not needed?&lt;br /&gt;
Assuming this is the desired behaviour, why is it 'better' to reboot the computer each time instead of using a loop?&lt;br /&gt;
And assuming ''that'' is the desired behaviour, why is it 'better' to have the call to os.reboot() repeated inside the if blocks instead of once after the if?&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:2.102.58.164|2.102.58.164]] ([[User talk:2.102.58.164|talk]] • [[Special:Contributions/2.102.58.164|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Loop uses more memory. Also, there's no difference, do you really care that much? &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:24.20.22.206|24.20.22.206]] ([[User talk:24.20.22.206|talk]] • [[Special:Contributions/24.20.22.206|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
::I reverted changes from two users. This guide is supposed to be a reasonably low level tutorial. Simply slapping code on a page is not a tutorial, hence the previous version with screen shots is more noob friendly. Secondly, the latter version used variables that don't need to be variables. [[Special:Contributions/121.45.75.253|121.45.75.253]] 14:07, 16 April 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== I think this can be more &amp;quot;Noob&amp;quot; friendly ==&lt;br /&gt;
&lt;br /&gt;
i am a noob and have just started to use Computer Craft. I was learning how to make a password protected lock and i understood all of it, until it said, &amp;quot; Now to start it, we have the computer call the function after it declares it.&amp;quot; This confused me very much and i was hoping someone could clarify or edit the page to be even more &amp;quot;Noob&amp;quot; friendly. &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Tpomdreams|Tpomdreams]] ([[User talk:Tpomdreams|talk]] • [[Special:Contributions/Tpomdreams|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Try the 'Better / Alternative Code', you might understand that more. &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:24.20.22.206|24.20.22.206]] ([[User talk:24.20.22.206|talk]] • [[Special:Contributions/24.20.22.206|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Making_a_Password_Protected_Door&amp;diff=1375</id>
		<title>Talk:Making a Password Protected Door</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Making_a_Password_Protected_Door&amp;diff=1375"/>
				<updated>2012-04-25T19:30:08Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: clean up talk page, add {{subst:unsigned}}&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: &amp;quot;Make code better, again&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
How is it 'better' to leave the computer running when it's not needed?&lt;br /&gt;
Assuming this is the desired behaviour, why is it 'better' to reboot the computer each time instead of using a loop?&lt;br /&gt;
And assuming ''that'' is the desired behaviour, why is it 'better' to have the call to os.reboot() repeated inside the if blocks instead of once after the if?&lt;br /&gt;
:Loop uses more memory. Also, there's no difference, do you really care that much? &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:24.20.22.206|24.20.22.206]] ([[User talk:24.20.22.206|talk]] • [[Special:Contributions/24.20.22.206|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
::I reverted changes from two users. This guide is supposed to be a reasonably low level tutorial. Simply slapping code on a page is not a tutorial, hence the previous version with screen shots is more noob friendly. Secondly, the latter version used variables that don't need to be variables. [[Special:Contributions/121.45.75.253|121.45.75.253]] 14:07, 16 April 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== I think this can be more &amp;quot;Noob&amp;quot; friendly ==&lt;br /&gt;
&lt;br /&gt;
i am a noob and have just started to use Computer Craft. I was learning how to make a password protected lock and i understood all of it, until it said, &amp;quot; Now to start it, we have the computer call the function after it declares it.&amp;quot; This confused me very much and i was hoping someone could clarify or edit the page to be even more &amp;quot;Noob&amp;quot; friendly.&lt;br /&gt;
:Try the 'Better / Alternative Code', you might understand that more. &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:24.20.22.206|24.20.22.206]] ([[User talk:24.20.22.206|talk]] • [[Special:Contributions/24.20.22.206|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Unsigned&amp;diff=1374</id>
		<title>Template:Unsigned</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Unsigned&amp;diff=1374"/>
				<updated>2012-04-25T19:29:14Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: fork wikipedia&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]]) {{{2|}}}&amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}} &amp;lt;!-- add categories and interwiki links to the /doc page, not here --&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Making_a_Password_Protected_Door&amp;diff=1373</id>
		<title>Talk:Making a Password Protected Door</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Making_a_Password_Protected_Door&amp;diff=1373"/>
				<updated>2012-04-25T19:26:38Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: Undo revision 1343 by 24.20.222.206 (talk) -- revert deletion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== In response to 24.20.222.206 who reverted my changes and commented &amp;quot;Make code better, again&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
How is it 'better' to leave the computer running when it's not needed?&lt;br /&gt;
Assuming this is the desired behaviour, why is it 'better' to reboot the computer each time instead of using a loop?&lt;br /&gt;
And assuming ''that'' is the desired behaviour, why is it 'better' to have the call to os.reboot() repeated inside the if blocks instead of once after the if?&lt;br /&gt;
 &amp;lt;pre&amp;gt;&lt;br /&gt;
 24.20.22.206:&lt;br /&gt;
 Loop uses more memory. Also, there's no difference, do you really care that much?&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
::I reverted changes from two users. This guide is supposed to be a reasonably low level tutorial. Simply slapping code on a page is not a tutorial, hence the previous version with screen shots is more noob friendly. Secondly, the latter version used variables that don't need to be variables. [[Special:Contributions/121.45.75.253|121.45.75.253]] 14:07, 16 April 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== I think this can be more &amp;quot;Noob&amp;quot; friendly ==&lt;br /&gt;
&lt;br /&gt;
i am a noob and have just started to use Computer Craft. I was learning how to make a password protected lock and i understood all of it, until it said, &amp;quot; Now to start it, we have the computer call the function after it declares it.&amp;quot; This confused me very much and i was hoping someone could clarify or edit the page to be even more &amp;quot;Noob&amp;quot; friendly.&lt;br /&gt;
&lt;br /&gt;
24.20.22.206:&lt;br /&gt;
 Try the 'Better / Alternative Code', you might understand that more.&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=OS_(API)&amp;diff=1369</id>
		<title>OS (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=OS_(API)&amp;diff=1369"/>
				<updated>2012-04-25T19:09:41Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: /* Event names */ added wick&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
''You may be looking for alternative OS's for ComputerCraft. If so, go to the [[list of oses|list of OSes]].''&lt;br /&gt;
&lt;br /&gt;
The Operating System API allows for interfacing with the Lua based Operating System itself.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|[[os.version()]]&lt;br /&gt;
|Returns the version of the OS the computer is running.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.computerID()]]&lt;br /&gt;
|Returns the unique ID of this computer.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.run( environment, programpath, arguments )]]&lt;br /&gt;
|An advanced way of starting programs. A started program will have a given&lt;br /&gt;
Environment table which determines what functions it has available, as well as&lt;br /&gt;
any variables it will be able to access by default. You may prefer to use the&lt;br /&gt;
[[Shell (API)]] unless you need to do something special.&lt;br /&gt;
|-&lt;br /&gt;
|[[#api|os.loadAPI( name )]]&lt;br /&gt;
|Loads a lua script as an API, making it available to all programs.&lt;br /&gt;
|-&lt;br /&gt;
|[[#api|os.unloadAPI( name )]]&lt;br /&gt;
|Unloads a previously loaded API.&lt;br /&gt;
|-&lt;br /&gt;
|[[#pullEvent|os.pullEvent()]]&lt;br /&gt;
|Blocks until the computer has detected an event, then returns the event.&lt;br /&gt;
|-&lt;br /&gt;
|[[#pullEvent|os.pullEventRaw()]]&lt;br /&gt;
|Advanced version of pullEvent().&lt;br /&gt;
|-&lt;br /&gt;
|[[os.queueEvent()]]&lt;br /&gt;
|&amp;lt;no description given&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|[[os.clock()]]&lt;br /&gt;
|Returns CPU time.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.startTimer( timeout )]]&lt;br /&gt;
|Queues an event to be triggered after a number of seconds.&lt;br /&gt;
The ID of the timer is returned from this function to differentiate multiple&lt;br /&gt;
timers. Timers are one-shot, once they have fired an event you will need to&lt;br /&gt;
start another one if you need a recurring timer.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.sleep( timeout )]]&lt;br /&gt;
|Makes the system wait a number of seconds before continuing in the program.&lt;br /&gt;
May also be used as simply &amp;quot;sleep( timeout )&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.time()]]&lt;br /&gt;
|Returns the current Minecraft world time.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.setAlarm( time )]]&lt;br /&gt;
|Queues an event to be triggered at the specific Minecraft world time.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.shutdown()]]&lt;br /&gt;
|Turns off the computer.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.reboot()]]&lt;br /&gt;
|Reboots the computer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div id=&amp;quot;api&amp;quot;&amp;gt;API&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
API are programs which are loaded in to the OS itself, and expose functions&lt;br /&gt;
which other programs may use. The stock [[Category:APIs|APIs that ship with&lt;br /&gt;
ComputerCraft]] are loaded in this way, and may be replaced by a computer's&lt;br /&gt;
user or programs.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div id=&amp;quot;pullEvent&amp;quot;&amp;gt;os.pullEvent()&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
os.pullEvent() causes the current program to pause, retrieving the next event&lt;br /&gt;
from the computer's queue of events. If there is no event to read, then the&lt;br /&gt;
program will stall until such an event becomes available. Note that if a&lt;br /&gt;
program has not attempted to pull an event in the past ten seconds, it will&lt;br /&gt;
be forcefully terminated to prevent CPU waste in SMP environments.&lt;br /&gt;
&lt;br /&gt;
pullEvent returns the name of the event that was read, as well as up to&lt;br /&gt;
five parameters:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
local event, p1, p2, p3, p4, p5 = os.pullEvent()&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
os.pullEvent() is usually run inside a 'while true do' loop.&lt;br /&gt;
&lt;br /&gt;
An advanced version of this method &amp;lt;code&amp;gt;os.pullEventRaw&amp;lt;/code&amp;gt; bypasses the&lt;br /&gt;
normal handling of events from the OS. You may use this to act on the&lt;br /&gt;
&amp;quot;Terminate&amp;quot; event (triggered when holding Ctrl-T) for custom termination logic.&lt;br /&gt;
&lt;br /&gt;
=== Event names ===&lt;br /&gt;
&amp;lt;!-- please wikitable this --&amp;gt;&lt;br /&gt;
*[[Raw key events|&amp;quot;key&amp;quot;: keypress]]&lt;br /&gt;
*&amp;quot;rednet_message&amp;quot;: recieved a rednet message&lt;br /&gt;
*&amp;quot;terminate&amp;quot; (? please verify name): Ctrl-T held&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=OS_(API)&amp;diff=1368</id>
		<title>OS (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=OS_(API)&amp;diff=1368"/>
				<updated>2012-04-25T19:08:53Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
''You may be looking for alternative OS's for ComputerCraft. If so, go to the [[list of oses|list of OSes]].''&lt;br /&gt;
&lt;br /&gt;
The Operating System API allows for interfacing with the Lua based Operating System itself.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|[[os.version()]]&lt;br /&gt;
|Returns the version of the OS the computer is running.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.computerID()]]&lt;br /&gt;
|Returns the unique ID of this computer.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.run( environment, programpath, arguments )]]&lt;br /&gt;
|An advanced way of starting programs. A started program will have a given&lt;br /&gt;
Environment table which determines what functions it has available, as well as&lt;br /&gt;
any variables it will be able to access by default. You may prefer to use the&lt;br /&gt;
[[Shell (API)]] unless you need to do something special.&lt;br /&gt;
|-&lt;br /&gt;
|[[#api|os.loadAPI( name )]]&lt;br /&gt;
|Loads a lua script as an API, making it available to all programs.&lt;br /&gt;
|-&lt;br /&gt;
|[[#api|os.unloadAPI( name )]]&lt;br /&gt;
|Unloads a previously loaded API.&lt;br /&gt;
|-&lt;br /&gt;
|[[#pullEvent|os.pullEvent()]]&lt;br /&gt;
|Blocks until the computer has detected an event, then returns the event.&lt;br /&gt;
|-&lt;br /&gt;
|[[#pullEvent|os.pullEventRaw()]]&lt;br /&gt;
|Advanced version of pullEvent().&lt;br /&gt;
|-&lt;br /&gt;
|[[os.queueEvent()]]&lt;br /&gt;
|&amp;lt;no description given&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|[[os.clock()]]&lt;br /&gt;
|Returns CPU time.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.startTimer( timeout )]]&lt;br /&gt;
|Queues an event to be triggered after a number of seconds.&lt;br /&gt;
The ID of the timer is returned from this function to differentiate multiple&lt;br /&gt;
timers. Timers are one-shot, once they have fired an event you will need to&lt;br /&gt;
start another one if you need a recurring timer.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.sleep( timeout )]]&lt;br /&gt;
|Makes the system wait a number of seconds before continuing in the program.&lt;br /&gt;
May also be used as simply &amp;quot;sleep( timeout )&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.time()]]&lt;br /&gt;
|Returns the current Minecraft world time.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.setAlarm( time )]]&lt;br /&gt;
|Queues an event to be triggered at the specific Minecraft world time.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.shutdown()]]&lt;br /&gt;
|Turns off the computer.&lt;br /&gt;
|-&lt;br /&gt;
|[[os.reboot()]]&lt;br /&gt;
|Reboots the computer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div id=&amp;quot;api&amp;quot;&amp;gt;API&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
API are programs which are loaded in to the OS itself, and expose functions&lt;br /&gt;
which other programs may use. The stock [[Category:APIs|APIs that ship with&lt;br /&gt;
ComputerCraft]] are loaded in this way, and may be replaced by a computer's&lt;br /&gt;
user or programs.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div id=&amp;quot;pullEvent&amp;quot;&amp;gt;os.pullEvent()&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
os.pullEvent() causes the current program to pause, retrieving the next event&lt;br /&gt;
from the computer's queue of events. If there is no event to read, then the&lt;br /&gt;
program will stall until such an event becomes available. Note that if a&lt;br /&gt;
program has not attempted to pull an event in the past ten seconds, it will&lt;br /&gt;
be forcefully terminated to prevent CPU waste in SMP environments.&lt;br /&gt;
&lt;br /&gt;
pullEvent returns the name of the event that was read, as well as up to&lt;br /&gt;
five parameters:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
local event, p1, p2, p3, p4, p5 = os.pullEvent()&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
os.pullEvent() is usually run inside a 'while true do' loop.&lt;br /&gt;
&lt;br /&gt;
An advanced version of this method &amp;lt;code&amp;gt;os.pullEventRaw&amp;lt;/code&amp;gt; bypasses the&lt;br /&gt;
normal handling of events from the OS. You may use this to act on the&lt;br /&gt;
&amp;quot;Terminate&amp;quot; event (triggered when holding Ctrl-T) for custom termination logic.&lt;br /&gt;
&lt;br /&gt;
=== Event names ===&lt;br /&gt;
&amp;lt;!-- please wikitable this --&amp;gt;&lt;br /&gt;
*&amp;quot;key&amp;quot;: keypress&lt;br /&gt;
*&amp;quot;rednet_message&amp;quot;: recieved a rednet message&lt;br /&gt;
*&amp;quot;terminate&amp;quot; (? please verify name): Ctrl-T held&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Raw_key_events&amp;diff=1366</id>
		<title>Raw key events</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Raw_key_events&amp;diff=1366"/>
				<updated>2012-04-25T19:06:39Z</updated>
		
		<summary type="html">&lt;p&gt;Riking: added keymapper api reference&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The built-in os has a function to read incoming keystrokes. But it also implements the functions to move the cursor while typing. This is not always a desired feature; imagine a case in which you want to make a menu with a controllable cursor around the menu entries. The current read() function won't let you.&lt;br /&gt;
&lt;br /&gt;
==Detecting keystrokes==&lt;br /&gt;
In case I made you think the os sucks, it doesn't (all the time). Because this os is not Windows, we can access lower-level functions, such as os.pullEvent(). And that's the one that we're going to use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function rawread()&lt;br /&gt;
    bRead = true&lt;br /&gt;
    while(bRead) do&lt;br /&gt;
        local sEvent, param = os.pullEvent(&amp;quot;key&amp;quot;)&lt;br /&gt;
        if(sEvent == &amp;quot;key&amp;quot;) then&lt;br /&gt;
            break&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This function waits for any key, then exits.&lt;br /&gt;
&lt;br /&gt;
==Figuring out the key==&lt;br /&gt;
We can detect any key, but not which key. To find it out, we have to add some further logic to the code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function rawread()&lt;br /&gt;
    bRead = true&lt;br /&gt;
    while(bRead) do&lt;br /&gt;
        local sEvent, param = os.pullEvent(&amp;quot;key&amp;quot;)&lt;br /&gt;
        if(sEvent == &amp;quot;key&amp;quot;) then&lt;br /&gt;
            if(param == 28) then&lt;br /&gt;
                print(&amp;quot;Enter detected&amp;quot;)&lt;br /&gt;
                break&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This function waits for the Enter key to be pressed. If so, it writes &amp;quot;Enter detected&amp;quot; to the screen and exits.&lt;br /&gt;
&lt;br /&gt;
However, this is only good for checking single keys. Also, what if you don't really want to look up the scan code on this page every time you code?&lt;br /&gt;
Fortunately there is a solution: the [[Raw key events/keymapper|keymapper API]]. See page for details.&lt;br /&gt;
&lt;br /&gt;
==Key scan codes ==&lt;br /&gt;
The scan codes are typical DirectX numbers.&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| Escape&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 3&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 4&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 6&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| 8&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| 10&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
| Minus&lt;br /&gt;
| 12&lt;br /&gt;
|-&lt;br /&gt;
| Equals&lt;br /&gt;
| 13&lt;br /&gt;
|-&lt;br /&gt;
| Backspace&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
| Tab&lt;br /&gt;
| 15&lt;br /&gt;
|-&lt;br /&gt;
| Q&lt;br /&gt;
| 16&lt;br /&gt;
|-&lt;br /&gt;
| W&lt;br /&gt;
| 17&lt;br /&gt;
|-&lt;br /&gt;
| E&lt;br /&gt;
| 18&lt;br /&gt;
|-&lt;br /&gt;
| R&lt;br /&gt;
| 19&lt;br /&gt;
|-&lt;br /&gt;
| T&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
| Y&lt;br /&gt;
| 21&lt;br /&gt;
|-&lt;br /&gt;
| U&lt;br /&gt;
| 22&lt;br /&gt;
|-&lt;br /&gt;
| I&lt;br /&gt;
| 23&lt;br /&gt;
|-&lt;br /&gt;
| O&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
| P&lt;br /&gt;
| 25&lt;br /&gt;
|}&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| Left Bracket&lt;br /&gt;
| 26&lt;br /&gt;
|-&lt;br /&gt;
| Right Bracket&lt;br /&gt;
| 27&lt;br /&gt;
|-&lt;br /&gt;
| Enter&lt;br /&gt;
| 28&lt;br /&gt;
|-&lt;br /&gt;
| Left Control&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
| A&lt;br /&gt;
| 30&lt;br /&gt;
|- &lt;br /&gt;
| S&lt;br /&gt;
| 31&lt;br /&gt;
|-&lt;br /&gt;
| D&lt;br /&gt;
| 32&lt;br /&gt;
|-&lt;br /&gt;
| F&lt;br /&gt;
| 33&lt;br /&gt;
|-&lt;br /&gt;
| G&lt;br /&gt;
| 34&lt;br /&gt;
|-&lt;br /&gt;
| H&lt;br /&gt;
| 35&lt;br /&gt;
|-&lt;br /&gt;
| J&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
| K&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
| L&lt;br /&gt;
| 38&lt;br /&gt;
|-&lt;br /&gt;
| Semicolon&lt;br /&gt;
| 39&lt;br /&gt;
|-&lt;br /&gt;
| Apostrophe&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
| Tilde (~)&lt;br /&gt;
| 41&lt;br /&gt;
|-&lt;br /&gt;
| Left Shift&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
| Back Slash&lt;br /&gt;
| 43&lt;br /&gt;
|-&lt;br /&gt;
| Z&lt;br /&gt;
| 44&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 45&lt;br /&gt;
|-&lt;br /&gt;
| C&lt;br /&gt;
| 46&lt;br /&gt;
|-&lt;br /&gt;
| V&lt;br /&gt;
| 47&lt;br /&gt;
|}&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| B&lt;br /&gt;
| 48&lt;br /&gt;
|-&lt;br /&gt;
| N&lt;br /&gt;
| 49&lt;br /&gt;
|-&lt;br /&gt;
| M&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
| Comma&lt;br /&gt;
| 51&lt;br /&gt;
|-&lt;br /&gt;
| Period&lt;br /&gt;
| 52&lt;br /&gt;
|-&lt;br /&gt;
| Forward Slash&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
| Right Shift&lt;br /&gt;
| 54&lt;br /&gt;
|-&lt;br /&gt;
| Numpad *&lt;br /&gt;
| 55&lt;br /&gt;
|-&lt;br /&gt;
| Left Alt&lt;br /&gt;
| 56&lt;br /&gt;
|-&lt;br /&gt;
| Spacebar&lt;br /&gt;
| 57&lt;br /&gt;
|-&lt;br /&gt;
| Caps Lock&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
| F1&lt;br /&gt;
| 59&lt;br /&gt;
|-&lt;br /&gt;
| F2&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
| F3&lt;br /&gt;
| 61&lt;br /&gt;
|-&lt;br /&gt;
| F4&lt;br /&gt;
| 62&lt;br /&gt;
|-&lt;br /&gt;
| F5&lt;br /&gt;
| 63&lt;br /&gt;
|-&lt;br /&gt;
| F6&lt;br /&gt;
| 64&lt;br /&gt;
|-&lt;br /&gt;
| F7&lt;br /&gt;
| 65&lt;br /&gt;
|-&lt;br /&gt;
| F8&lt;br /&gt;
| 66&lt;br /&gt;
|-&lt;br /&gt;
| F9&lt;br /&gt;
| 67&lt;br /&gt;
|-&lt;br /&gt;
| F10&lt;br /&gt;
| 68&lt;br /&gt;
|}&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| Num Lock&lt;br /&gt;
| 69&lt;br /&gt;
|-&lt;br /&gt;
| Scroll Lock&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 7&lt;br /&gt;
| 71&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 8&lt;br /&gt;
| 72&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 9&lt;br /&gt;
| 73&lt;br /&gt;
|-&lt;br /&gt;
| Numpad -&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 4&lt;br /&gt;
| 75&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 5&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 6&lt;br /&gt;
| 77&lt;br /&gt;
|-&lt;br /&gt;
| Numpad +&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 1&lt;br /&gt;
| 79&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 2&lt;br /&gt;
| 80&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 3&lt;br /&gt;
| 81&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 0&lt;br /&gt;
| 82&lt;br /&gt;
|-&lt;br /&gt;
| Numpad .&lt;br /&gt;
| 83&lt;br /&gt;
|-&lt;br /&gt;
| F11&lt;br /&gt;
| 87&lt;br /&gt;
|-&lt;br /&gt;
| F12&lt;br /&gt;
| 88&lt;br /&gt;
|-&lt;br /&gt;
| Numpad Enter&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
| Right Control&lt;br /&gt;
| 157&lt;br /&gt;
|-&lt;br /&gt;
| Numpad /&lt;br /&gt;
| 181&lt;br /&gt;
|-&lt;br /&gt;
| Right Alt&lt;br /&gt;
| 184&lt;br /&gt;
|}&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| Home&lt;br /&gt;
| 199&lt;br /&gt;
|-&lt;br /&gt;
| Up Arrow&lt;br /&gt;
| 200&lt;br /&gt;
|-&lt;br /&gt;
| Page Up&lt;br /&gt;
| 201&lt;br /&gt;
|-&lt;br /&gt;
| Left Arrow&lt;br /&gt;
| 203&lt;br /&gt;
|-&lt;br /&gt;
| Right Arrow&lt;br /&gt;
| 205&lt;br /&gt;
|-&lt;br /&gt;
| End&lt;br /&gt;
| 207&lt;br /&gt;
|-&lt;br /&gt;
| Down Arrow&lt;br /&gt;
| 208&lt;br /&gt;
|-&lt;br /&gt;
| Page Down&lt;br /&gt;
| 209&lt;br /&gt;
|-&lt;br /&gt;
| Insert&lt;br /&gt;
| 210&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| 211&lt;br /&gt;
|-&lt;br /&gt;
| Left Mouse Button&lt;br /&gt;
| 256&lt;br /&gt;
|-&lt;br /&gt;
| Right Mouse Button&lt;br /&gt;
| 257&lt;br /&gt;
|-&lt;br /&gt;
| Middle Mouse/Wheel&lt;br /&gt;
| 258&lt;br /&gt;
|-&lt;br /&gt;
| Mouse Button 3&lt;br /&gt;
| 259&lt;br /&gt;
|-&lt;br /&gt;
| Mouse Button 4&lt;br /&gt;
| 260&lt;br /&gt;
|-&lt;br /&gt;
| Mouse Button 5&lt;br /&gt;
| 261&lt;br /&gt;
|-&lt;br /&gt;
| Mouse Button 6&lt;br /&gt;
| 262&lt;br /&gt;
|-&lt;br /&gt;
| Mouse Button 7&lt;br /&gt;
| 263&lt;br /&gt;
|-&lt;br /&gt;
| Mouse Wheel Up&lt;br /&gt;
| 264&lt;br /&gt;
|-&lt;br /&gt;
| Mouse Wheel Down&lt;br /&gt;
| 265&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
Source: [http://wiki.tesnexus.com/index.php/DirectX_Scancodes_And_How_To_Use_Them Nexus Wiki]&lt;br /&gt;
&lt;br /&gt;
====Author(s)====&lt;br /&gt;
They deserve credit!&lt;br /&gt;
*Initial page - [[User:Wukl|Wukl]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Riking</name></author>	</entry>

	</feed>