16 This is a short overview and a brief description of all gears. |
16 This is a short overview and a brief description of all gears. |
17 |
17 |
18 === Land objects === |
18 === Land objects === |
19 || *Gear type* || *Description* || |
19 || *Gear type* || *Description* || |
20 || [GearTypes#gtCase `gtCase`] || An ammo, utility or health crate || |
20 || [GearTypes#gtCase `gtCase`] || An ammo, utility or health crate || |
21 || `gtExplosives` || An explosive barrel || |
21 || [GearTypes#gtExplosives `gtExplosives`] || An explosive barrel || |
22 || `gtFlake` || A snowflake or a land spray flake || |
22 || [GearTypes#gtFlake `gtFlake`] || A snowflake or a land spray flake || |
23 || `gtFlame` || A flame || |
23 || [GearTypes#gtFlame `gtFlame`] || A flame || |
24 || `gtGrave` || A grave || |
24 || [GearTypes#gtGrave `gtGrave`] || A grave || |
25 || `gtHedgehog` || A hedgehog || |
25 || [GearTypes#gtHedgehog `gtHedgehog`] || A hedgehog || |
26 || `gtPortal` || A portal from the portable portal device || |
26 || [GearTypes#gtPortal `gtPortal`] || A portal from the portable portal device || |
27 || `gtTarget` || A target || |
27 || [GearTypes#gtTarget `gtTarget`] || A target || |
28 |
28 |
29 === Utilities === |
29 === Utilities === |
30 || *Gear type* || *Description* || |
30 || *Gear type* || *Description* || |
31 || `gtGirder` || An attempt to place a construction or rubber || |
31 || [GearTypes#gtGirder `gtGirder`] || An attempt to place a construction or rubber || |
32 || `gtJetpack` || A flying saucer || |
32 || [GearTypes#gtJetpack `gtJetpack`] || A flying saucer || |
33 || `gtLandGun` || The land spray tool || |
33 || [GearTypes#gtLandGun `gtLandGun`] || The land spray tool || |
34 || `gtParachute` || A parachute || |
34 || [GearTypes#gtParachute `gtParachute` || A parachute || |
35 || `gtResurrector` || Resurrection || |
35 || [GearTypes#gtResurrector `gtResurrector`] || Resurrection || |
36 || `gtRope` || A rope || |
36 || [GearTypes#gtRope `gtRope`] || A rope || |
37 || `gtSwitcher` || Switch hedgehog || |
37 || [GearTypes#gtSwitcher `gtSwitcher`] || Switch hedgehog || |
38 || `gtTardis` || A !TimeBox || |
38 || [GearTypes#gtTardis `gtTardis`] || A !TimeBox || |
39 || `gtTeleport` || Teleportation || |
39 || [GearTypes#gtTeleport `gtTeleport`] || Teleportation || |
40 |
40 |
41 === Weapons and main projectiles === |
41 === Weapons and main projectiles === |
42 || *Gear type* || *Description* || |
42 || *Gear type* || *Description* || |
43 || `gtAirAttack` || The airplane of an airborne attack || |
43 || [GearTypes#gtAirAttack `gtAirAttack`] || The airplane of an airborne attack || |
44 || `gtAirMine` || An air mine || |
44 || [GearTypes#gtAirMine `gtAirMine`] || An air mine || |
45 || `gtBallGun` || A ballgun || |
45 || [GearTypes#gtBallGun `gtBallGun`] || A ballgun || |
46 || `gtBee` || Homing bee || |
46 || [GearTypes#gtBee `gtBee`] || Homing bee || |
47 || `gtBirdy` || Birdy || |
47 || [GearTypes#gtBirdy `gtBirdy`] || Birdy || |
48 || `gtBlowTorch` || A blowtorch || |
48 || [GearTypes#gtBlowTorch `gtBlowTorch`] || A blowtorch || |
49 || `gtClusterBomb` || A cluster bomb || |
49 || [GearTypes#gtClusterBomb `gtClusterBomb`] || A cluster bomb || |
50 || `gtCake` || A cake || |
50 || [GearTypes#gtCake `gtCake`] || A cake || |
51 || `gtDEagleShot` || A shot from a Desert Eagle || |
51 || [GearTypes#gtDEagleShot `gtDEagleShot`] || A shot from a Desert Eagle || |
52 || `gtDrill` || Drill rocket || |
52 || [GearTypes#gtDrill `gtDrill`] || Drill rocket || |
53 || `gtDynamite` || A dynamite || |
53 || [GearTypes#gtDynamite `gtDynamite`] || A dynamite || |
54 || `gtFirePunch` || Shoryuken || |
54 || [GearTypes#gtFirePunch `gtFirePunch`] || Shoryuken || |
55 || `gtFlamethrower` || A flamethrower || |
55 || [GearTypes#gtFlamethrower `gtFlamethrower`] || A flamethrower || |
56 || `gtGasBomb` || An old limburger || |
56 || [GearTypes#gtGasBomb `gtGasBomb`] || An old limburger || |
57 || `gtGrenade` || A grenade || |
57 || [GearTypes#gtGrenade `gtGrenade`] || A grenade || |
58 || `gtHammer` || A gear dealing hammer damage || |
58 || [GearTypes#gtHammer `gtHammer`] || A gear dealing hammer damage || |
59 || `gtHellishBomb` || A hellish hand-grenade || |
59 || [GearTypes#gtHellishBomb `gtHellishBomb`] || A hellish hand-grenade || |
60 || `gtIceGun` || A freezer || |
60 || [GearTypes#gtIceGun `gtIceGun`] || A freezer || |
61 || `gtKamikaze` || An ongoing kamikaze || |
61 || [GearTypes#gtKamikaze `gtKamikaze`] || An ongoing kamikaze || |
62 || `gtKnife` || A cleaver || |
62 || [GearTypes#gtKnife `gtKnife`] || A cleaver || |
63 || `gtPiano` || Piano from piano strike || |
63 || [GearTypes#gtPiano `gtPiano`] || Piano from piano strike || |
64 || `gtPickHammer` || A pickhammer || |
64 || [GearTypes#gtPickHammer `gtPickHammer`] || A pickhammer || |
65 || `gtRCPlane` || A RC plane || |
65 || [GearTypes#gtRCPlane `gtRCPlane`] || A RC plane || |
66 || `gtMolotov` || A molotov cocktail || |
66 || [GearTypes#gtMolotov `gtMolotov`] || A molotov cocktail || |
67 || `gtMortar` || A mortar || |
67 || [GearTypes#gtMortar `gtMortar`] || A mortar || |
68 || `gtMine` || A mine || |
68 || [GearTypes#gtMine `gtMine`] || A mine || |
69 || `gtSeduction` || Seduction || |
69 || [GearTypes#gtSeduction `gtSeduction`] || Seduction || |
70 || `gtShell` || A bazooka shell (projectile) || |
70 || [GearTypes#gtShell `gtShell`] || A bazooka shell (projectile) || |
71 || `gtShotgunShot` || A shot from a shotgun || |
71 || [GearTypes#gtShotgunShot `gtShotgunShot`] || A shot from a shotgun || |
72 || `gtShover` || Used by baseball bat. || |
72 || [GearTypes#gtShover `gtShover`] || Used by baseball bat || |
73 || `gtSineGunShot` || A shot from the sine gun || |
73 || [GearTypes#gtSineGunShot `gtSineGunShot`] || A shot from the sine gun || |
74 || `gtSMine` || A sticky mine || |
74 || [GearTypes#gtSMine `gtSMine`] || A sticky mine || |
75 || `gtSniperRifleShot` || A shot from the sniper rifle || |
75 || [GearTypes#gtSniperRifleShot `gtSniperRifleShot`] || A shot from the sniper rifle || |
76 || `gtSnowball` || A mudball || |
76 || [GearTypes#gtSnowball `gtSnowball`] || A mudball || |
77 || `gtWatermelon` || A watermelon bomb, still intact || |
77 || [GearTypes#gtWatermelon `gtWatermelon`] || A watermelon bomb, still intact || |
78 || `gtWhip` || A whip || |
78 || [GearTypes#gtWhip `gtWhip`] || A whip || |
79 |
79 |
80 === Secondary projectiles === |
80 === Secondary projectiles === |
81 || *Gear type* || *Description* || |
81 || *Gear type* || *Description* || |
82 || `gtAirBomb` || A bomb from the air attack or the RC plane || |
82 || [GearTypes#gtAirBomb `gtAirBomb`] || A bomb from the air attack or the RC plane || |
83 || `gtBall` || A ball from the ball gun || |
83 || [GearTypes#gtBall `gtBall`] || A ball from the ball gun || |
84 || `gtCluster` || A cluster from the cluster bomb or the mortar || |
84 || [GearTypes#gtCluster `gtCluster`] || A cluster from the cluster bomb or the mortar || |
85 || `gtEgg` || An egg from Birdy || |
85 || [GearTypes#gtEgg `gtEgg`] || An egg from Birdy || |
86 || `gtHammerHit` || A hammer digging into land || |
86 || [GearTypes#gtHammerHit `gtHammerHit`] || A hammer digging into land || |
87 || `gtMelonPiece` || A cluster from a watermelon bomb || |
87 || [GearTypes#gtMelonPiece `gtMelonPiece`] || A cluster from a watermelon bomb || |
88 || `gtNapalmBomb` || A bomb from the napalmn strike || |
88 || [GearTypes#gtNapalmBomb `gtNapalmBomb`] || A bomb from the napalmn strike || |
89 || `gtPoisonCloud` || A poisonous cloud || |
89 || [GearTypes#gtPoisonCloud `gtPoisonCloud`] || A poisonous cloud || |
90 |
90 |
91 === Other === |
91 === Other === |
92 || *Gear type* || *Description* || |
92 || *Gear type* || *Description* || |
93 || `gtAddAmmo` || Adds a weapon or utilty to a hedgehog. || |
93 || [GearTypes#gtAddAmmo `gtAddAmmo`] || Adds a weapon or utilty to a hedgehog. || |
94 || `gtATStartGame` || Created at the start of the game. || |
94 || [GearTypes#gtATStartGame `gtATStartGame`] || Created at the start of the game. || |
95 || `gtATFinishGame` || Created at the end of the game. Fades out the screen and exits the game. || |
95 || [GearTypes#gtATFinishGame `gtATFinishGame`] || Created at the end of the game. Fades out the screen and exits the game. || |
96 || `gtGenericFaller` || TODO || |
96 || [GearTypes#gtGenericFaller `gtGenericFaller`] || TODO || |
97 || `gtWaterUp` || Causes water to rise. || |
97 || [GearTypes#gtWaterUp `gtWaterUp`] || Causes water to rise. || |
98 |
98 |
99 == Long descriptions and values == |
99 == Long descriptions and values == |
100 This section gives longer description of the various gear types and how their values (i.e. tag, pos, timer, health, etc.) are interpreted. The gear values are pretty chaotic, so they are described for each gear seperately. Use the various setter and getter functions for gears to modifiy the gear values. |
100 This section gives longer description of the various gear types and how their values (i.e. tag, pos, timer, health, etc.) are interpreted. The gear values are pretty chaotic, so they are described for each gear seperately. Use the various setter and getter functions for gears to modifiy the gear values. |
101 |
101 |
102 In Lua, use the functions `GetGearPos`, `SetGearPos`, `GetTag`, `SetTag`, `GetTimer`, `SetTimer`, `GetHealth`, `SetHealth`, `GetFlightTime`, `SetFlightTime`, `GetGearValues` and `SetGearValues` to query or modify the gear values. |
102 In Lua, use the functions `GetGearPos`, `SetGearPos`, `GetTag`, `SetTag`, `GetTimer`, `SetTimer`, `GetHealth`, `SetHealth`, `GetFlightTime`, `SetFlightTime`, `GetGearValues` and `SetGearValues` to query or modify the gear values. |
313 * `Tag`: Current Y coordinate of the hedgehog. |
313 * `Tag`: Current Y coordinate of the hedgehog. |
314 * `Radius`: Hit radius. Default: 15 |
314 * `Radius`: Hit radius. Default: 15 |
315 * `Boom`: Damage. Default: 30 |
315 * `Boom`: Damage. Default: 30 |
316 |
316 |
317 ==== `gtFlamethrower` ==== |
317 ==== `gtFlamethrower` ==== |
318 A flamethrower. |
318 A flamethrower creates both sticky and non-sticky [GearTypes#gtFlame `gtFlame`] gears. |
319 |
319 |
320 * `Tag`: Current spitting power of flamethrower (`5`-`20`) |
320 * `Tag`: Current spitting power of flamethrower (`5`-`20`) |
321 * `Health`: Remaining fuel. `500` is for 100% fuel. |
321 * `Health`: Remaining fuel. `500` is for 100% fuel. |
322 |
322 |
323 ==== `gtGasBomb` ==== |
323 ==== `gtGasBomb` ==== |
324 An old limburger. Will spawn several `gtPoisonCloud` gears on detonation. |
324 An old limburger. Will spawn several [GearTypes#gtPoisonCloud `gtPoisonCloud`] gears on detonation. |
325 |
325 |
326 * `Timer`: Detonation timer (in milliseconds). |
326 * `Timer`: Detonation timer (in milliseconds). |
327 |
327 |
328 ==== `gtGrenade` ==== |
328 ==== `gtGrenade` ==== |
329 A grenade. |
329 A grenade. |
330 |
330 |
331 * `Timer`: Detonation timer (in milliseconds). |
331 * `Timer`: Detonation timer (in milliseconds). |
332 * `Boom`: Explosion size and damage. Default: 50 |
332 * `Boom`: Explosion size and damage. Default: 50 |
333 |
333 |
334 ==== `gtHammer` ==== |
334 ==== `gtHammer` ==== |
335 A hammer attack. This gear is for determining which hedgehogs and objects to hit and to reduce health of anything hit. Hedgehogs, mines and barrels can be hit. See also `gtHammerHit` for the digging part. |
335 A hammer attack. This gear is for determining which hedgehogs and objects to hit and to reduce health of anything hit. Hedgehogs, mines and barrels can be hit. See also [GearTypes#gtHammerHit `gtHammerHit`] for the digging part. |
336 |
336 |
337 * `Boom`: Damage denominator. The damage caused will be `(1/Boom)*health_of_victim`, e.g. if this value is `4` and the victim has 100 health, the hammer takes away 25 health (one quarter). Default: 3 normally (so one third of the health); 2 if Extra Damage is enabled (so one half of the health) |
337 * `Boom`: Damage denominator. The damage caused will be `(1/Boom)*health_of_victim`, e.g. if this value is `4` and the victim has 100 health, the hammer takes away 25 health (one quarter). Default: 3 normally (so one third of the health); 2 if Extra Damage is enabled (so one half of the health) |
338 * `Radius`: Stuff inside this radius will be hit and be subject to hammer damage and digging. Default: 20 |
338 * `Radius`: Stuff inside this radius will be hit and be subject to hammer damage and digging. Default: 20 |
339 |
339 |
340 ==== `gtHellishBomb` ==== |
340 ==== `gtHellishBomb` ==== |
341 A hellish hand-grenade. |
341 A hellish hand-grenade. It creates several sticky and non-sticky flames ([GearTypes#gtFlame `gtFlame`) on detonation. |
342 |
342 |
343 * `Timer`: Detonation timer (in milliseconds). Default: 5000 |
343 * `Timer`: Detonation timer (in milliseconds). Default: 5000 |
344 * `Boom`: Explosion size and damage. Default: 90 |
344 * `Boom`: Explosion size and damage. Default: 90 |
345 |
345 |
346 ==== `gtIceGun` ==== |
346 ==== `gtIceGun` ==== |
464 |
464 |
465 === Secondary projectiles === |
465 === Secondary projectiles === |
466 Gears for projectiles that can’t be directly fired but are generated by other weapon gears. |
466 Gears for projectiles that can’t be directly fired but are generated by other weapon gears. |
467 |
467 |
468 ==== `gtAirBomb` ==== |
468 ==== `gtAirBomb` ==== |
469 A bomb from the air attack (`gtAirAttack`) or the RC plane (`gtRCPlane`). |
469 A bomb from the air attack ([GearTypes#gtAirAttack `gtAirAttack`]) or the RC plane ([GearTypes#gtRCPlane `gtRCPlane`]). |
470 |
470 |
471 * `Boom`: Explosion size and damage. Default: 30 |
471 * `Boom`: Explosion size and damage. Default: 30 |
472 |
472 |
473 ==== `gtBall` ==== |
473 ==== `gtBall` ==== |
474 A ball from the ball gun (`gtBallgun`). |
474 A ball from the ball gun ([GearTypes#gtBallgun `gtBallgun`]). |
475 |
475 |
476 * `Timer`: Detonation timer (in milliseconds). Default: 5000 |
476 * `Timer`: Detonation timer (in milliseconds). Default: 5000 |
477 * `Boom`: Explosion size and damage. Default: 40 |
477 * `Boom`: Explosion size and damage. Default: 40 |
478 * `Tag`: Color: `0`=red, `1`=green, `2`=cyan, `3`=yellow, `4`=violet, `5`=pink, `6`=orange, `7`=lime, `8`=white |
478 * `Tag`: Color: `0`=red, `1`=green, `2`=cyan, `3`=yellow, `4`=violet, `5`=pink, `6`=orange, `7`=lime, `8`=white |
479 |
479 |
480 ==== `gtCluster` ==== |
480 ==== `gtCluster` ==== |
481 A cluster from the cluster bomb (`gtClusterBomb`) or the mortar (`gtMortar`). |
481 A cluster from the cluster bomb ([GearTypes#gtClusterBomb `gtClusterBomb`]) or the mortar ([GearTypes#gtMortar `gtMortar`]). |
482 |
482 |
483 * `Boom`: Explosion size and damage. Default: 25 |
483 * `Boom`: Explosion size and damage. Default: 25 |
484 |
484 |
485 ==== `gtEgg` ==== |
485 ==== `gtEgg` ==== |
486 An egg from Birdy (`gtBirdy`) |
486 An egg from Birdy ([GearTypes#gtBirdy `gtBirdy`]) |
487 |
487 |
488 * `Boom`: Size of destroyed land and damage. Default: 10 |
488 * `Boom`: Size of destroyed land and damage. Default: 10 |
489 |
489 |
490 ==== `gtHammerHit` ==== |
490 ==== `gtHammerHit` ==== |
491 Created when a hammer hit something. This gear will dig into the ground. See also `gtHammer` for hammer damage. |
491 Created when a hammer hit something. This gear will dig into the ground. See also [GearTypes#gtHammer `gtHammer`] for hammer damage. |
492 |
492 |
493 * `Timer`: How deep a successful hammer hit dig into land. 1 is the smallest possible depth. Using the value 0 will dig all the way to the water. Default: 125. |
493 * `Timer`: How deep a successful hammer hit dig into land. 1 is the smallest possible depth. Using the value 0 will dig all the way to the water. Default: 125. |
494 |
494 |
495 ==== `gtMelonPiece` ==== |
495 ==== `gtMelonPiece` ==== |
496 A cluster from a watermelon bomb (`gtWatermelon`) |
496 A cluster from a watermelon bomb ([GearTypes#gtWatermelon `gtWatermelon`]) |
497 |
497 |
498 * `Boom`: Explosion size and damage. Default: 75 |
498 * `Boom`: Explosion size and damage. Default: 75 |
499 |
499 |
500 ==== `gtNapalmBomb` ==== |
500 ==== `gtNapalmBomb` ==== |
501 A bomb from the napalmn strike (`gtAirAttack`), will burst into fire. |
501 A bomb from napalmn ([GearTypes#gtAirAttack `gtAirAttack`]), will burst into fire. |
502 |
502 |
503 * `Timer`: Detonation timer (in milliseconds). Default: 1000 |
503 * `Timer`: Detonation timer (in milliseconds). Default: 1000 |
504 |
504 |
505 ==== `gtPoisonCloud` ==== |
505 ==== `gtPoisonCloud` ==== |
506 A poisonous cloud, makes hedgehogs sick on contact. Is normally created by `gtGasBomb`. |
506 A poisonous cloud, makes hedgehogs sick on contact. Is normally created by [GearTypes#gtGasBomb `gtGasBomb`]. |
507 |
507 |
508 * `Timer`: Remaining “life time” in milliseconds (default: 5000). Note that the current animation does not very well support timers larger than 5 seconds, and the animation is partly hardcoded. |
508 * `Timer`: Remaining “life time” in milliseconds (default: 5000). Note that the current animation does not very well support timers larger than 5 seconds, and the animation is partly hardcoded. |
509 |
509 |
510 === Other === |
510 === Other === |
511 Gears which don't fit into any other category. |
511 Gears which don't fit into any other category. |
512 |
512 |
513 ==== `gtAddAmmo` ==== |
513 ==== `gtAddAmmo` ==== |
514 Used to add some weapon or utilty to a hedgehog. The gear is added when a crate (`gtCase`) has been collected. |
514 Used to add some weapon or utilty to a hedgehog. The gear is added when a crate ([GearTypes#gtCase `gtCase`]) has been collected. |
515 |
515 |
516 ==== `gtATStartGame` ==== |
516 ==== `gtATStartGame` ==== |
517 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. |
517 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. |
518 |
518 |
519 ==== `gtATFinishGame` ==== |
519 ==== `gtATFinishGame` ==== |