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

turtle.trasnferFuel(<side>,<quantity>)

Started by BigSHinyToys, 31 August 2012 - 04:14 AM
BigSHinyToys #1
Posted 31 August 2012 - 06:14 AM
A function to transfuse RAW fuel from one turtle to another directly adjacent.

This could be done through peripheral calls example

peripheral.call("left","pushFuel",10) – transfers power to a turtle

and

peripheral.call("left","pullFuel",10) – removes power from a turtle

both would return true if the operation completed and false if it didn't

And possibly

turtle.lockFuel(true/false) – stops other turtle taking or giving power
turtle.lockInventory(true/false) – stops items being takes or given

[EDIT]
correction's made turtles store fuel no Power.
dan200 #2
Posted 31 August 2012 - 07:49 AM
What power?
KaoS #3
Posted 31 August 2012 - 08:05 AM
Fuel power I am guessing, so you can make one turtle hold all of the coal and then give energy to the other turtles
BigSHinyToys #4
Posted 31 August 2012 - 08:06 AM
turtles store fuel some how. That is what I have called "Power" obviously I have a misunderstanding of something.