Difference between revisions of "Pocket Computer"
MKlegoman357 (Talk | contribs) (screen height was incorrect) |
Magiczocker (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Item |
− | |name=Pocket Computer | + | |name = Pocket Computer |
− | |image= | + | |image = Pocket Computer Large.png |
− | | | + | |renewable = Yes |
− | |damage | + | |stackable = 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" ). | ||
Line 12: | Line 14: | ||
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: | ||
− | + | <pre style="display:table"> | |
− | + | if pocket then | |
− | + | print('Running on a Pocket Computer') | |
− | + | else | |
− | + | print('Running on a standard Computer') | |
+ | end | ||
+ | </pre> | ||
Pocket Computers have a [[resolution]] of 26 pixels/characters horizontally by 20 pixels/characters vertically. | Pocket Computers have a [[resolution]] of 26 pixels/characters horizontally by 20 pixels/characters vertically. | ||
Line 58: | Line 62: | ||
Below is an ingame screen of a Pocket Computer. | Below is an ingame screen of a Pocket Computer. | ||
− | [[File: | + | [[File:Pocket Computer Screenshot.png]] |
− | + | ||
{{BlocksItemsList}} | {{BlocksItemsList}} | ||
+ | |||
[[Category:Items]] | [[Category:Items]] | ||
[[Category:Consoles]] | [[Category:Consoles]] |
Revision as of 17:04, 1 August 2020
Renewable | Yes |
---|---|
Stackable | No |
Data value | 4105 |
Damage value | Normal: 0 Advanced: 1 |
Namespaced ID | computercraft: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.
Recipes
Pocket Computer
Advanced Pocket Computer
Wireless 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.
ComputerCraft Blocks and Items | |||
Blocks | |||
Computer | Advanced Computer | Command Computer | Disk Drive |
Monitor | Advanced Monitor | Printer | Turtle |
Wireless Modem | Ender Modem | Wired Modem | Networking Cable |
Items | |||
Pocket Computer | Advanced Pocket Computer | Floppy Disk | Printed Page |
Printed Pages | Printed Book |