Script Function: Q4S3

From Ultima Online: The Second Age
Revision as of 16:28, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q4S3() { <span style="color:#0000FF">string</span> name; <span style="color:#...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function string Q4S3()
 {
   string name;
   if (Q454)
   {
     concat(name, "an active ");
   }
   else
   {
     concat(name, "an inactive ");
   }
   concat(name, "crystal of communication");
   concat(name, " with ");
   int Q4AX = Q42M();
   if (Q4AX < 0x00)
   {
     concat(name, "infinite");
   }
   else
   {
     name = name + Q4AX;
   }
   concat(name, " charges");
   int Q5EU = Q42O();
   if (Q5EU > 0x00)
   {
     concat(name, " and ");
     name = name + Q5EU;
     concat(name, " links");
   }
   return (name);
 }