diff -r 04d82b673bc4 -r b10bef9ac535 LuaAPI.wiki --- 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 @@
Returns the hat of the specified hedgehog gear
+=== !GetAmmoCount(gearUid, ammoType) (0.9.16) === +
Returns the ammo count of the specified ammo type for the specified hedgehog gear. +
=== !GetGearTarget(gearUid, x, y) (0.9.16) ===
Returns the x and y coordinate of target-based weapons/utilities. Note: : This can't be used in onGearAdd() but must be called after gear creation.