Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local reactor = peripheral.wrap("fissionReactorLogicAdapter_1")
- local status = reactor.getStatus()
- function CheckRods()
- while true do
- temp1=reactor.getTemperature()
- if temp1 >= 1000 then
- reactor.scram()
- end
- sleep(1)
- print(temp1)
- end
- end
- CheckRods()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement