Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  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("capacitorbank")}
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement