GearTypes.wiki
changeset 1273 199ac349aefc
parent 1263 96a1f208b28e
child 1412 225635def24e
equal deleted inserted replaced
1272:4f93f837c427 1273:199ac349aefc
   119  * `Power`: Ammo count in an ammo or utility crate. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
   119  * `Power`: Ammo count in an ammo or utility crate. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
   120  * `Boom`: Explosion size and damage (default: 25)
   120  * `Boom`: Explosion size and damage (default: 25)
   121 
   121 
   122 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`.
   122 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`.
   123 
   123 
       
   124 It is not possible to get the ammo type contained in an ammo or utility crate. Note that random crate contents are determined when a hedgehog collects it, not before.
       
   125 
   124 Advanced crate types: If you just care about normal crates, the values 1, 2 and 4 mentioned above are all you need to know. But Hedgewars supports a few crate variants which can be spawned with `SpawnFakeAmmoCrate` and the like. The `Pos` parameter is in reality a sum of several flags which need to be added up for the final type.
   126 Advanced crate types: If you just care about normal crates, the values 1, 2 and 4 mentioned above are all you need to know. But Hedgewars supports a few crate variants which can be spawned with `SpawnFakeAmmoCrate` and the like. The `Pos` parameter is in reality a sum of several flags which need to be added up for the final type.
   125 || *Pos flag* || *Meaning* ||
   127 || *Pos flag* || *Meaning* ||
   126 || `0x1` || Ammo crate ||
   128 || `0x1` || Ammo crate ||
   127 || `0x2` || Health crate ||
   129 || `0x2` || Health crate ||
   128 || `0x4` || Utility crate ||
   130 || `0x4` || Utility crate ||