Script Function: Q4A0

From Ultima Online: The Second Age
Revision as of 05:16, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4A0(<span style="color:#0000FF">obj</span> user, <span style="color:#0000FF">obj</span> u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4A0(obj user, obj usedon)
 {
   int item = getObjType(usedon);
   if ((0x0E40 <= item) && (item <= 0x0E43))
   {
     if (!hasObjVar(usedon, "isLocked"))
     {
       return (0x01);
     }
   }
   return (0x00);
 }