turtle.suck
From ComputerCraft Wiki
Revision as of 20:50, 21 April 2015 by MisterSanderson (Talk | contribs) (Removing examples of other commands, keeping just the examples related to this command.)
Moves one or more items from either the ground in front of the turtle, or, from an inventory-enabled block (such as a chest) in front of the turtle.
| |
| Syntax | turtle.suck([number amount]) |
| Returns | boolean true if at least one item was moved into the turtle's inventory; false otherwise. |
| Part of | ComputerCraft |
| API | turtle |
Examples
| Picks up some items from in front of the turtle. | |
| Code |
turtle.suck() |