Script Function: Q4CA
From Ultima Online: The Second Age
function int Q4CA(obj Q68D) { if (Q4ZY(Q68D)) { Q5AM = Q5AM + getQuantity(Q68D); if (Q5AM > 0x00013880) { return (0x01); } } if (Q4Z6(Q68D)) { Q5AC = Q5AC + getQuantity(Q68D); if (Q5AC > 0x00061A80) { return (0x01); } } if (Q4ZE(Q68D)) { Q5AE = Q5AE + getQuantity(Q68D); if (Q5AE > 0x2710) { return (0x01); } } if (isContainer(Q68D)) { list Q4E4; getContents(Q4E4, Q68D); if (Q4CB(Q68D, Q4E4)) { return (0x01); } } return (0x00); }