Script Function: Q4S7

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q4S7(obj user, loc place)
 {
   obj Q4D6 = getChunkEgg(place);
   int Q56Z = 0x00;
   int Q4Q1 = getResource(Q56Z, Q4D6, "metal", 0x03, 0x02);
   if (Q56Z <= 0x00)
   {
     systemMessage(user, "There is no metal here to mine.");
     return ();
   }
   setObjVar(this, "user", user);
   setObjVar(this, "mineLoc", place);
   removeCallback(this, 0x72);
   removeCallback(this, 0x73);
   Q579(user);
   return ();
 }