Script Function: Q4S7

From Ultima Online: The Second Age
Revision as of 05:11, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4S7(<span style="color:#0000FF">obj</span> user, <span style="color:#0000FF">loc</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 ();
 }