Difference between revisions of "Pocket Computer"

From ComputerCraft Wiki
Jump to: navigation, search
m (Recipes)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Block
+
{{Item
|name=Pocket Computer
+
|name = Pocket Computer
|image=Pocket_Computer_Large.png
+
|image = Pocket Computer Large.png
|id=31709
+
|renewable = Yes
|damage-value=The ID of the Computer.
+
|stackable = No
|is-peripheral=No
+
|data = 4105
 +
|damage = '''Normal:''' 0<br>'''Advanced:''' 1
 +
|nameid = computercraft:pocketComputer
 
}}
 
}}
Pocket Computers, added in 1.6, are [[computer]]s 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 [http://www.computercraft.info/forums2/index.php?/topic/17614-ultimate-door-lock-pda-opened-doors/ 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").
+
Pocket Computers, added in 1.6, are [[computer]]s 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 [http://www.computercraft.info/forums2/index.php?/topic/17614-ultimate-door-lock-pda-opened-doors/ 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. The screen size of Pocket Computers is 26 wide by 20 high.
+
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.
 
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:
 
For example, to check if your program is running on Pocket Computer do:
if pocket then
+
<pre style="display:table">
    print('Running on a Pocket Computer')
+
if pocket then
else
+
    print('Running on a Pocket Computer')
    print('Running on a standard Computer')
+
else
end
+
    print('Running on a standard Computer')
 +
end
 +
</pre>
  
Pocket Computers have a [[resolution]] of 26 pixels/characters horizontally by 19 pixels/characters vertically.
+
Pocket Computers have a [[resolution]] of 26 pixels/characters horizontally by 20 pixels/characters vertically.
  
== Recipes ==
+
== Crafting ==
Pocket Computer
+
; Pocket Computer
{{Crafting grid
+
{{Crafting
  |A1=stone |B1=stone     |C1=stone
+
  |A1=stone |B1=stone       |C1=stone
  |A2=stone |B2=Golden Apple   |C2=stone
+
  |A2=stone |B2=Golden Apple |C2=stone
  |A3=stone |B3=glass_pane |C3=stone
+
  |A3=stone |B3=glass pane  |C3=stone
  |Output=Pocket_Computer
+
  |Output=Pocket Computer
}}
+
}}
  
Advanced Pocket Computer
+
; Advanced Pocket Computer
{{Crafting grid
+
{{Crafting
  |A1=Gold_Ingot |B1=Gold_Ingot |C1=Gold_Ingot
+
  |A1=Gold Ingot |B1=Gold Ingot  |C1=Gold Ingot
  |A2=Gold_Ingot |B2=Golden_Apple |C2=Gold_Ingot
+
  |A2=Gold Ingot |B2=Golden Apple |C2=Gold Ingot
  |A3=Gold_Ingot |B3=glass_pane |C3=Gold_Ingot
+
  |A3=Gold Ingot |B3=glass pane  |C3=Gold Ingot
  |Output=Advanced_Pocket_Computer
+
  |Output=Advanced Pocket Computer
}}
+
}}
  
Wireless Pocket Computer
+
; Wireless Pocket Computer
{{Crafting grid
+
{{Crafting
 
|B1=Modem
 
|B1=Modem
|B2=Pocket_Computer
+
|B2=Pocket Computer
|Output=Wireless_Pocket_Computer
+
|Output=Wireless Pocket Computer
 
}}
 
}}
  
Advanced Wireless Pocket Computer
+
; Advanced Wireless Pocket Computer
{{Crafting grid
+
{{Crafting
 
|B1=Modem
 
|B1=Modem
|B2=Advanced_Pocket_Computer
+
|B2=Advanced Pocket Computer
|Output=Advanced_Wireless_Pocket_Computer
+
|Output=Advanced Wireless Pocket Computer
 
}}
 
}}
  
Line 54: Line 58:
 
Hold the Pocket Computer in your hands then right click. To turn it off type 'shutdown' in to the shell.
 
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.  
+
Pocket Computers also come with a special program, [[falling]], a Tetris game by GopherAtl.  
  
Below is an ingame screen of a Pocket Computer.
+
== History ==
 
+
{{History|head}}
[[File:Pocket_Computer_Screenshot.png]]
+
{{History|1.6|Added Pocket Computers.|Added Advanced Pocket Computers.}}
 +
{{History|1.77/1.78|Can be mounted in Disk Drives.}}
 +
{{History|foot}}
  
 +
== Gallery ==
 +
<gallery>
 +
File:Pocket Computer Screenshot.png|Pocket Computer UI.
 +
</gallery>
  
 
{{BlocksItemsList}}
 
{{BlocksItemsList}}
[[Category:Items]]
+
 
 
[[Category:Consoles]]
 
[[Category:Consoles]]

Latest revision as of 06:09, 4 August 2020

Pocket Computer
Pocket Computer Large.png
RenewableYes
StackableNo
Data value4105
Damage valueNormal: 0
Advanced: 1
Namespaced IDcomputercraft:pocketComputer

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.

Crafting

Pocket Computer
Empty-crafting-table.png
Grid stone.png
Grid stone.png
Grid stone.png
Grid stone.png
Grid Golden Apple.png
Grid stone.png
Grid Pocket Computer.png
Grid stone.png
Grid glass pane.png
Grid stone.png
Advanced Pocket Computer
Empty-crafting-table.png
Grid Gold Ingot.png
Grid Gold Ingot.png
Grid Gold Ingot.png
Grid Gold Ingot.png
Grid Golden Apple.png
Grid Gold Ingot.png
Grid Advanced Pocket Computer.png
Grid Gold Ingot.png
Grid glass pane.png
Grid Gold Ingot.png
Wireless Pocket Computer
Empty-crafting-table.png
Grid Modem.png
Grid Pocket Computer.png
Grid Wireless Pocket Computer.png
Advanced Wireless Pocket Computer
Empty-crafting-table.png
Grid Modem.png
Grid Advanced Pocket Computer.png
Grid Advanced Wireless Pocket Computer.png

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.

History

1.6Added Pocket Computers.
Added Advanced Pocket Computers.
1.77/1.78Can be mounted in Disk Drives.

Gallery

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