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

Sucking specific amount using turtle.suck(amount)

Started by RepeaterCreeper, 16 August 2014 - 12:59 AM
RepeaterCreeper #1
Posted 16 August 2014 - 02:59 AM
Uhhh, I just wanted to know if turtle.suck(amount) existed within computercraft. Cause a person from a server said it did and I checked the wiki and never actually said anything about arguments for the method turtle.suck(). So I didn't believe it and I asked another person on the server the [Co-Owner] and he said it did and so I was shocked and decided to ask the community if it "really" did exist. I already asked IRC one person said it never did but I just want to confirm. Thank you!
Bomb Bloke #2
Posted 16 August 2014 - 03:10 AM
As of ComputerCraft 1.6, you should indeed be able to specify a limit to the amount of items to suck.
theoriginalbit #3
Posted 16 August 2014 - 04:30 AM
Are you sure you checked the ComputerCraft wiki? I'm definitely seeing it state the amount argument on the Turtle API page as well as the turtle.suck page.
Bomb Bloke #4
Posted 16 August 2014 - 04:43 AM
I added that detail to those pages immediately after posting here. My bad, I should've mentioned it.
Edited on 16 August 2014 - 02:47 AM
theoriginalbit #5
Posted 16 August 2014 - 04:50 AM
Ah, that makes sense! I should have looked at the history, haha!