# HG changeset patch # User RedGrinner@gmail.com # Date 1316958286 0 # Node ID b10bef9ac535419f03d3de6dfc6f82d799630e1e # Parent 04d82b673bc420a2295397a2eec683f765423f7d Edited wiki page LuaAPI through web user interface. 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.