http://www.computercraft.info/wiki/api.php?action=feedcontributions&user=Itunes89&feedformat=atomComputerCraft Wiki - User contributions [en]2024-03-29T05:50:38ZUser contributionsMediaWiki 1.24.1http://www.computercraft.info/wiki/index.php?title=CcSensors&diff=3754CcSensors2012-11-14T14:05:05Z<p>Itunes89: If it's out of date, we don't need it.</p>
<hr />
<div>{{delete}}<br />
{{DISPLAYTITLE:ccSensors}}<br />
<br />
'''This mod is 1.2.5 ONLY! It is very out-of-date!'''<br />
<br />
'''ccSensors''' is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs.<br />
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.<br />
<br />
==Getting Started==<br />
<br />
# place a Sensor Controller next to a computer<br />
# open the sensor Controller GUI and hit the "New" button to register a new freq<br />
# place blank transmitter card in the slot and click "Encode Transmitter" to get an encoded transmitter to be used with the remote sensor.<br />
# 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 "Sensor")<br />
# Place a SensorModule card into the top slot.<br />
# 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 :)<br />
<br />
==API: sensors==<br />
Note: Documentation is ripped from source code. Information is provided "as-is" with no guarntee of accuracy.<br />
<!-- #################################################################<br />
<br />
TO MOD AUTHOR:<br />
If you fix up the docs, please remove the above sentence.<br />
Thank you.<br />
~~~~<br />
<br />
############################################################## --><br />
{| class="sortable" border="1" cellpadding="2" cellspacing="0"<br />
!style="background:#EEE" width="200px"|Method name<br />
!style="background:#EEE" width="*"|Description<br />
|-<br />
|getVersion()<br />
|sensorAPI version<br />
|-<br />
|getPeripherals()<br />
|returns a dict of attached peripherals : SensorController,monitor,modem<br />
|-<br />
|getController()<br />
|return the side the first controller is attached at<br />
|-<br />
|rIterator( table )<br />
|Intended for internal use only.<br />
|-<br />
|tabtodict( table )<br />
|Intended for internal use only.<br />
|-<br />
|getReadingAsTable( side, sensor, ... )<br />
|return sensor reading as a table instead of a dict<br />
|-<br />
|setTarget( side, sensor, target )<br />
|set the active target for a given sensor<br />
|-<br />
|setSensorRange( side, sensor, range )<br />
|set the sensor range (as long is <= max_sensor_range)<br />
|-<br />
|getAvailableReadings( side, sensor )<br />
|returns names of all readings available for a given sensor<br />
|-<br />
|setActiveReading( side, sensor, reading )<br />
|set the active reading to be used when getReading is called<br />
|-<br />
|getAvailableTargets( side, sensor )<br />
|returns the available targets for a given sensor<br />
|-<br />
|getAvailableTargetsforProbe( side, sensor, probe )<br />
|UNDOCUMENTED<br />
|-<br />
|getAvailableTargetsforProbe2( side, sensor, probe )<br />
|UNDOCUMENTED<br />
|-<br />
|getProbes( side, sensor )<br />
|returns a table of the available probes (eg: TargetInfo, LivingEntities, Players)<br />
|-<br />
|getSensorInfo( side, sensor, ... )<br />
|returns the following information for a given sensor: <br />
cardType, ActiveReadingID, Distance, Name, ActiveReading, ShortName, SensorRange, yCoord, zCoord, xCoord<br />
<!--<br />
old values from someone else<br />
cardType,name,activereading,activereadingid,distance,location,methods,SensorRange<br />
--><br />
|-<br />
|getSensorInfoAsTable( side, sensor, ... )<br />
|same as getSensorInfo, except as a table<br />
|-<br />
|getReading( side, sensor, ... )<br />
|returns sensor reading in a dict of reading,value pairs<br />
|-<br />
|getReading2( side, sensor, probe, target, ... )<br />
|returns sensor reading in a dict of reading,value pairs<br />
|-<br />
|getSensors( side )<br />
|returns the names of all connected sensors<br />
|-<br />
|getSensorReadingAsDict(side,sensor,target,probe,...)<br />
|get a reading while setting the target and reading type for a given sensor. returns a dictionary [working]<br />
|-<br />
|getSensorReadingAsDict2(side, sensor, probe, target, ...)<br />
|Alias for getReading2<br />
|-<br />
|getSensorReadingAsTable( side, sensor, target, reading, ...)<br />
|get a reading while setting the target and reading type for a given sensor<br />
|-<br />
|getItemInfo(name,content)<br />
|return item info from an inventory dictionary<br />
|-<br />
|getItemsInfo(names,content)<br />
|returns a dict for each item in the given names table with .dmg and .qty<br />
|}<br />
<br />
== External links==<br />
*[http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/ ccSensors]—ComputerCraft Forum Thread<br />
<br />
[[Category:User Created Peripherals]]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Turtle&diff=3734Turtle2012-11-14T04:57:06Z<p>Itunes89: /* Melee */</p>
<hr />
<div>'''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]].<br />
<br />
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.<br />
<br />
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.<br />
<br />
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].<br />
<br />
==Floppy Disks==<br />
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.<br />
<br />
==Power source==<br />
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.<br />
The turtle can move 1 block for each fuel count it has, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.<br />
<br />
=== Optional Non-fuel mode ===<br />
<br />
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.<br />
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.<br />
This mode can be turned on by editing the turtle config file (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.<br />
<br />
==Farming==<br />
Turtles equipped with a hoe can till dirt so it can later be used for farming.<br />
An example of a use for this would be using it to till, plant, and harvest your wheat farm and dropping product in a chest for you.<br />
<br />
==Mining==<br />
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.<br />
<br />
==Crafting==<br />
Turtles with a crafting table can craft items if they have the correct materials to do so.<br />
<br />
==Melee==<br />
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 its inventory. Turtles can also attack with any tool, where the axe is the second best after the sword.<br />
<br />
==Recipes==<br />
<br />
{|<br />
|+'''Crafting ingredients'''<br />
|-<br />
|Turtle<br />
|{{Crafting grid<br />
|A1=iron_ingot |B1=iron_ingot |C1=iron_ingot<br />
|A2=iron_ingot |B2=console |C2=iron_ingot<br />
|A3=iron_ingot |B3=chest |C3=iron_ingot<br />
|Output=turtle<br />
}}<br />
|}<br />
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.<br />
<br>The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]<br />
<br>The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].<br />
<br><br>'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''<br />
{| border="1" cellpadding="2" cellspacing="0|" style="text-align: center"<br />
!style="background:#EEE" width="100px"|<br />
!style="background:#EEE" |None<br />
!style="background:#EEE" |Crafty<br />
!style="background:#EEE" |Wireless<br />
|-<br />
!style="background:#EEE" |None<br />
|{{Crafting grid<br />
|B2=turtle<br />
|Output=turtle<br />
}}<br />
|{{Crafting grid<br />
|B2=turtle |A2=workbench<br />
|Output=Crafty_Turtle<br />
}}<br />
|{{Crafting grid<br />
|B2=turtle |A2=modem<br />
|Output=wireless_turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Mining<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_pickaxe<br />
|Output=mining_turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_pickaxe<br />
|Output=Crafty_Mining_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_pickaxe<br />
|Output=wireless_mining_turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Farming<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_hoe<br />
|Output=Farming_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_hoe<br />
|Output=Crafty_Farming_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_hoe<br />
|Output=Wireless_Farming_Turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Melee<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_sword<br />
|Output=Melee_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_sword<br />
|Output=Crafty_Melee_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_sword<br />
|Output=Wireless_Melee_Turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Felling<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_axe<br />
|Output=Felling_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_axe<br />
|Output=Crafty_Felling_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_axe<br />
|Output=Wireless_Felling_Turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Digging<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_shovel<br />
|Output=Digging_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_shovel<br />
|Output=Crafty_Digging_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_shovel<br />
|Output=Wireless_Digging_Turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Crafty<br />
|See Above<br />
|N/A<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=workbench<br />
|Output=Wireless_Crafty_Turtle<br />
}}<br />
|}<br />
[[Category:Blocks]]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Chest&diff=3733Chest2012-11-14T04:52:46Z<p>Itunes89: Created page with "[http://www.minecraftwiki.net/wiki/Chest Minecraft Wiki Page]"</p>
<hr />
<div>[http://www.minecraftwiki.net/wiki/Chest Minecraft Wiki Page]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Iron_ingot&diff=3732Iron ingot2012-11-14T04:51:29Z<p>Itunes89: Created a much simpler link.</p>
<hr />
<div>[http://www.minecraftwiki.net/wiki/Iron_(Ingot) Minecraft Wiki Page]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Making_a_Password_Protected_Door&diff=3731Making a Password Protected Door2012-11-14T04:49:50Z<p>Itunes89: Made the pictures not take up the whole page.</p>
<hr />
<div><br />
This tutorial covers on how to make a computer output redstone current when the right password is typed in. The current is then used to trigger an iron door.<br />
<br />
<br />
__TOC__<br />
= How to make it =<br />
<br />
A password protected door is actually pretty easy, if you break it into steps.<br />
<br />
<br />
First, you need to craft a computer, and connect the back to an iron door with redstone. Like this:<br />
<br />
The front: [[File:Tutorial1.png|border|200px]]<br />
<br />
The back: [[File:cTutorial2.png|border|200px]]<br />
<br />
<br/><br />
<br />
Alternatively, you can put the computer adjacent to the iron door without using redstone.Once you're done with the basics, open the computer and edit the "startup" file. (type in 'edit startup')<br />
This will make it so the program will be executed when the computer boots.<br />
<br />
Once you access the startup file, enter in these five lines.<br />
<br />
<br />
[[Loops#The_While_loop|while]] true do<br />
[[term_(API)|term]].[[term.clear|clear]]()<br />
[[term_(API)|term]].[[term.setCursorPos|setCursorPos]](1, 1)<br />
[[print]]("Please Enter Password:")<br />
local input = [[read]]("*")<br />
<br />
<br />
<br />
The first line opens a loop that will continue running forever, or until we explicitly exit it with the 'break' keyword. The second and third lines clear the screen of whatever may have been on it, and then set the cursor position to the top-left corner of the screen. This ensures that each time the program loops, the text appears in the same place. The fifth line assigns whatever the user types to the variable 'input'. So for example, if I typed "qwerty", it would be assigning "qwerty" to the 'input' variable. In the read call on the third line ('read("*")'), the asterisk character will be used to replace each letter typed by the user, so that the password stays hidden.<br />
<br />
Here are the next few lines added on:<br />
<br />
<br />
[[Loops#The_While_loop|while]] true do<br />
[[term_(API)|term]].[[term.clear|clear]]()<br />
[[term_(API)|term]].[[term.setCursorPos|setCursorPos]](1, 1)<br />
[[print]]("Please Enter Password:")<br />
input = [[read]]("*")<br />
if input == "password" then<br />
[[redstone_(API)|redstone]].[[redstone.setOutput|setOutput]]("back", true)<br />
[[sleep]](2)<br />
[[redstone_(API)|redstone]].[[redstone.setOutput|setOutput]]("back", false)<br />
end<br />
end<br />
<br />
''where "password" is the password needed to open the door. You can modify it.''<br />
<br />
The first line we add, 'if input == "password" then' checks whether or not the 'input' variable contains the string "password". The three lines immediately following are only executed if the password is correct. So if it's correct, 'redstone.setOutput("back", true)' sets the redstone output on the back side to true (on), which opens the door. The program then wait two seconds ('sleep(2)'), and turns the redstone output back off again. The program then reaches the end of the loop and repeats.<br />
<br />
Please note that this is the basic format for a computer protection program as well. We would put this program in the startup file and instead of outputting redstone signals if the password was correct, we would use the break keyword instead to exit the loop and allow access to the rest of the computer.<br />
<br />
Note also that if the program fails somehow, pressing and holding Ctrl + T will terminate it and allow you to edit it, see the [http://computercraft.info/wiki/index.php?title=Making_a_Password_Protected_Door#Stop_people_from_terminating_your_lock No termination section] to stop people from exiting your lock.<br />
<br />
= Easier to understand code =<br />
<br />
Type 'edit startup' and type in this code: <br />
(Use Ctrl + T to terminate the program, all code is explained in the comments, the --'s. It's good to read the comments, so you actually know what the code does, you do not need to have the comments in your code, of course)<br />
local side = "left" -- Change left to whatever side your door / redstone is on, E.G: left, right, front, back, bottom, top. Be sure to leave the "s around it, though<br />
local password = "bacon" -- Change bacon to what you want your password to be. Be sure to leave the "s around it, though<br />
local opentime = 5 -- Change 5 to how long (in seconds) you want the redstone current to be on. Don't put "s around it, though<br />
[[Loops#The_While_loop|while]] true do <br />
[[term_(API)|term]].[[term.clear|clear]]() -- Clears the screen<br />
[[term_(API)|term]].[[term.setCursorPos|setCursorPos]](1,1) -- Fixes the cursor position<br />
[[write]]("Password: ") -- Prints 'Password: ' to the screen<br />
local input = [[read]]("*") -- Makes the variable 'input' have the contents of what the user types in, the "*" part censors out the password<br />
if input == password then -- Checks if the user inputted the correct password<br />
[[term_(API)|term]].[[term.clear|clear]]() -- Already explained up top<br />
[[term_(API)|term]].[[term.setCursorPos|setCursorPos]](1,1)<br />
[[print]]("Password correct!") -- Prints 'Password correct!' to the screen<br />
[[redstone_(API)|rs]].[[redstone.setOutput|setOutput]](side,true) -- Output a redstone current to the side you specified<br />
[[sleep]](opentime) -- Wait the amount of seconds you specifed, then..<br />
[[redstone_(API)|rs]].[[redstone.setOutput|setOutput]](side,false) -- Stop outputting a redstone current<br />
else -- Checks if the user didn't input the correct password<br />
[[print]]("Password incorrect!") -- Prints 'Password incorrect!' to the screen<br />
[[sleep]](2) -- Waits 2 seconds<br />
end<br />
end<br />
<br />
= Stop people from terminating your lock =<br />
<br />
If you don't want people holding CTRL+T and quitting your lock, use this code at the top of your program:<br />
<pre>os.pullEvent = os.pullEventRaw</pre><br />
If you don't add this code to the top of your program, someone could terminate the lock and enter in a command and they can unlock your door without knowing the password. Adding the code is useful in Multiplayer.<br />
<br />
To re-enable the ability to terminate the program, you must first make a copy of <i>os.pullEvent</i>, then you can restore it later.<br />
<pre>local pullEvent = os.pullEvent<br />
os.pullEvent = os.pullEventRaw<br />
<br />
-- If the desired conditions are met, you can run this line to allow the program to be terminated.<br />
os.pullEvent = pullEvent</pre><br />
[[Category:Tutorials]]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Talk:ComputerCraft_Wiki:Mainpage&diff=3730Talk:ComputerCraft Wiki:Mainpage2012-11-14T04:34:22Z<p>Itunes89: /* Tutorials */ new section</p>
<hr />
<div>*May I suggest we lock this page and [[Main_Page]]? We've been getting a lot of complete-page-content-removal lately.--[[User:Thesbros|Thesbros]]<br />
** I concur, however this would require some sort of user confirmation system. It could be done, though. [[User:AgentK|AgentK]] 22:08, 25 August 2012 (EDT)<br />
Sure<br />
<br />
Someone with permission to should update the latest version, 1.43. - 99.108.142.147<br />
<br />
Its already done, u need to buy some sort of glasses or somethin'. [[User:TheGuy299|TheGuy299]] 09:00, 8 October 2012 (EDT)<br />
*I fixed it. XD --[[User:Thesbros|Thesbros]] 13:23, 8 October 2012 (EDT)<br />
<br />
== Tutorials ==<br />
<br />
Hello, I'm itunes89. I help run a wiki, a big wiki. Anyway I was wondering if we should create a tutorials tab, for newer players. My wiki also teach's Lua. [http://wiki.roblox.com/index.php/Roblox Roblox Wiki].</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Turtle&diff=3729Turtle2012-11-14T04:25:42Z<p>Itunes89: Fixed grammar issue.</p>
<hr />
<div>'''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]].<br />
<br />
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.<br />
<br />
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.<br />
<br />
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].<br />
<br />
==Floppy Disks==<br />
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.<br />
<br />
==Power source==<br />
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.<br />
The turtle can move 1 block for each fuel count it has, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.<br />
<br />
=== Optional Non-fuel mode ===<br />
<br />
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.<br />
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.<br />
This mode can be turned on by editing the turtle config file (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.<br />
<br />
==Farming==<br />
Turtles equipped with a hoe can till dirt so it can later be used for farming.<br />
An example of a use for this would be using it to till, plant, and harvest your wheat farm and dropping product in a chest for you.<br />
<br />
==Mining==<br />
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.<br />
<br />
==Crafting==<br />
Turtles with a crafting table can craft items if they have the correct materials to do so.<br />
<br />
==Melee==<br />
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 its inventory. Turtles can also attack with any tool, where axe is the second best after the sword.<br />
<br />
==Recipes==<br />
<br />
{|<br />
|+'''Crafting ingredients'''<br />
|-<br />
|Turtle<br />
|{{Crafting grid<br />
|A1=iron_ingot |B1=iron_ingot |C1=iron_ingot<br />
|A2=iron_ingot |B2=console |C2=iron_ingot<br />
|A3=iron_ingot |B3=chest |C3=iron_ingot<br />
|Output=turtle<br />
}}<br />
|}<br />
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.<br />
<br>The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]<br />
<br>The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].<br />
<br><br>'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''<br />
{| border="1" cellpadding="2" cellspacing="0|" style="text-align: center"<br />
!style="background:#EEE" width="100px"|<br />
!style="background:#EEE" |None<br />
!style="background:#EEE" |Crafty<br />
!style="background:#EEE" |Wireless<br />
|-<br />
!style="background:#EEE" |None<br />
|{{Crafting grid<br />
|B2=turtle<br />
|Output=turtle<br />
}}<br />
|{{Crafting grid<br />
|B2=turtle |A2=workbench<br />
|Output=Crafty_Turtle<br />
}}<br />
|{{Crafting grid<br />
|B2=turtle |A2=modem<br />
|Output=wireless_turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Mining<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_pickaxe<br />
|Output=mining_turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_pickaxe<br />
|Output=Crafty_Mining_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_pickaxe<br />
|Output=wireless_mining_turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Farming<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_hoe<br />
|Output=Farming_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_hoe<br />
|Output=Crafty_Farming_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_hoe<br />
|Output=Wireless_Farming_Turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Melee<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_sword<br />
|Output=Melee_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_sword<br />
|Output=Crafty_Melee_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_sword<br />
|Output=Wireless_Melee_Turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Felling<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_axe<br />
|Output=Felling_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_axe<br />
|Output=Crafty_Felling_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_axe<br />
|Output=Wireless_Felling_Turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Digging<br />
|{{Crafting grid<br />
|B2=turtle |C2=diamond_shovel<br />
|Output=Digging_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=workbench |B2=turtle |C2=diamond_shovel<br />
|Output=Crafty_Digging_Turtle<br />
}}<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=diamond_shovel<br />
|Output=Wireless_Digging_Turtle<br />
}}<br />
|-<br />
!style="background:#EEE" |Crafty<br />
|See Above<br />
|N/A<br />
|{{Crafting grid<br />
|A2=modem |B2=turtle |C2=workbench<br />
|Output=Wireless_Crafty_Turtle<br />
}}<br />
|}<br />
[[Category:Blocks]]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=User_talk:Xuma&diff=1233User talk:Xuma2012-04-05T22:37:02Z<p>Itunes89: Created page with "Welcome to the ComputerCraft wiki."</p>
<hr />
<div>Welcome to the ComputerCraft wiki.</div>Itunes89http://www.computercraft.info/wiki/index.php?title=User_talk:Admin&diff=1229User talk:Admin2012-04-02T15:06:36Z<p>Itunes89: /* Active? */ new section</p>
<hr />
<div>Would you mind deleting the pages that have been marked for deletion? Also, it would be nice if you considered some wiki admins so all the maintenance work on the wiki doesn't fall to you, that way the spam on the wiki wouldn't get out of control. Thanks. {{User:Scarfacial/Signature|21:10 - 25 February 2012}}<br />
::I aggree--[[User:Itunes89|--Itunes89]] 14:19, 2 April 2012 (UTC)<br />
<br />
== Active? ==<br />
<br />
Are you active?--[[User:Itunes89|--Itunes89]] 15:06, 2 April 2012 (UTC)</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Main_Page&diff=1226Main Page2012-04-02T15:03:51Z<p>Itunes89: moved Main Page to ComputerCraft Wiki - Home: I think it should have a better name then homepage.</p>
<hr />
<div>#REDIRECT [[ComputerCraft Wiki - Home]]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Talk:ComputerCraft_Wiki:Mainpage&diff=1227Talk:ComputerCraft Wiki:Mainpage2012-04-02T15:03:51Z<p>Itunes89: moved Talk:Main Page to Talk:ComputerCraft Wiki - Home: I think it should have a better name then homepage.</p>
<hr />
<div>Hello, wiki. This page needs to be more professional seeming. --[[User:Kaleb702|if user &#61;&#61; 1 then print(&#34;Kaleb702&#34;); end]] 01:43, 29 January 2012 (UTC)<br />
<br />
:In what ways can it look more professional? --[[User:Onionnion|Onionnion]] 05:23, 5 February 2012 (UTC)<br />
<br />
::->mmh you cant search for a single command for example if i search clear() or time() i find nothing...<br />
::->the computercraft picture isn't so great.. --> good<br />
::->the "group" list is not on the front page --> good<br />
:: [[User:Dude|Dude]] 12:01, 10 March 2012 (UTC) <br />
<br />
== Better main page needed ==<br />
<br />
I just went to this wiki for the first time today (looking for API docs) and found the main page rather unhelpful. I would suggest adding links from the main page to various pages. At least to the API docs and to an index of tutorials. Possibly also to some LUA tutorials (personally I'm more used to C than LUA for example). I didn't want to do it myself, since I'm new to this wiki and did not want to annoy any admins. --[[Special:Contributions/81.225.70.10|81.225.70.10]] 19:30, 10 March 2012 (UTC)<br />
<br />
: i can create a short tutorial but my english is not soo good... [[User:Dude|Dude]] --sorry for my bad english... 00:29, 11 March 2012 (UTC)<br />
<br />
:: I'm working on it. This can take a few days. [[User:Wukl|Wukl]] 22:00, 11 March 2012 (UTC)<br />
<br />
== add things ==<br />
<br />
*can you add Syntaxhighlight to the wiki?<br />
<br />
*can you PLEASE add the paste function to the mod?? [http://www.computercraft.info/wiki/index.php?title=User:Dude Dude] --sorry for my bad english... 16:44, 28 March 2012 (UTC)</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Talk:Main_Page&diff=1228Talk:Main Page2012-04-02T15:03:51Z<p>Itunes89: moved Talk:Main Page to Talk:ComputerCraft Wiki - Home: I think it should have a better name then homepage.</p>
<hr />
<div>#REDIRECT [[Talk:ComputerCraft Wiki - Home]]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Stone&diff=1222Stone2012-04-02T14:20:32Z<p>Itunes89: Created page with "For more information, please see the offical Minecraft wiki, [http://www.minecraftwiki.net/wiki/Stone here.]"</p>
<hr />
<div>For more information, please see the offical Minecraft wiki, [http://www.minecraftwiki.net/wiki/Stone here.]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=User_talk:Admin&diff=1221User talk:Admin2012-04-02T14:19:03Z<p>Itunes89: </p>
<hr />
<div>Would you mind deleting the pages that have been marked for deletion? Also, it would be nice if you considered some wiki admins so all the maintenance work on the wiki doesn't fall to you, that way the spam on the wiki wouldn't get out of control. Thanks. {{User:Scarfacial/Signature|21:10 - 25 February 2012}}<br />
::I aggree--[[User:Itunes89|--Itunes89]] 14:19, 2 April 2012 (UTC)</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Glass_pane&diff=1220Glass pane2012-04-02T14:15:20Z<p>Itunes89: Created page with "For more information on the Glass Pane, see the official Minecraft wiki [http://www.minecraftwiki.net/wiki/Glass_Pane here.]"</p>
<hr />
<div>For more information on the Glass Pane, see the official Minecraft wiki [http://www.minecraftwiki.net/wiki/Glass_Pane here.]</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Concatenation&diff=1218Concatenation2012-04-02T06:00:05Z<p>Itunes89: Created page with "Concatenation is the process, in which you combine one or more strings. To concatenate a string you use two periods. {{Example |desc=Concatenating strings. |code=print("He..."</p>
<hr />
<div>Concatenation is the process, in which you combine one or more strings.<br />
<br />
To concatenate a string you use two periods.<br />
<br />
{{Example<br />
|desc=Concatenating strings.<br />
|code=print("Hello ".."World".."!")<br />
|output=Hello world!<br />
}}</div>Itunes89http://www.computercraft.info/wiki/index.php?title=User:Itunes89&diff=1214User:Itunes892012-04-02T05:12:26Z<p>Itunes89: Created page with "== Hello All == Hello anyone who is reading this page. Just to let you know I can do this job, I got accepted on the ROBLOX wiki. There are 20 million people on roblox. There..."</p>
<hr />
<div>== Hello All ==<br />
<br />
Hello anyone who is reading this page. Just to let you know I can do this job, I got accepted on the ROBLOX wiki. There are 20 million people on roblox. There are 50 writers. I am one of them. Anyway back to me, So a little about me.. I am a good programmer. I love wikis, and forums. That is about it, ask me a question on my talk page if you want to know more.</div>Itunes89http://www.computercraft.info/wiki/index.php?title=User_talk:Itunes89&diff=1213User talk:Itunes892012-04-02T05:12:11Z<p>Itunes89: Blanked the page</p>
<hr />
<div></div>Itunes89http://www.computercraft.info/wiki/index.php?title=User_talk:Itunes89&diff=1212User talk:Itunes892012-04-02T05:08:35Z<p>Itunes89: Hello All</p>
<hr />
<div>== Hello All ==<br />
<br />
Hello anyone who is reading this page. Just to let you know I can do this job, I got accepted on the ROBLOX wiki. There are 20 million people on roblox. There are 50 writers. I am one of them. Anyway back to me, So a little about me.. I am a good programmer. I love wikis, and forums. That is about it, ask me a question on my talk page if you want to know more.</div>Itunes89http://www.computercraft.info/wiki/index.php?title=Diamond_pickaxe&diff=1210Diamond pickaxe2012-04-02T04:51:03Z<p>Itunes89: Created page with "For more information on the "Diamond Pickaxe", please go the the Minecraft official wiki. [http://www.minecraftwiki.net/wiki/Diamond_Pickaxe Diamond Pickaxe]"</p>
<hr />
<div>For more information on the "Diamond Pickaxe", please go the the Minecraft official wiki.<br />
<br />
[http://www.minecraftwiki.net/wiki/Diamond_Pickaxe Diamond Pickaxe]</div>Itunes89