popatop15

Untitled

Oct 24th, 2020 (edited)
1,281
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local senderId = 0
  2. local m = peripheral.wrap("top")
  3.  
  4. rednet.open("back")
  5.  
  6. m.setCursorPos(1,1)
  7. m.setTextScale(0.7)
  8. m.clear()
  9.  
  10. while true do
  11.     local id, status = rednet.receive()
  12.     if id == senderId then
  13.         m.setCursorPos(1,1)
  14.         m.write("Turbine status ... " .. status.turbine.status)
  15.         m.setCursorPos(1,2)
  16.         m.write("Reactor status ... " .. status.reactor.status)
  17.     end
  18.     sleep(2)
  19. end
RAW Paste Data