Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Reactor Controller V1.0
- --]]
- --[[
- term.clear()
- term.setCursorPos(1,1)
- print("Initialising Reactor Controller")
- print("")
- sleep(1)
- reactor1 = peripheral.wrap("BigReactors-Reactor_1")
- storage1 = peripheral.wrap("capacitor_bank_0")
- if reactor1() = true then
- print("success")
- else
- print("fail")
- end
- local reactorPower1 = 0
- local reactorGeneration1 = 0
- local storagePower1 = 0
- local totalStorage = 0
- --]]
- term.clear()
- term.setCursorPos(1,1)
- local periList = peripheral.getNames()
- for i = 1, #periList do
- print(""..peripheral.getType(periList[i]).." attached as \""..periList[i].."\".")
- end
- --while true do
- --end
Advertisement
Add Comment
Please, Sign In to add comment