Advertisement
Terraxel

Core Client

Apr 9th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local monitor = peripheral.wrap("back")
  2.  
  3. rednet.open("top")
  4.  
  5. while true do
  6.  
  7.     id, received = rednet.receive();
  8.  
  9.     monitor.writeline("Energy in the core : " .. received.stored .. " RF")
  10.     monitor.writeline("Max. energy in the core : " .. received.max .. " RF")
  11.  
  12.     sleep(1000)
  13.  
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement