GearTypes: add gtCreeper, update gtDuck
authorWuzzy
Mon, 03 Dec 2018 23:03:05 +0000
changeset 1633 4d62b31cddef
parent 1632 4c982152eb2e
child 1634 a6d82ff035cf
GearTypes: add gtCreeper, update gtDuck
GearTypes.wiki
--- a/GearTypes.wiki	Mon Dec 03 22:59:29 2018 +0000
+++ b/GearTypes.wiki	Mon Dec 03 23:03:05 2018 +0000
@@ -48,6 +48,7 @@
 || [GearTypes#gtBlowTorch `gtBlowTorch`] || Blowtorch ||
 || [GearTypes#gtClusterBomb `gtClusterBomb`] || Cluster bomb ||
 || [GearTypes#gtCake `gtCake`] || Cake ||
+|| [GearTypes#gtCreeper `gtCreeper`] || Creeper (unfinished weapon) ||
 || [GearTypes#gtDEagleShot `gtDEagleShot`] || Shot from a Desert Eagle ||
 || [GearTypes#gtDrill `gtDrill`] || Drill rocket ||
 || [GearTypes#gtDuck `gtDuck`] || Rubber duck (*deprecated*) ||
@@ -325,6 +326,9 @@
  * `Health`: Remaining walking time, default is 2048. Note: the cake uses its own time unit.
  * `Boom`: Explosion size and damage. Default: 75
 
+==== `gtCreeper` ====
+Used for an unfinished weapon that is internally known as the “Creeper”.
+
 ==== `gtDEagleShot` ====
 A shot from a Desert Eagle.
 
@@ -341,26 +345,9 @@
  * `Boom`: Explosion size and damage. Default: 50 for launched drill rocket, 30 for drill rocket from drill strike
 
 ==== `gtDuck` ====
-This gear type is *deprecated*, it will be removed in a future version. Do not use it for new scripts!
-
-A rubber duck, added in 0.9.23. Explodes on collision. Swims on water and is affected by wind as soon it is on the water. It is also able to swim on the Sea edges, it simply turns around by 90 degrees. It also has a timer to avoid the duck existing forever.
+This gear type is *deprecated*, it will be removed in a future version. Do not use it.
 
- * `Pos`: The movement state. `0` when in air, between `1` and `4` when swimming, between `5` and `8` when underwater
-  * `0`: In air
-  * `1`: Swimming on the bottom water
-  * `2`: Swimming on the bottom water (mirrored)
-  * `3`: Swimming on the left Sea edge
-  * `4`: Swimming on the right Sea edge
-  * `5`: Underwater in the bottom water
-  * `6`: Underwater in the bottom water (mirrored)
-  * `7`: Underwater in the left Sea edge
-  * `8`: Underwater in the right Sea edge
- * `Tag`: Facing direction. `1` for right, `-1` for left.
- * `Timer`: Detonation timer (in ms), starts after dropping. Default: 15000
- * `Boom`: Explosion size and damage. Default: 40
- * `Damage`: Speed factor when swimming on water, multiplied with wind speed. Default: 500
- * `Karma`: Distance from water when swimming. Default: 24
- * `Radius`: Collision radius. Default: 9
+In version 0.9.25, this is just an alias to `gtCreeper`.
 
 ==== `gtDynamite` ====
 A dynamite.
@@ -606,7 +593,7 @@
 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.
 
 ==== `gtATFinishGame` ====
-This gear is created at the end of the game. The gear itself will fade out the screen and cause the game to be closed. Note: If you want to end the game early, we recommend to call the `EndGame` function instad of using this gear.
+This gear is created at the end of the game. The gear itself will fade out the screen and cause the game to be closed. Note: If you want to end the game early, we recommend to call the `EndGame` function instead of using this gear.
 
  * `Timer`: Fade-out countdown in milliseconds. Fade-out begins at 1000 and finishes at 0.