Script Function: Q4S3

From Ultima Online: The Second Age
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);
 }