Kinetic Energy Converter

The Kinetic Energy Converter is a Hardmode generator which generates energy when the player is hit by a projectile. A faster projectile gives more energy than a slower one, and a projectile which deals more damage gives more than a projectile which deals less damage.