# HG changeset patch # User Wuzzy # Date 1441780000 0 # Node ID dde757edd995e8545ec844719104f4767a11f2b2 # Parent 0998b84a0d82ddab101656bb64949ce9f0f6f958 Rope style diff -r 0998b84a0d82 -r dde757edd995 GearTypes.wiki --- a/GearTypes.wiki Wed Sep 09 06:07:12 2015 +0000 +++ b/GearTypes.wiki Wed Sep 09 06:26:40 2015 +0000 @@ -29,7 +29,7 @@ || `gtLandGun` || The land spray tool || TODO || power of land spray (`5`-`20`) || TODO || Amount of fuel. `1000` denotes 100% fuel. || || `gtParachute` || A parachute || TODO || TODO || TODO || TODO || || `gtResurrector` || Resurrection || TODO || TODO || TODO || TODO || -|| `gtRope` || A rope || TODO || TODO || TODO || TODO || +|| `gtRope` || A rope || TODO || Rope style: 0=classic white segments, 1=simple line which can be colored with `SetGearValues` tint || TODO || TODO || || `gtSwitcher` || Switch hedgehog || TODO || TODO || TODO || TODO || || `gtTardis` || A !TimeBox || TODO || TODO || TODO || TODO || || `gtTeleport` || Teleportation || TODO || TODO || TODO || TODO || @@ -40,6 +40,7 @@ || *Gear type* || *Description* || *Pos* || *Tag* || *Timer* || *Health* || || `gtAirAttack` || The airplane of an air attack || TODO || Direction of airplane (`-1` = left, `1` = right) || TODO || Number of bombs left (default: 6) || +|| `gtAirMine` || An air mine || Air friction. Higher values mean slower movement || TODO || Detonation timer (after activation). || TODO || || `gtBallGun` || A ballgun || TODO || TODO || Remaining usage time, default is 5001. One ball is fired every 100ms. || TODO || || `gtBee` || Homing bee || TODO || wheather the bee is underwater (`0` = no, `1` = yes) || Used for pre-homing time and max. flight timer after started homing || TODO || || `gtBirdy` || Birdy || TODO || facing direction (`-1` = left, `1` = right) || TODO || “Flapping energy” left, default is 2000. This “energy” works exactly like for the flying saucer. || @@ -74,7 +75,6 @@ || `gtSnowball` || A mudball || TODO || TODO || TODO || TODO || || `gtWatermelon` || A watermelon bomb, still intact || TODO || TODO || Detonation timer. || TODO || || `gtWhip` || A whip || TODO || TODO || TODO || TODO || -|| `gtAirMine` || An air mine || Air friction. Higher values mean slower movement || TODO || Detonation timer (after activation). || TODO || === Secondary projectiles === Projectiles that can’t be directly fired but are generated by other weapon gears. @@ -98,6 +98,13 @@ || `gtWaterUp` || If added, water will rise. || _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`. || TODO || TODO || +== Gear-specific variables == +=== `gtBirdy` === +The number of eggs is stored in the girder's `FlightTime` (default: 2). + +=== `gtFlame` === +If `FlightTime` is set to 0, the flames can hurt hedgehogs in mid-air, but they won't otherwise. + == Source == Here is an excerpt from the Hedgewars source code: {{{