Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- reactor = peripheral.find("draconic_reactor")
- --gate = peripheral.find("flux_gate")
- function NotStop()
- reactor.stopReactor()
- end
- while true do
- info = reactor.getReactorInfo()
- term.clear()
- term.setCursorPos(1,1)
- print(info["status"])
- if info["status"] == "online" then
- print(info["temperature"]," ",info["fieldStrength"])
- if (info["temperature"] > 8000) or (info["fieldStrength"] < 15000000) then
- NotStop()
- end
- end
- os.sleep(0.2)
- end
- read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement