Difference between revisions of "Turtle.drop"

From ComputerCraft Wiki
Jump to: navigation, search
Line 12: Line 12:
 
}}
 
}}
 
}}
 
}}
 +
Note: This will NOT always respect the current slot!

Revision as of 14:06, 3 July 2012


Grid Redstone.png  Function turtle.drop
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

Grid paper.png  Example
Drops all items in the first available slot, or if [count] is specified, drops that many items.
Code
turtle.drop()


Note: This will NOT always respect the current slot!