Script Function: Q579

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