Script Function: Q58K

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q58K(obj Q5AK, obj Q68S, string Q68D)
 {
   if (Q4X6(Q5AK, Q68S))
   {
     if (Q4TL(Q5AK))
     {
       string Q5CQ = "Your ";
       concat(Q5CQ, Q68D);
       concat(Q5CQ, "'s age and its contents have been refreshed.");
       systemMessage(Q68S, Q5CQ);
       string Q5AS;
       getCurrentTimeStr(Q5AS);
       setObjVar(Q5AK, "refreshtime", Q5AS);
       return (0x01);
     }
   }
   return (0x00);
 }