pocket.equipBack
Search the player’s inventory for another upgrade, replacing the existing one with that item if found. The inventory search starts from the currently selected slot, allowing one to prioritise upgrades. This will error if no such upgrade can be found.
|
|||
Equip back | |||
Code | pocket.equipBack()
|
Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lua |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CC:Tweaked |
|
pocket.equipBack Function | |
---|---|
Syntax pocket.equipBack() | |
Returns | boolean success |
API | |
Source | CC:Tweaked (source) |
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.