Sayomie550

Reactor Control 1.lua

Mar 31st, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.72 KB | None | 0 0
  1. --[[
  2. Reactor Controller V1.0
  3. --]]
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. print("Initialising Reactor Controller")
  7. print("")
  8. sleep(1)
  9. if peripheral.find("BigReactors-Reactor").getConnected == true then
  10.     term.clear()
  11.     term.setCursorPos(1,1)
  12.     print("Reactor Located")
  13.     sleep(1)
  14. else
  15.     while peripheral.find("BigReactors-Reactor").getConnected ~= true do
  16.         term.clear()
  17.         term.setCursorPos(1,1)
  18.         print("Reactor not located")
  19.         print("Check Reactor connection or construction")
  20.         sleep(1)
  21.     end
  22. end
  23.  
  24. --reactor1 = peripheral.wrap("BigReactors-Reactor_1")
  25. --storage1 = peripheral.wrap("capacitor_bank_0")
  26.  
  27. --local reactorPower1 =
  28. --local storagePower1 =
  29. --local totalStorage =
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36. --while true do
  37.  
  38. --end
Advertisement
Add Comment
Please, Sign In to add comment