Turtle.suck

Functionturtle.place
Picks up a item in front of the turtle
Syntax turtle.place()
Returns integer amount
Part of Lua (source)
API turtle
ExamplePickup a item
Prints the amount of items the turtle picks up.
Code
print(turtle.suck())
Output true
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.