Difference between revisions of "Turtle.drop"
From ComputerCraft Wiki
(Created page with "{{lowercase}} {{Function |name=turtle.drop |args= |api=turtle |addon=ComputerCraft |desc=Drops everything of the selected Slot or the specified amount. |examples= {{Example |d...") |
|||
| Line 5: | Line 5: | ||
|api=turtle | |api=turtle | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
| − | |desc=Drops | + | |desc=Drops all items in the first available slot, or if [count] is specified, drops that many items. |
|examples= | |examples= | ||
{{Example | {{Example | ||
| − | |desc=Drops | + | |desc=Drops all items in the first available slot, or if [count] is specified, drops that many items. |
|code=turtle.drop() | |code=turtle.drop() | ||
}} | }} | ||
}} | }} | ||
Revision as of 14:03, 3 July 2012
| Drops all items in the first available slot, or if [count] is specified, drops that many items. | |
| Syntax | turtle.drop() |
| Returns | nil |
| Part of | ComputerCraft |
| API | turtle |
Examples
| Drops all items in the first available slot, or if [count] is specified, drops that many items. | |
| Code |
turtle.drop() |