GearTypes: Fix syntax of gtCase examples
authorWuzzy
Wed, 27 Apr 2016 00:33:03 +0100
changeset 882 0a5904d7ae7a
parent 881 ab6bd4812ca4
child 883 54d163c108c1
GearTypes: Fix syntax of gtCase examples
GearTypes.wiki
--- a/GearTypes.wiki	Wed Apr 27 00:23:09 2016 +0100
+++ b/GearTypes.wiki	Wed Apr 27 00:33:03 2016 +0100
@@ -108,7 +108,7 @@
 ==== `gtCase` ====
 An ammo, utility, health or even a fake crate.
 
-If the crate has just been collected, the gear state flag `gmDestroy` will be set before `onGearDelete` is called.
+If the crate has just been collected, the gear message flag `gmDestroy` will be set before `onGearDelete` is called.
 
  * `Pos`: Crate type: 1=ammo crate, 2=health crate, 4=utility crate (also see below)
  * `Tag`: Used for the appear animation
@@ -117,7 +117,7 @@
 
 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`. Also note that `SpawnAmmoCrate` and `SpawnUtilityCrate` are the only way to set a crate's ammo in Lua, it can not be changed or read afterwards.
 
-Advanced crate types: If you just care about normal crates, the values 1, 2 and 4 mentioned above are all you need to know. 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.
+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 ||
 || `0x2` || Health crate ||
@@ -129,9 +129,10 @@
 All crates *must* have exactly one of the flags `0x1`, `0x2` or `0x4` set. Everything else can be combined at will.
 
 Examples:
-* Pos = 0x1: Ammo crate
-* Pos = 0x9: Fake ammo crate (0x1 + 0x8)
-* Pos = 0x2A: Fake health crate with poison trap (0x2 + 0x8 + 0x20)
+
+ * Pos = 0x1: Ammo crate
+ * Pos = 0x9: Fake ammo crate (0x1 + 0x8)
+ * Pos = 0x2A: Fake health crate with poison trap (0x2 + 0x8 + 0x20)
 
 ==== `gtExplosives` ====
 An explosive barrel. It has its own invisible health, like a hedgehog. On low health levels smoke comes out of the barrel.