Advertisement
Weastwood

Mekanism Fission Safety Stop

Sep 26th, 2022 (edited)
1,260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | Gaming | 0 0
  1. local reactor = peripheral.wrap("fissionReactorLogicAdapter_1")
  2. local status = reactor.getStatus()
  3.  
  4. function CheckRods()
  5.   while true do
  6. temp1=reactor.getTemperature()
  7.     if temp1 >= 1000 then
  8.       reactor.scram()
  9.     end
  10.     sleep(1)
  11.     print(temp1)
  12.   end
  13. end
  14. CheckRods()
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement