list = peripheral.call("interfaceName", "getMethods") -- replace interfaceName with proper name of reactor component reported in your chat log when you activated its modem
file = fs.open("methods", "w")
file.write(textutils.serialize(list))
file.close()
swapStacks(from,to,fromDirection?,fromDirection?)
getHeat()
getInventoryName()
destroyStack(slotNumber)
pushItem(direction,slot,maxAmount?,intoSlot?)
getAdvancedMethodsData()
getInventorySize()
getEUOutput()
pushItemIntoSlot(direction,slot,maxAmount?,intoSlot?)
isActive()
getStackInSlot(slotNumber)
getTankInfo(direction)
getAllStacks()
listMethods()
pullItem(direction,slot,maxAmount?,intoSlot?)
getMaxHeat()
condenseItems()
pullItemIntoSlot(direction,slot,maxAmount?,intoSlot?)
isValid()
local function depletedFuel()
return redstone.getInput("back")
end
local x
local reactor = peripheral.wrap("top")
local chest = "south"
local slot = { 9, 10, 13, 14, 17, 18,
21, 22, 25, 26, 29, 30,
33, 34, 37, 38}
while true do
if depletedFuel() then
--sleep(10)
for x=1, #slot do
turtle.select(16)
reactor.pushItemIntoSlot(chest, slot[x])
print(slot[x])
end
else
print("Idling")
end
sleep(1)
end