LuaAPI: fix onUsedAmmo explanation
authorWuzzy
Tue, 04 Apr 2017 16:19:25 +0100
changeset 947 155307e52864
parent 946 3ca13c637fd0
child 948 f86223a924c4
LuaAPI: fix onUsedAmmo explanation
LuaAPI.wiki
--- a/LuaAPI.wiki	Tue Apr 04 16:09:00 2017 +0100
+++ b/LuaAPI.wiki	Tue Apr 04 16:19:25 2017 +0100
@@ -344,7 +344,7 @@
 === <tt>onUsedAmmo(ammoType)</tt> (0.9.23) ===
 Called after a weapon has been used completely, with `ammoType` as the used ammo type.
 
-For example, it is called right after a bazooka is fired, when both shots of a shotgun have been fired. It is also called when using a multi-shot ammo has been aborted because this still uses up the ammo.
+For example, it is called right after a bazooka is fired, when both shots of a shotgun have been fired, when extra time is used, or when all 4 shots of a portable portal device have been fired. It is also called when using a multi-shot ammo has been aborted by changing the weapon selection mid-way, because this still uses up the ammo.
 
 === <tt>onHogHide(gearUid)</tt> (0.9.16) ===
 This function is called when a hedgehog with the gear ID `gearUid` is hidden (removed from the map).