Difference between revisions of "Script Function: Q4CA"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4CA(<span style="color:#0000FF">obj</span> Q68D) { <span style="color:#0000FF">if</...") |
(No difference)
|
Latest revision as of 15:54, 12 October 2018
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); }