Edited wiki page LuaAPI through web user interface.
--- a/LuaAPI.wiki Sun Sep 25 13:40:27 2011 +0000
+++ b/LuaAPI.wiki Sun Sep 25 13:44:46 2011 +0000
@@ -237,7 +237,10 @@
<blockquote>Returns the hat of the specified hedgehog gear
</blockquote>
+=== <tt>!GetAmmoCount(gearUid, ammoType) (0.9.16)</tt> ===
+<blockquote>Returns the ammo count of the specified ammo type for the specified hedgehog gear.
+</blockquote>
=== <tt>!GetGearTarget(gearUid, x, y) (0.9.16)</tt> ===
<blockquote>Returns the x and y coordinate of target-based weapons/utilities. <b> Note: </b>: This can't be used in onGearAdd() but must be called after gear creation.