Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.45 KB | None | 0 0
  1. def Initialize() {
  2. $words = vector(
  3.     "Civilian", "Civ",
  4.     "Captain", "Cap",
  5.     "Head of Personnel", "HoP",
  6.     "Internal Affairs Agent", "IAA",
  7.     "Lawyer", "Lawyer",
  8.     "Public Defender", "Lawyer",
  9.     "Bartender", "Bar",
  10.     "Chef", "Chef",
  11.     "Cook", "Cook",
  12.     "Culinary Artist", "Chef",
  13.     "Butcher", "Butcher",
  14.     "Botanist", "Botany",
  15.     "Hydroponicist", "Botany",
  16.     "Quartermaster", "QM",
  17.     "Cargo Technician", "Cargo",
  18.     "Shaft Miner", "Miner",
  19.     "Spelunker", "Miner",
  20.     "Clown", "Clown",
  21.     "Mime", "Mime",
  22.     "Janitor", "Jani",
  23.     "Custodial Technician", "Jani",
  24.     "Librarian", "Lib",
  25.     "Journalist", "Journal",
  26.     "Barber", "Barber",
  27.     "Lawyer", "Law",
  28.     "Chaplain", "Chap",
  29.     "Chief Engineer", "CE",
  30.     "Station Engineer", "Engi",
  31.     "Maintenance Technician", "M-Tech",
  32.     "Engine Technician", "E-Tech",
  33.     "Electrician", "Elec",
  34.     "Atmospheric Technician", "Atmos",
  35.     "Life Support Specialist", "Atmos",
  36.     "Chief Medical Officer", "CMO",
  37.     "Medical Doctor", "MD",
  38.     "Surgeon", "Surg",
  39.     "Nurse", "Nurse",
  40.     "Chemist", "Chem",
  41.     "Pharmacist", "Pharma",
  42.     "Pharmacologist", "Pharma",
  43.     "Geneticist", "Gene",
  44.     "Virologist", "Viro",
  45.     "Pathologist", "Patho",
  46.     "Microbiologist", "Microb",
  47.     "Psychiatrist", "Psych",
  48.     "Psychologist", "Psych",
  49.     "Therapist", "Thera",
  50.     "Research Director", "RD",
  51.     "Scientist", "Sci",
  52.     "Xenoarcheologist", "Xenoarch",
  53.     "Anomalist", "Anomalist",
  54.     "Plasma Researcher", "P-Res",
  55.     "Roboticist", "Robo",
  56.     "Biomechanical Engineer", "Robo",
  57.     "Mechatronic Engineer", "Robo",
  58.     "Head of Security", "HoS",
  59.     "Warden", "Ward",
  60.     "Detective", "Det",
  61.     "Forensic Technician", "Det",
  62.     "Security Officer", "Sec",
  63.     "Customs Officer", "Customs",
  64.     "Brig Physician", "Brig Doc",
  65.     "AI", "AI",
  66.     "Cyborg", "Borg",
  67.     "Android", "Borg",
  68.     "Robot", "Borg",
  69.     "Personal AI", "pAI",
  70.     "Nanotrasen Representative", "NT Rep",
  71.     "Nanotrasen Recruiter", "NT Rec",
  72.     "Security Pod Pilot", "Sec Pod",
  73.     "Magistrate", "Magi",
  74.     "Blueshield", "Blues",
  75.     );
  76.    
  77.     $index = 1;
  78.   while($index <= length($words))
  79.  {
  80.   mem(at($words, $index), at($words, $index+1));
  81.   $index += 2;
  82.  }
  83. }
  84.  
  85. if(mem("initialized") != 1)
  86. {
  87.  Initialize();
  88.  mem("initialized", 1);
  89. }
  90.  
  91. $foo = "";
  92.  
  93. if(mem($job)) { $foo = mem($job); }
  94. else { $foo = substr($job, 1, 6); }
  95.  
  96. if (!find($source, "Unknown") && $job != "No id" && !find($source, " (as ")) {
  97. $source = $source + " (" + $foo + ")"; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement