Difference between revisions of "Script Function: Q4TF"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TF(<span style="color:#0000FF">obj</span> Q57Q) { <span style="color:#0000FF">int<...") |
(No difference)
|
Latest revision as of 18:44, 12 October 2018
function int Q4TF(obj Q57Q) { int Q63U = 0x00; list metal; clearList(metal); Q4S8(metal, Q57Q); for(int num = numInList(metal); num > 0x00; num--) { int Q56Z; int Q4Q1 = getResource(Q56Z, metal[0x00], "metal", 0x03, 0x02); Q63U = Q63U + Q56Z; removeItem(metal, 0x00); } return (Q63U); }