Advertisement
chand1012

Tekkit Reactor Monitor

Jul 18th, 2016
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. local reactor = peripheral.wrap("back")
  2. local monitor = peripheral.wrap("right")
  3. monitor.setCursorBlink(false)
  4. while true do
  5.     local fuel = reactor.getFuelAmount()
  6.     local fuel_temp = reactor.getFuelTemperature()
  7.     local casing_temp = reactor.getCasingTemperature()
  8.     local react = reactor.getFuelReactivity()
  9.     local on = reactor.getActive()
  10.    
  11.     monitor.write("Reactor on?: " .. on.tostring())
  12.     monitor.write("Amount of fuel in mB: " .. fuel.tostring())
  13.     monitor.write("Fuel temp in C: " .. fuel_temp.tostring())
  14.     monitor.write("Casing temp in C: " .. casing_temp.tostring())
  15.     monitor.write("Reaction Level: " .. react.tostring)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement