Advertisement
Guest User

startup

a guest
May 22nd, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. m = peripheral.wrap("monitor_0")
  2. cell = peripheral.wrap("cofh_thermalexpansion_energycell_2")
  3. cell2 = peripheral.wrap("cofh_thermalexpansion_energycell_3")
  4.  
  5.  
  6.  
  7.  
  8. while true do
  9.   m.clear()
  10.   m.setCursorPos(1,1)
  11.   term.clear()
  12.   term.setCursorPos(1,1)
  13.   energy = cell.getEnergyStored("unknown")+cell2.getEnergyStored("unknown")
  14.   print(energy)
  15.   m.write(energy)
  16.   sleep(1)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement