LuaAPI: Add AMMO_INFINITE
authorWuzzy
Tue, 04 Dec 2018 01:50:42 +0000
changeset 1658 65f6dd2bf801
parent 1657 899707a349b3
child 1659 86dd0386d825
LuaAPI: Add AMMO_INFINITE
LuaAPI.wiki
--- a/LuaAPI.wiki	Tue Dec 04 01:09:27 2018 +0000
+++ b/LuaAPI.wiki	Tue Dec 04 01:50:42 2018 +0000
@@ -558,7 +558,7 @@
 Returns the name of the voicepack of the team of the specified hedgehog gear.
 
 === <tt>!GetAmmoCount(gearUid, ammoType)</tt> ===
-Returns the ammo count of the specified ammo type for the specified hedgehog gear.
+Returns the ammo count of the specified ammo type for the specified hedgehog gear. If infinite, returns `AMMO_INFINITE`.
 
 === <tt>!GetAmmoTimer(gearUid, ammoType)</tt> (0.9.25) ===
 Returns the currently configured ammo timer (in milliseconds) for the given hedgehog gear and specified ammo type. This is the timer which is set by the player by using the timer keys (1-5). For ammo types for which the timer cannot be changed, `nil` is returned.