Script Function: Q66C

From Ultima Online: The Second Age
Revision as of 22:04, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q66C(<span style="color:#0000FF">obj</span> item) { <span style="color:#0000FF">int...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 ();
 }