Advertisement
Guest User

e

a guest
Nov 26th, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. p = peripheral.wrap("left")
  2. p.clear()
  3. function Main()
  4.  while true do
  5.   t = os.time()
  6.   d = (textutils.formatTime(t,false))
  7.   p.clear()
  8.   box = p.addBox(4,30,100.00345,5,0xCD0000,0.5)
  9.   text = p.addText(5,5,d,0xFFFFFF)
  10.   text = p.addText(5,15,"Eu Storage.",0xFFFFFF)
  11.   network = peripheral.wrap("back")
  12.   E = network.callRemote("mfsu_1","getEUStored")
  13.   E = E / 40000000*100
  14.   box = p.addBox(4,30,E,5,0x76EE00,1)
  15.   sleep(1)
  16.  end
  17. end
  18.  
  19. function HUDreload()
  20.  p.clear()
  21.  os.reboot()
  22. end
  23.  
  24. while true do
  25.  f = 0
  26.  Main()
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement