GearTypes: crate contents
Tue, 27 Mar 2018 19:11:58 +0100
changeset 1273 199ac349aefc
parent 1272 4f93f837c427
child 1274 8c5925c4d6f0
GearTypes: crate contents
--- a/	Thu Mar 22 19:48:55 2018 +0000
+++ b/	Tue Mar 27 19:11:58 2018 +0100
@@ -121,6 +121,8 @@
 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`.
+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.
 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.
 || *Pos flag* || *Meaning* ||
 || `0x1` || Ammo crate ||