Difference between revisions of "Turtle.place"

From ComputerCraft Wiki
Jump to: navigation, search
(Im gonna pop some tags only got $20 in my pocket. i-i-im hunting for a come-up. this is FUCKing awesome.)
m (Reverted edits by 93.174.93.145 (talk) to last revision by AfterLifeLochie)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
{{Function
 
{{Function
|name=turtle%2Eplace
+
|name=turtle.place
 
|args=
 
|args=
 
|api=turtle
 
|api=turtle
 
|addon=ComputerCraft
 
|addon=ComputerCraft
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in placing the block.  False if selected slot is empty, the space is protected, or if there is already a block in front.
+
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in placing the block.  False if selected slot is empty, or if there is already a block in front.
 
|desc=Places the selected block in front of the Turtle. Add [signText] to sign if given.
 
|desc=Places the selected block in front of the Turtle. Add [signText] to sign if given.
 
|examples=
 
|examples=

Revision as of 17:18, 4 December 2012


Grid Redstone.png  Function turtle.place
Places the selected block in front of the Turtle. Add [signText] to sign if given.
Syntax turtle.place()
Returns boolean whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block in front.
Part of ComputerCraft
API turtle

Examples

Grid paper.png  Example
Places the selected block in front of the Turtle.
Code
turtle.place()