GearTypes.wiki
author almikes@aol.com
Wed, 03 Dec 2014 18:18:08 +0000
changeset 420 55be67135696
parent 349 f6b3a80a6f92
child 422 1e8c89d93ea9
permissions -rw-r--r--
Put gear types into a table, along with a description and tag description.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     1
This is a list of (hopefully) all gear types, along with a short description and the interpretation of the gear’s tag (see `GetTag` and `SetTag` in [LuaAPI]).
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     2
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     3
Please note this list is still mostly TODO.
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     4
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     5
|| Gear type || Description || Meaning of tag ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     6
|| gtATStartGame || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     7
|| gtATFinishGame || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     8
|| gtWaterUp || If added, water will rise. Coordinates are ignored. || Number of pixels the water still has to rise. By default, the tag will have an initial value of 47. The gear will be removed when the tag equals 0. ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     9
|| gtAddAmmo || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    10
|| gtGenericFaller || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    11
|| gtTarget || a target, useful in target practice missions. || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    12
|| gtCase || an ammo, utility or health crate || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    13
|| gtExplosives || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    14
|| gtFlake || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    15
|| gtFlame || a flame || between 0-32 (TODO) ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    16
|| gtGrave || a grave from a dead hedgehog || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    17
|| gtHedgehog || a hedgehog || used for animation. 0 = no animation plays. Other value: animation plays ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    18
|| gtRope || a rope || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    19
|| gtTardis || a !TimeBox || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    20
|| gtParachute || a parachute || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    21
|| gtJetpack || a flying saucer || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    22
|| gtGirder || a girder || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    23
|| gtTeleport || teleportation || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    24
|| gtSwitcher || switch hedgehog || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    25
|| gtPortal || a portal from the portable portal device || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    26
|| gtLandGun || the land spray tool || power of land spray (0-10) ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    27
|| gtBee || homing bee || wheather the bee is underwater (0 = no, 1 = yes) ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    28
|| gtFirePunch || shoryuken || Y coordinate ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    29
|| gtDrill || drill rocket || used for drill strike. If 1, then first impact occoured already ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    30
|| gtFlamethrower || a flamethrower || power of flamethrower (0-10) ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    31
|| gtResurrector || resurrection || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    32
|| gtAirAttack || The airplane of an air attack || direction of airplane (-1 = left, 1 = right) ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    33
|| gtCake || a cake || A timer for the final “sitting down” animation. It starts at 0 and will be destroyed when it reaches 2250. ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    34
|| gtRCPlane || a RC plane || dX speed??? ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    35
|| gtBirdy || Birdy || facing direction (left = -1, right = 1) ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    36
|| gtEgg || an egg from birdy || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    37
|| gtGrenade || a grenade || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    38
|| gtShell || a bazooka shell (projectile) || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    39
|| gtShotgunShot || a shot from a shotgun || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    40
|| gtPickHammer || a pickhammer || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    41
|| gtMine || a mine || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    42
|| gtDEagleShot || a shot from a desert eagle || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    43
|| gtDynamite || a dynamite || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    44
|| gtClusterBombe || a cluster bomb || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    45
|| gtCluster || a cluster from the cluster bomb or the mortar || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    46
|| gtShover || used by baseball bat (TODO) || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    47
|| gtAirBomb || a bomb from the air attack or the RC plane || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    48
|| gtBlowTorch || a blowtorch || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    49
|| gtMortar || a mortar || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    50
|| gtWhip || a whip || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    51
|| gtKamikaze || an ongoing kamikaze || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    52
|| gtSeduction || seduction || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    53
|| gtWatermelon || a watermelon bomb, still intact || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    54
|| gtMelonPiece || a cluster from a watermelon bomb || TODO || 
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    55
|| gtHellishBomb || a hellish hand-grenade || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    56
|| gtBallGun || a ballgun || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    57
|| gtBall || a ball from the ball gun || Color: 0=red, 1=green, 2=cyan, 3=yellow, 4=violet, 5=pink, 6=orange, 7=lime, 8=white ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    58
|| gtSniperRifleShot || a shot from the sniper rifle || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    59
|| gtMolotov || a molotov cocktail || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    60
|| gtPiano || piano from piano strike || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    61
|| gtGasBomb || an old limburger || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    62
|| gtSineGunShot || a shot from the sine gun || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    63
|| gtSMine || a sticky mine || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    64
|| gtPoisonCloud || a poisonous cloud, makes hedgehogs sick on contact || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    65
|| gtHammer || a hammer || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    66
|| gtHammerHit || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    67
|| gtNapalmBomb || a bomb from the napalmn strike, will burst into fire || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    68
|| gtSnowball || a mudball || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    69
|| gtIceGun || a freezer || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    70
|| gtKnife || a cleaver || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    71
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    72
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    73
Here is an excerpt from the Hedgewars source code:
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    74
{{{
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    75
    TGearType = (gtFlame, gtHedgehog, gtMine, gtCase, gtExplosives, // these gears should be avoided when searching a spawn place
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    76
        gtGrenade, gtShell, gtGrave, gtBee, // 8
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    77
        gtShotgunShot, gtPickHammer, gtRope, // 11
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    78
        gtDEagleShot, gtDynamite, gtClusterBomb, gtCluster, gtShover, // 16
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    79
        gtFirePunch, gtATStartGame, // 18
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    80
        gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, // 23
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    81
        gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    82
        gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    83
        gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    84
        gtSniperRifleShot, gtJetpack, gtMolotov, gtBirdy, // 44
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    85
        gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower, // 50
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    86
        gtSMine, gtPoisonCloud, gtHammer, gtHammerHit, gtResurrector, // 55
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    87
        gtNapalmBomb, gtSnowball, gtFlake, {gtStructure,} gtLandGun, gtTardis, // 61
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    88
        gtIceGun, gtAddAmmo, gtGenericFaller, gtKnife); // 65
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    89
}}}
41
bf0470871144 Edited wiki page GearTypes through web user interface.
kyberneticist
parents: 19
diff changeset
    90
For a current list of the gears look at hedgewars/uTypes.pas at
12
74ead59b6c64 LuaAPI page + GearTypes,AmmoTypes,Sounds,States listing pages
Tobias Neumann <mail@tobias-neumann.eu>
parents:
diff changeset
    91
the TGearType enumeration.
349
f6b3a80a6f92 Update line number for the link to uTypes.pas
Caironater@gmail.com
parents: 348
diff changeset
    92
http://code.google.com/p/hedgewars/source/browse/hedgewars/uTypes.pas#92
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    93
94
65351a24eac9 Sorted the list of gears according to alphabetical order (I got it right this time :)).
Cairo@chusym.com
parents: 93
diff changeset
    94
Note: gtBomb and gtShell were named gtAmmo_Bomb and gtAmmo_Grenade before 0.9.14