Advertisement
Guest User

test

a guest
Apr 23rd, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. local reactor= peripheral.wrap("BigReactors-Reactor_0")
  2. local wl = peripheral.wrap("back")
  3. wl.open(199)
  4.  
  5. term.clear()
  6.  
  7. while true do
  8.   term.setCursorPos(1,1)
  9.   term.setTextColor(colors.white)
  10.   term.write("Active: ")
  11.   term.setTextColor(colors.lime)
  12.   term.write(math.floor(reactor.getCasingTemperature()))
  13.   wl.transmit(199,199,math.floor(reactor.getCasingTemperature()).." ok "..math.floor(reactor.getCasingTemperature()))
  14.  
  15.  
  16.   sleep(0.5)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement