4 posts
Posted 26 October 2012 - 06:19 PM
i cant get my turtle to take items from a chest and i have tried evrything. plz help.
here is the code
Edit: finally got it work thank you.
Spoiler
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
turtle.forward()
turtle.turnLeft()
turtle.suck() –this is where i want the turtle to take item from chest
turtle.turnRight()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
i cant get my turtle to take items from a chest and i have tried evrything. plz help.
here is the code
Spoiler
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
turtle.forward()
turtle.turnLeft()
turtle.suck() –this is where i want the turtle to take item from chest
turtle.turnRight()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.forward()
turtle.turnRight()
136 posts
Posted 26 October 2012 - 06:21 PM
4 posts
Posted 26 October 2012 - 06:26 PM
i have already tried that it wont work
136 posts
Posted 26 October 2012 - 06:29 PM
Do you get an error message? If so, what is it?
Try doing
print(turtle.suck())
And tell us what the output is.
Is there a chest directly in front of the turtle?
Is there something in the chest?
Does the turtle have room for it?
4 posts
Posted 26 October 2012 - 06:39 PM
i dont get an output when i add that to the code
no i do not get an error message
and yes for the last three questions
136 posts
Posted 26 October 2012 - 06:59 PM
Hmm… I am not sure what is happening here. It sounds a bit like the mod isn't functioning properly. You may want to check that you have the proper verions of Minecraft, Forge, CC, and Java installed.
In addition, if you type in simply
print("Hello")
Do you get any output?
If not, then I would lean towards checking your versions and doing a re-installation of the mod(s), but I do not have a full understanding of what could cause this.
4 posts
Posted 26 October 2012 - 07:12 PM
thnx
2005 posts
Posted 26 October 2012 - 07:52 PM
There are three suck commands, turtle.suck, turtle.suckUp,, and turtle.suckDown, You may need to change where the chest you want to access is relative to the turtle. Also check your version, suck is a new command.
1548 posts
Location
That dark shadow under your bed...
Posted 26 October 2012 - 08:07 PM
I have an idea lol. I bet you're using tekkit right. what version of CC are you on??
200 posts
Location
Scotland
Posted 27 October 2012 - 01:01 PM
I have an idea lol. I bet you're using tekkit right. what version of CC are you on??
Tekkit to my knowledge is currently running cc 1.3.3 :D/>/>
1548 posts
Location
That dark shadow under your bed...
Posted 27 October 2012 - 01:41 PM
which doesn't support chest interaction