Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- REACTOR PLUS
- -- (c) TheGlitch76 2019
- -- This project is licensed under MIT. See the LICENSE file at the project root
- -- for more information.
- local monitors = {peripheral.find("monitor")}
- -- TODO: Add suport for more monitors + reactors.
- local mon = monitors[1]
- local reactors = {peripheral.find("BigReactors-Reactor")}
- local banks = {peripheral.find("capacitorbank")}
- local bank = banks[1]
- -- --Init--
- -- Redirect anything involving terminal to the monitor
- term.redirect(mon)
- mon.clear()
- mon.setTextColor(colors.white)
- mon.setBackgroundColor(colors.black)
- print(bank.getEnergyStored)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement