Difference between revisions of "Turtle"

From ComputerCraft Wiki
Jump to: navigation, search
((accidentally hit save instead of preview) Added Advanced turtles. (Though we need an icon))
Line 3: Line 3:
 
The 1.4 update was focused on turtles, and expanded the turtle's ability to use tools. Turtles are capable of using pickaxes, hoes, axes, shovels and swords. The update added "Crafty Turtles", which have the ability to craft using their inventory - and part of this upgrade saw the number of inventory slots in the Turtle raised to 16 - over the previous 9 slot inventory. The 1.4 update also included a new fuel system for the turtles.
 
The 1.4 update was focused on turtles, and expanded the turtle's ability to use tools. Turtles are capable of using pickaxes, hoes, axes, shovels and swords. The update added "Crafty Turtles", which have the ability to craft using their inventory - and part of this upgrade saw the number of inventory slots in the Turtle raised to 16 - over the previous 9 slot inventory. The 1.4 update also included a new fuel system for the turtles.
  
The 1.55 update added advanced turtles. Advanced Turtles are able to display color and have mouse input on their display. Just like [[Advanced Computer||Advanced Computers]].
+
The 1.55 update added advanced turtles. Advanced Turtles are able to display color and have mouse input on their display. Just like [[Advanced Computer|Advanced Computers]].
  
 
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.
 
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.
Line 55: Line 55:
 
  |A2=Gold_Ingot |B2=Computer  |C2=Gold_Ingot
 
  |A2=Gold_Ingot |B2=Computer  |C2=Gold_Ingot
 
  |A3=Gold_Ingot |B3=chest      |C3=Gold_Ingot
 
  |A3=Gold_Ingot |B3=chest      |C3=Gold_Ingot
  |Output=turtle |Output-link=turtle
+
  |Output=advanced_turtle |Output-link=turtle
 
  }}
 
  }}
 
|}
 
|}

Revision as of 21:39, 12 July 2013

Turtles are essentially robots, and were added in the 1.3 update. They run an OS, like the Computers, 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 disks.

The 1.4 update was focused on turtles, and expanded the turtle's ability to use tools. Turtles are capable of using pickaxes, hoes, axes, shovels and swords. The update added "Crafty Turtles", which have the ability to craft using their inventory - and part of this upgrade saw the number of inventory slots in the Turtle raised to 16 - over the previous 9 slot inventory. The 1.4 update also included a new fuel system for the turtles.

The 1.55 update added advanced turtles. Advanced Turtles are able to display color and have mouse input on their display. Just like Advanced Computers.

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.

If you would like to know more about how to program them, have a look at the Turtle API.

Keep in mind, that turtles will not keep their programs unless they are labelled. To do so, you simply need to type in "label set labelName". This will label your turtle with the specified label, in this case "labelName".


Floppy Disks and Peripherals

Turtles do not have a built-in Disk Drive. As such, they need a Disk Drive placed beside them to access Floppy Disks. However, if the Turtle is of the Wireless family, the Disk Drive (and other peripherals) must be placed on a side other than the side the wireless modem is on. Any other peripherals, such as Monitors and Printers can be interacted using the peripheral API.

Power source

Turtles require fuel to operate - this means Turtles must be powered from 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. 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.

Optional Non-fuel mode

In this mode, Turtles use their internal Redstone Engine, and as such, they do not need to be re-charged, or receive any other form of external power. This is because Redstone continuously emits low levels of energy, and the Turtle's engine is very efficient. This mode can be turned on by editing the turtle config file (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.

Farming

Turtles equipped with a diamond hoe can till dirt so it can later be used for Farming. An example of a use for this would be using it to till, plant, and harvest your wheat farm and dropping any product in a chest for you.

Mining

Turtles crafted with a diamond pickaxe, diamond axe, or diamond shovel, can break blocks, chop wood, mine stone and ores, 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, the Turtle receives the item directly into it's inventory. Different tools yield different drops - for example, an axe can break anything, but it won't drop ores.

Crafting

Turtles with a Crafting Table can craft items if they have the correct materials to do so, and all other slots outside the crafting-zone are empty.

Melee

Turtles equipped with a diamond 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 diamond axe is the second best after the diamond sword.

Inventory Interaction

Turtles can interact with blocks that have inventories. This includes chests, furnaces, printers and even blocks with inventories in other mods. (This means a turtle cannot interact with a player's inventory, unless you use a third party peripheral). Turtles can interact with such inventories by using turtle.suck, turtle.suckDown, turtle.suckUp (To retrieve the first item in the inventory. The turtle finds the first item by scanning the first row from left to right, then the second row from left to right, etc.) Turtles can also place items inside inventories, by using turtle.drop, turtle.dropUp, turtle.dropDown, which places items on the first item slot available (Using the same system as the one described for retrieving items).

In special inventories, with just a few slots on the top or bottom, for example furnaces, you can specify which slot to place an item in by positioning the turtle in the corresponding location to the front face of the inventory. For example in a furnace, you would use a turtle at the bottom of the furnace for it to place fuel in the furnace, a turtle at the top to place objects to smelt, and a turtle to the right to retrieve the smelted objects (Note that you can do this with just 1 turtle moving around)

Recipes

Crafting ingredients
Turtle

iron_ingot

iron_ingot

iron_ingot

iron_ingot

Computer

chest

iron_ingot

iron_ingot

iron_ingot

turtle



Advanced Turtle


Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral, however the crafting table can act as a tool, or peripheral.
The following tools can be equipped to a turtles: diamond pickaxe, diamond axe, diamond shovel, diamond hoe and diamond sword
The following peripherals can be equipped to a turtles: wireless modem and crafting tables.
Diamond tools must be unused (i.e. not have a durability bar showing) to combine with a turtle.

Turtle recipe and examples for equipping a turtle with tools and peripherals (Note that any variants of the turtle can also be crafted with the Advanced Turtle).

None Crafty Wireless
None




turtle




turtle




workbench


turtle




Crafty_Turtle




Modem


turtle




wireless_turtle



Mining




turtle


diamond_pickaxe


mining_turtle




workbench


turtle


diamond_pickaxe


Crafty_Mining_Turtle




Modem


turtle


diamond_pickaxe


wireless_mining_turtle



Farming




turtle


diamond_hoe


Farming_Turtle




workbench


turtle


diamond_hoe


Crafty_Farming_Turtle




Modem


turtle


diamond_hoe


Wireless_Farming_Turtle



Melee




turtle


diamond_sword


Melee_Turtle




workbench


turtle


diamond_sword


Crafty_Melee_Turtle




Modem


turtle


diamond_sword


Wireless_Melee_Turtle



Felling




turtle


diamond_axe


Felling_Turtle




workbench


turtle


diamond_axe


Crafty_Felling_Turtle




Modem


turtle


diamond_axe


Wireless_Felling_Turtle



Digging




turtle


diamond_shovel


Digging_Turtle




workbench


turtle


diamond_shovel


Crafty_Digging_Turtle




Modem


turtle


diamond_shovel


Wireless_Digging_Turtle



Crafty See Above N/A


Modem


turtle


workbench


Wireless_Crafty_Turtle



Grid Redstone.pngComputerCraft Blocks and Items
Grid paper.png  Blocks
 Iso Computer.png  Computer Iso Advanced Computer.png  Advanced Computer Iso Command Computer.png  Command Computer Iso DiskDrive.png  Disk Drive
 Iso Monitor.png  Monitor Iso Advanced Monitor.png  Advanced Monitor Iso Printer.png  Printer Grid turtle.png  Turtle
 Grid Modem.png  Wireless Modem Grid Ender Modem.png  Ender Modem Grid Wired Modem.png  Wired Modem Grid Networking Cable.png  Networking Cable
Grid paper.png  Items
 Grid Pocket Computer.png  Pocket Computer Grid Advanced Pocket Computer.png  Advanced Pocket Computer Grid disk.png  Floppy Disk Grid printed page.png  Printed Page
 Grid printed pages.png  Printed Pages Grid printed book .png  Printed Book