chand1012

reactor optimal temperature

Aug 17th, 2020
1,577
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local reactor = peripheral.wrap("back")
  2.  
  3. while true do
  4.  local temp = reactor.getFuelTemperature()
  5.  if temp > 999 then
  6.   reactor.setActive(false)
  7.  else
  8.   reactor.setActive(true)
  9.  end
  10. end
RAW Paste Data