This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
thedriver87's profile picture

Bug? Or Am I Missing Something?

Started by thedriver87, 18 November 2013 - 03:59 AM
thedriver87 #1
Posted 18 November 2013 - 04:59 AM
while working with the turtles I have attempted to use the turtle.dig() method and not gather the blocks using the turtle.suck command. am I missing something here because the blocks are still gathered when digging? is the suck command just used for collecting things from the world that are not blocks? therefore i must make the turtle reject what its gathering if i wish it to not keep the blocks?
Bomb Bloke #2
Posted 18 November 2013 - 05:02 AM
Yep, per the documentation, digging sucks automatically.
theoriginalbit #3
Posted 18 November 2013 - 05:03 AM
To expand on Bomb Bloke, the turtle will always gather the blocks or any items it drops when it has space for the item in its inventory, otherwise it will drop them on the ground. turtle.suck is designed to pick items up off the ground or take them from an inventory. If you do not want an item use turtle.drop to have the turtle drop the item onto the ground.
Edited on 18 November 2013 - 04:04 AM
distantcam #4
Posted 18 November 2013 - 05:31 AM
digging sucks

Yes, yes it does. :D/>
thedriver87 #5
Posted 20 November 2013 - 01:33 AM
thanks for all the help gents. I hope to be posting my program soon!