GearTypes: special value for infinite ammo
authorWuzzy
Thu, 21 Sep 2017 00:18:41 +0100
changeset 1028 87a758104dea
parent 1027 e50238cb0131
child 1029 958b671fe4d0
GearTypes: special value for infinite ammo
GearTypes.wiki
--- a/GearTypes.wiki	Thu Sep 21 00:09:36 2017 +0100
+++ b/GearTypes.wiki	Thu Sep 21 00:18:41 2017 +0100
@@ -114,7 +114,7 @@
  * `Pos`: Crate type: 1=ammo crate, 2=health crate, 4=utility crate (also see below)
  * `Tag`: Used for the appear animation
  * `Health`: Amount of health contained in a health crate
- * `Power`: Ammo count in an ammo or utility crate. 0 = Use weapon scheme default (default: 0)
+ * `Power`: Ammo count in an ammo or utility crate. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
  * `Boom`: Explosion size and damage (default: 25)
 
 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`.
@@ -567,7 +567,7 @@
 Used to add some weapon or utilty to a hedgehog. The gear is added when a crate ([GearTypes#gtCase `gtCase`]) has been collected.
 
  * `Pos`: Ammo classification: 1=weapon, 4=utility
- * `Power`: Ammo count. 0 = Use weapon scheme default (default: 0)
+ * `Power`: Ammo count. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
 
 ==== `gtATStartGame` ====
 This gear is created to mark the beginning of the game. It will cause a ticker message to be displayed (“Let's fight!”) and sets some internal stuff.