Sayomie550

Reactor Control 1.lua

Apr 1st, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 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.  
  10. reactor1 = peripheral.wrap("BigReactors-Reactor_1")
  11. storage1 = peripheral.wrap("capacitor_bank_0")
  12.  
  13. if reactor1 = true then
  14.     print("success")
  15. else
  16.     print("fail")
  17. end
  18.  
  19. local reactorPower1 = 0
  20. local reactorGeneration1 = 0
  21. local storagePower1 = 0
  22. local totalStorage = 0
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29. --while true do
  30.  
  31. --end
Advertisement
Add Comment
Please, Sign In to add comment