SHARE
TWEET

Untitled

a guest Jan 19th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- REACTOR PLUS
  2. -- (c) TheGlitch76 2019
  3. -- This project is licensed under MIT. See the LICENSE file at the project root
  4. -- for more information.
  5.  
  6. local monitors = {peripheral.find("monitor")}
  7. -- TODO: Add suport for more monitors + reactors.
  8. local mon = monitors[1]
  9. local reactors = {peripheral.find("BigReactors-Reactor")}
  10. local banks = {peripheral.find("capacitor_bank")}
  11. local bank = banks[1]
  12.  
  13. -- --Init--
  14.  
  15. -- Redirect anything involving terminal to the monitor
  16. term.redirect(mon)
  17. mon.clear()
  18. mon.setTextColor(colors.white)
  19. mon.setBackgroundColor(colors.black)
  20. print(bank.getEnergyStored)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top