Script Function: Q506

From Ultima Online: The Second Age
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);
 }