Script Function: Q5IH

From Ultima Online: The Second Age
Revision as of 17:41, 12 October 2018 by Grimoric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q5IH(obj Q68S, obj item, string Q56O)
 {
   obj Q5HA = getBackpack(Q68S);
   string Q5AI = Q56O;
   if (isValid(Q5HA) && canHold(Q5HA, item))
   {
     concat(Q5AI, " in your backpack.");
     int Q527 = putObjContainer(item, Q5HA);
   }
   else
   {
     concat(Q5AI, " at your feet.");
   }
   systemMessage(Q68S, Q5AI);
   return ();
 }
 function void Q5IH(obj Q68S, obj item, string Q56O)
 {
   obj Q5HA = getBackpack(Q68S);
   string Q5AI = Q56O;
   if (isValid(Q5HA) && canHold(Q5HA, item))
   {
     concat(Q5AI, " in your backpack.");
     int Q527 = putObjContainer(item, Q5HA);
   }
   else
   {
     concat(Q5AI, " at your feet.");
   }
   systemMessage(Q68S, Q5AI);
   return ();
 }