Script Function: Q579

From Ultima Online: The Second Age
Revision as of 06:12, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q579(<span style="color:#0000FF">obj</span> user) { <span style="color:#0000FF">if<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q579(obj user)
 {
   if (getItemAtSlot(user, 0x19) != NULL())
   {
     systemMessage(user, "You can't mine while riding.");
     return ();
   }
   if (getObjType(user) < 0x0190)
   {
     systemMessage(user, "You can't mine while polymorphed.");
     return ();
   }
   animateMobile(user, 0x0B, 0x14, 0x01, 0x00, 0x00);
   shortCallback(this, 0x04, 0x73);
   return ();
 }