Jump to content




Refuel Function?


  • You cannot reply to this topic
2 replies to this topic

#1 CitricThunder

  • Members
  • 33 posts

Posted 06 October 2012 - 01: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

#2 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 06 October 2012 - 01:50 AM

View Postcaptainprice12, on 06 October 2012 - 01:44 AM, said:

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. :(/>

#3 CitricThunder

  • Members
  • 33 posts

Posted 06 October 2012 - 01:51 AM

View PostOrwell, on 06 October 2012 - 01:50 AM, said:

View Postcaptainprice12, on 06 October 2012 - 01:44 AM, said:

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!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users