turtle.equipLeft
When called, will equip the item currently selected onto the left side of the turtle. If no item is selected, it will dequip the item on the left side.
|
|||
Equips a diamond pickaxe on the turtle, turning it into a mining turtle. This presumes that the pickaxe is in slot 1 of the turtle. | |||
Code | <nowiki>
turtle.equipLeft();
</nowiki>
|
Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lua |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CC:Tweaked |
|
turtle.equipLeft Function | |
---|---|
Syntax turtle.equipLeft() | |
Returns | boolean success |
API | turtle |
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.