Script Function: Q4TG

From Ultima Online: The Second Age
Revision as of 05:13, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q4TG(<span style="color:#0000FF">int</span> Q4NJ) { <span style="color:#0000FF">s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function string Q4TG(int Q4NJ)
 {
   string name = "Britain";
   switch (Q4NJ)
   {
   case 0x00
     name = "Britain";
     break;
   case 0x01
     name = "Buccaneer's Den";
     break;
   case 0x02
     name = "Jhelom";
     break;
   case 0x03
     name = "Magincia";
     break;
   case 0x04
     name = "Minoc";
     break;
   case 0x05
     name = "Moonglow";
     break;
   case 0x06
     name = "Ocllo";
     break;
   case 0x07
     name = "Serpent's Hold";
     break;
   case 0x08
     name = "Skara Brae";
     break;
   case 0x09
     name = "Trinsic";
     break;
   case 0x0A
     name = "Vesper";
     break;
   case 0x0B
     name = "Yew";
     break;
   }
   return (name);
 }