SHARE
TWEET

Reaktor

a guest Jan 24th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.   local reactor1 = peripheral.wrap("BigReactors-Reactor_356")
  3.   local mon = peripheral.wrap("monitor_480")
  4.   mon.clear()
  5.  
  6.   -- Begin Reactor 1
  7.   --mon.setCursorPos(1,1)
  8.   --mon.setTextColor(colors.white)
  9.   --mon.write("Reactor #: ")
  10.   --mon.setTextColor(colors.lime)
  11.   --mon.write("1")
  12.  
  13.   mon.setCursorPos(1,1)
  14.   mon.setTextColor(colors.white)
  15.   mon.write("Active: ")
  16.   mon.setTextColor(colors.lime)
  17.   mon.write(reactor1.getActive())
  18.    
  19.   mon.setCursorPos(1,2)
  20.   mon.setTextColor(colors.white)
  21.   mon.write("RF/T: ")  
  22.   mon.setTextColor(colors.lime)
  23.   mon.write(math.floor(reactor1.getEnergyProducedLastTick()))
  24.  
  25.   mon.setCursorPos(1,3)
  26.   mon.setTextColor(colors.white)
  27.   mon.write("RF Stored: ")
  28.   mon.setTextColor(colors.lime)
  29.   mon.write(math.floor(reactor1.getEnergyStored()))
  30.  
  31.   mon.setCursorPos(1,4)
  32.   mon.setTextColor(colors.white)
  33.   mon.write("Casing Heat: ")
  34.   mon.setTextColor(colors.lime)
  35.   mon.write(math.floor(reactor1.getCasingTemperature()))
  36.  
  37.   mon.setCursorPos(1,5)
  38.   mon.setTextColor(colors.white)
  39.   mon.write("Fuel Heat: ")
  40.   mon.setTextColor(colors.lime)
  41.   mon.write(math.floor(reactor1.getFuelTemperature()))
  42.   -- End Reactor 1
  43.  
  44.    sleep(5)
  45. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top