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.
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.