Difference between revisions of "Script Function: Q5VP"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5VP() { <span style="color:#0000FF">int</span> Q5L0 = Q5JY[0x00]; <span style=...") |
(No difference)
|
Latest revision as of 18:54, 12 October 2018
function void Q5VP() { int Q5L0 = Q5JY[0x00]; if (Q5L0 > getGeneric(Q4FQ, Q5LP)) { systemMessage(Q4FQ, "You ran out of " + getNameByType(Q5LP) + "."); Q4FQ = NULL(); return (); } destroyGeneric(Q4FQ, Q5LP, Q5L0); actionBark(Q4FQ, 0x22, "*You start grinding some " + getNameByType(Q5LP) + " in the mortar.*", "*" + getName(Q4FQ) + " starts grinding some " + getNameByType(Q5LP) + " in a mortar.*"); sfx(getLocation(Q4FQ), 0x0242, 0x00); shortCallback(this, 0x0B, 0x5A); return (); }