darearkin

Untitled

Apr 7th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. while true do
  4. c = colors.combine(colors.green, colors.gray, colors.red, colors.white, colors.black, colors.blue)
  5. rs.setBundledOutput("right",c)
  6. term.clear()
  7. term.setCursorPos(1,1)
  8. print("**************************************************")
  9. print("*****  Vault-Tek  Radiological Research Lab  *****")
  10. print("**************************************************")
  11. i = 4
  12. repeat
  13. term.setCursorPos(1,i)
  14. print("*****                                        *****")
  15. i = 1 + i
  16. until i == 16
  17. print("**************************************************")
  18. print("*****                                        *****")
  19. print("**************************************************")
  20. term.setCursorPos(7,6)
  21. print("[1] Specimen 001 'Creeper'")
  22. term.setCursorPos(7,7)
  23. print("[2] Specimen 002 'Skeleton'")
  24. term.setCursorPos(7,8)
  25. print("[3] Specimen 003 'Zombie'")
  26. term.setCursorPos(7,9)
  27. print("[4] Specimen 004 'Slime'")
  28. term.setCursorPos(7,10)
  29. print("[5] Specimen 005 'Cave Spider'")
  30. term.setCursorPos(7,11)
  31. print("[6] Specimen 006 'Spider'")
  32. term.setCursorPos(7,13)
  33. print("[7] EMERGENCY SPECIMEN PURGE SYSTEM")
  34. term.setCursorPos(6,17)
  35. print(" Enter Selection: ")
  36. term.setCursorPos(24,17)
  37. input = read()
  38. if input == "7" then
  39. rs.setOutput("top", true)
  40. rs.setBundledOutput("right", 0)
  41. rs.setBundledOutput("right", colors.cyan)
  42. sleep (60)
  43. rs.setOutput("top", false)
  44. rs.setBundledOutput("right",0)
  45. if input == "1"
  46. c = colors.subtract(colors.green)
  47. rs.setBundledOutput("right",c)
  48. sleep (10)
  49. end
  50. if input == "2"
  51. c = colors.subtract(colors.red)
  52. rs.setBundledOutput("right",c)
  53. sleep (10)
  54. end
  55. if input == "3"
  56. c = colors.subtract(colors.gray)
  57. rs.setBundledOutput("right",c)
  58. sleep (10)
  59. end
  60. if input == "4"
  61. c = colors.subtract(colors.white)
  62. rs.setBundledOutput("right",c)
  63. sleep (10)
  64. end
  65. if input == "5"
  66. c = colors.subtract(colors.blue)
  67. rs.setBundledOutput("right",c)
  68. sleep (10)
  69. end
  70. if input == "6"
  71. c = colors.subtract(colors.black)
  72. rs.setBundledOutput("right",c)
  73. sleep (10)
  74. end
  75. end
Advertisement
Add Comment
Please, Sign In to add comment