Pocket Computer

From ComputerCraft Wiki
Revision as of 21:12, 20 February 2015 by MKlegoman357 (Talk | contribs) (screen height was incorrect)

Jump to: navigation, search
Grid workbench.png   Pocket Computer
Pocket Computer Large.png
Item ID ComputerCraft:pocketComputer
Damage Value 0 (regular) - 1 (advanced)
Peripheral? No

Pocket Computers, added in 1.6, are computers than are held as an inventory item, allowing you to use them on the move. To use a Pocket Computer, hold it in your hand and press the "use" key (this is a right-click by default). Both advanced and standard versions are available. It is also possible to craft Pocket Computers with wireless modems built in, which allows you to control your machines from anywhere or even open doors for you without having to do anything! The modem is attached to the back of the Pocket Computer, so to use it, wrap it with peripheral.wrap( "back" ).

When removing from your inventory (dropping, moving in to chest, etc) the computer will stay on for 3-4 seconds. After that time it will turn it self off, you will not lose any data.

If the computer your program is running on is a Pocket Computer 'pocket' will be a blank table. For example, to check if your program is running on Pocket Computer do:

if pocket then
    print('Running on a Pocket Computer')
else
    print('Running on a standard Computer')
end

Pocket Computers have a resolution of 26 pixels/characters horizontally by 20 pixels/characters vertically.

Recipes

Pocket Computer

stone

stone

stone

stone

Golden Apple

glass_pane

stone

stone

stone

Pocket_Computer



Advanced Pocket Computer

Gold_Ingot

Gold_Ingot

Gold_Ingot

Gold_Ingot

Golden_Apple

glass_pane

Gold_Ingot

Gold_Ingot

Gold_Ingot

Advanced_Pocket_Computer



Wireless Pocket Computer



Modem

Pocket_Computer




Wireless_Pocket_Computer



Advanced Wireless Pocket Computer



Modem

Advanced_Pocket_Computer




Advanced_Wireless_Pocket_Computer



Usage

Hold the Pocket Computer in your hands then right click. To turn it off type 'shutdown' in to the shell.

Pocket Computers also come with a special program, falling, a Tetris game by GopherAtl.

Below is an ingame screen of a Pocket Computer.

Pocket Computer Screenshot.png


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