Difference between revisions of "Turtle.drop"

From ComputerCraft Wiki
Jump to: navigation, search
(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 everything of the selected Slot or the specified amount.
+
|desc=Drops all items in the first available slot, or if [count] is specified, drops that many items.
 
|examples=
 
|examples=
 
{{Example
 
{{Example
|desc=Drops everything of the selected Slot or the specified amount.
+
|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


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()