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

Refuel Function?

Started by CitricThunder, 06 October 2012 - 12:44 AM
CitricThunder #1
Posted 06 October 2012 - 02:44 AM
Im trying to make a refuel function and was wondering if this will work.

function refuel(count)
  turtle.select(1)
  turtle.refuel(count)
end

And then to call it

refuel(1)

Thanks
Orwell #2
Posted 06 October 2012 - 02:50 AM
Im trying to make a refuel function and was wondering if this will work.

function refuel(count)
  turtle.select(1)
  turtle.refuel(count)
end

And then to call it

refuel(1)

Thanks

That should work perfectly. :(/>/>
CitricThunder #3
Posted 06 October 2012 - 02:51 AM
Im trying to make a refuel function and was wondering if this will work.

function refuel(count)
  turtle.select(1)
  turtle.refuel(count)
end

And then to call it

refuel(1)

Thanks

That should work perfectly. :(/>/>

Thanks!