Script Function: Q66C

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q66C(obj item)
 {
   int Q4Q1;
   string Q69U;
   string Q5C2;
   int Q664;
   Q4Q1 = getResource(Q664, item, "cloth", 0x03, 0x02);
   if (Q4Q1)
   {
     Q69U = Q664;
     Q5C2 = Q69U + " yards of cloth";
     setObjVar(item, "lookAtText", Q5C2);
   }
   else
   {
     Q4Q1 = getResource(Q664, item, "leather", 0x03, 0x02);
     if (Q4Q1)
     {
       Q69U = Q664;
       Q5C2 = Q69U + " yards of leather";
       setObjVar(item, "lookAtText", Q5C2);
     }
   }
   return ();
 }