Advertisement
Maxstripe

CC terminal glasses with hitlist

Jun 24th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. br = peripheral.wrap("top") --Terminal Glasses Bridge
  2.  
  3. function header() -- Prints the Display Name
  4. br.addText(25, 45, "Cammuno Bounty Hunters Hit List", 0x4FFF84)
  5. end
  6.  
  7. function Box() -- Adds the Outlines
  8. br.addGradientBox(3, 65, 200, 2, 0x0000FF, 1, 0x9C1919, 1, 2)
  9. br.addGradientBox(3, 110, 200, 2, 0x9C1919, 1, 0x000FF, 1, 2)
  10. end
  11.  
  12. function Time() -- Displays the Minecraft Time
  13. local time = os.time()
  14. time = textutils.formatTime(time, false)
  15. br.addText(5, 70, "The current Minecraft Time is:", 0x9C1919)
  16. br.addText(160, 70, time, 0x0000FF)
  17. end
  18.  
  19. function HITLIST() -- displays the HITLIST
  20. br.addText(5, 80, "HITLIST:", 0x0000FF)
  21. br.addText(50, 80, "jack2020 -cause y the hell not", 0x9C1919)
  22. br.addText(5, 100, "Snowie - cuase im a boss", 0x9C1919)
  23. br.addText(5, 120, "chungoman - cause hes an ass", 0x9C1919)
  24. end
  25.  
  26. function Update() -- Clears the screen and then reloads the display
  27. br.clear()
  28. -- aeItems()
  29. header()
  30. Box()
  31. Time()
  32. HITLIST()
  33. -- aePower()
  34. sleep(0.1)
  35. end
  36.  
  37. while true do
  38. Update()
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement