# HG changeset patch # User kyberneticist@gmail.com # Date 1330278206 0 # Node ID 08cc35ba4d34adab9ab522191410f1418cb655a3 # Parent 47363108b6b60091e3ddc33b5db8f0ee0f625cb4 Edited wiki page LuaAPI through web user interface. diff -r 47363108b6b6 -r 08cc35ba4d34 LuaAPI.wiki --- a/LuaAPI.wiki Sun Feb 26 17:39:27 2012 +0000 +++ b/LuaAPI.wiki Sun Feb 26 17:43:26 2012 +0000 @@ -102,7 +102,7 @@ <blockquote>This function is called when the game is initialized to request the available ammo and ammo probabilities. Use !SetAmmo here. </blockquote> -=== <tt>onNewAmmoStore(team index [or clan], hog index)</tt> === +=== <tt>onNewAmmoStore(team/clan index, hog index)</tt> === <blockquote>This function is identical to onAmmoStoreInit in function, but is called once per ammo store. This allows different ammo sets for each clan, team or hedgehog depending on the mode.</blockquote> If gfSharedAmmo is set, the parameters passed are the clan index, and -1, and the function will be called once for each clan.