Advertisement
MrSliff

reactor_control_server

Jan 20th, 2025 (edited)
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. rednet.open("right")
  2. reactors = {rednet.lookup("reactor")}
  3. local monitor = peripheral.find("monitor")
  4.  
  5. while true do
  6.     monitor.setCursorPos(1,1)
  7.     monitor.clearLine()
  8.     monitor.write("Reactors: ")
  9.     for i = 1,#reactors do
  10.         monitor.setCursorPos(1,i+1)
  11.         monitor.clearLine()
  12.         monitor.write(reactors[i])
  13.     end
  14.    
  15.     sleep(0.5)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement