Script Function: Q506

From Ultima Online: The Second Age
Revision as of 14:45, 12 October 2018 by Grimoric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q506(obj this)
 {
   list Q5XE;
   getObjectsInRange(Q5XE, getLocation(this), 0x0A);
   if (numInList(Q5XE) == 0x00)
   {
     if (0x00)
     {
       debugMessage("Nothing nearby to scavenge.");
     }
     return (0x00);
   }
   return (0x01);
 }
 function int Q506(obj this)
 {
   loc Q4VS = getLocation(this);
   int Q4QI = objIsInRange(Q4VS, 0x04);
   if (!Q4QI)
   {
     if (0x00)
     {
       debugMessage("Nothing nearby to scavenge.");
     }
     return (0x00);
   }
   return (0x01);
 }