diff -r b9b3dff16331 -r 50795ad481b2 GearTypes.wiki --- a/GearTypes.wiki Mon Mar 12 12:41:03 2018 +0000 +++ b/GearTypes.wiki Mon Mar 12 12:58:40 2018 +0000 @@ -61,11 +61,11 @@ || [GearTypes#gtIceGun `gtIceGun`] || Freezer || || [GearTypes#gtKamikaze `gtKamikaze`] || Hegehog going kamikaze || || [GearTypes#gtKnife `gtKnife`] || Cleaver || +|| [GearTypes#gtMinigun `gtMinigun`] || Minigun || || [GearTypes#gtMinigunBullet `gtMinigunBullet`] || Minigun bullet || || [GearTypes#gtPiano `gtPiano`] || Piano from piano strike || || [GearTypes#gtPickHammer `gtPickHammer`] || Pickhammer || || [GearTypes#gtRCPlane `gtRCPlane`] || RC plane || -|| [GearTypes#gtMinigun `gtMinigun`] || Minigun (TODO) || || [GearTypes#gtMolotov `gtMolotov`] || Molotov cocktail || || [GearTypes#gtMortar `gtMortar`] || Mortar || || [GearTypes#gtMine `gtMine`] || Mine || @@ -420,11 +420,24 @@ * `Boom`: Scaling value for the impact damage. The actual damage does not linearly scale. Default: 40000 * `Damage`: Holds the damage taken by the cleaver received in the current tick (damage taken *at once*). For each tick, `Damage` is first checked and then reset to 0. If the damage was greater than 30, then there is a chance the cleaver will drop, with the chance increasing with the damage. When `Damage` is over 100, the cleaver will drop for sure. +==== `gtMinigun` (0.9.24) ==== +A minigun. This gear is added for the full duration of a minigun shooting. Its job is to spawn `gtMinigunBullet`s until it runs out of time. + +Before it starts shooting, there is a short delay for the “spin-up”. Then the timer is set to `Karma` and the minigun starts shooting until the timer reaches 0 again. Then the gear is destroyed. + +The minigun is entirely timer-based (see `Karma`). + + * `Timer`: Used for two things: 1) Spin-up delay. If this timer reaches 0, minigun starts shooting and timer is set to `Karma`. 2) It shoots bullets until `Timer` is 0 again, after which it is destroyed. Timer starts at 601 by default. + * `Karma`: The time of the minigun actually shooting. This is in direct relation to the number of bullets fired. One bullet is fired every 50 milliseconds. Default: 3451 (is equivalent to 70 bullets) + * `Tag`: Current frame of minigun image, used for rotation animation and dispensing shells. Value is 0-1. + * `WDTimer`: Number of bullets fired + ==== `gtMinigunBullet` (0.9.24) ==== A minigun bullet. * `Boom`: Damage. Default: 2 * `Radius`: Collision detection radius. Default: 1 + * `WDTimer`: Bullet number of minigun, set by `gtMinigun`. This is the (`WDTimer`+1)th bullet. E.g. if `WDTimer` is `0`, this means its the first bullet from a minigun. ==== `gtPiano` ==== A piano from piano strike. By default, a piano bounces up to 5 times on the terrain, causing 3 big explosions (80 damage each) per impact.