Script Function: Q4X3

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q4X3(obj Q5AK, int state)
 {
   string Q5N7;
   int myhousetype = getObjVar(Q5AK, "myhousetype");
   int Q5CT = Q4WW(myhousetype, state);
   int Q5NC = recycleMulti(Q5AK, Q5CT);
   if (Q5NC > 0x00)
   {
     setObjVar(Q5AK, "myhousestate", state);
   }
   return (Q5NC);
 }