Script Function: Q4RX

From Ultima Online: The Second Age
Jump to: navigation, search
 function string Q4RX(int Q65M)
 {
   string Q5Y4;
   switch (Q65M)
   {
   case 0x2049
     Q5Y4 = "hair in two pigtails";
     break;
   case 0x2047
     Q5Y4 = "curly hair";
     break;
   case 0x2046
     Q5Y4 = "hair tied in buns";
     break;
   case 0x204A
     Q5Y4 = "shaved head and topknot";
     break;
   case 0x203C
     Q5Y4 = "hair worn long";
     break;
   case 0x2044
     Q5Y4 = "a mohawk hairstyle";
     break;
   case 0x203D
     Q5Y4 = "hair tied back";
     break;
   case 0x2045
     Q5Y4 = "pageboy hair";
     break;
   case 0x2048
     Q5Y4 = "receding hairline";
     break;
   case 0x203B
     Q5Y4 = "hair worn short";
     break;
   default
     Q5Y4 = "bald";
     break;
   }
   return (Q5Y4);
 }
 function string Q4RX(obj killer)
 {
   obj Q4UP = getItemAtSlot(killer, 0x0B);
   string Q5Y4;
   switch (getObjType(Q4UP))
   {
   case 0x2049
     Q5Y4 = "hair in two pigtails";
     break;
   case 0x2047
     Q5Y4 = "curly hair";
     break;
   case 0x2046
     Q5Y4 = "hair tied in buns";
     break;
   case 0x204A
     Q5Y4 = "shaved head and topknot";
     break;
   case 0x203C
     Q5Y4 = "hair worn long";
     break;
   case 0x2044
     Q5Y4 = "a mohawk hairstyle";
     break;
   case 0x203D
     Q5Y4 = "hair tied back";
     break;
   case 0x2045
     Q5Y4 = "pageboy hair";
     break;
   case 0x2048
     Q5Y4 = "receding hairline";
     break;
   case 0x203B
     Q5Y4 = "hair worn short";
     break;
   default
     Q5Y4 = "bald";
     break;
   }
   return (Q5Y4);
 }