Script Function: Q51T

From Ultima Online: The Second Age
Revision as of 05:20, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q51T(<span style="color:#0000FF">obj</span> Q5NV, <span style="color:#0000FF">obj</span> u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q51T(obj Q5NV, obj user)
 {
   obj container = getItemAtSlot(user, 0x15);
   if (container == NULL())
   {
     return (0x01);
   }
   if (!isContainer(container))
   {
     return (0x01);
   }
   list Q51V;
   getContents(Q51V, Q5NV);
   int num = numInList(Q51V);
   for(int Q4EJ = 0x00; Q4EJ < num; Q4EJ++)
   {
     obj Q51R = Q51V[Q4EJ];
     int Q5NC = putObjContainer(Q51R, container);
   }
   Q51S(Q5NV, 0x00);
   systemMessage(user, "You open the keyring.");
   return (0x01);
 }