GearTypes.wiki
changeset 1413 8832f69b198f
parent 1412 225635def24e
child 1490 b5bb0845eaa7
equal deleted inserted replaced
1412:225635def24e 1413:8832f69b198f
   236  * `Tint`: Rope color as RGBA. This only works if `Tag` equals `1`
   236  * `Tint`: Rope color as RGBA. This only works if `Tag` equals `1`
   237 
   237 
   238 Note: `dX` and `dY` are returned by the `GetGearVelocity` function.
   238 Note: `dX` and `dY` are returned by the `GetGearVelocity` function.
   239 
   239 
   240 ==== `gtSwitcher` ====
   240 ==== `gtSwitcher` ====
   241 This gear handles switching of hedgehogs, represented by spinning arrows. As long this gear exists, hedgehogs can be switched with the Switch Hedgehog key. This gear is destroyed, thus ending hog switching, as soon the hedgehog does something, like walking or choosing a weapon. There should never be more than one `gtSwitcher` at once in the game.
   241 This gear handles switching of hedgehogs, represented by spinning arrows. As long this gear exists, hedgehogs can be switched with the Switch Hedgehog key. This gear is destroyed, thus ending hog switching, as soon the hedgehog does something, like walking or choosing a weapon. There must never be more than one `gtSwitcher` gear at once in the game.
   242 
   242 
   243 *Note*: To enable hog switching from Lua, `AddGear` won't work, you must call `EnableSwitchHog()` instead (available in 0.9.25 or later).
   243 *Note*: To enable hog switching manually from Lua, `AddGear` won't work. You must call `EnableSwitchHog()` instead (only available in 0.9.25 or later). Alternatively, enabling the !GameFlag `gfSwitchHog` enables hog switching automatically on turn start for everyone.
   244 
   244 
   245  * `X` and `Y`: Position of the spinning arrows
   245  * `X` and `Y`: Position of the spinning arrows (visual effect only)
   246 
   246 
   247 ==== `gtTardis` ====
   247 ==== `gtTardis` ====
   248 A !TimeBox. It works in several phases and an internal timer.
   248 A !TimeBox. It works in several phases and an internal timer.
   249 
   249 
   250  * `Pos`: Current phase. The value `4` is used when the !TimeBox is currently time-travelling (has completely turned invisible).
   250  * `Pos`: Current phase. The value `4` is used when the !TimeBox is currently time-travelling (has completely turned invisible).