Separate Charge PDDrone Subsystem
Spawns two PD drones. The drones are on a separate charge interval than the activator itself. Activation speeds up the formation's spin speed for a short time, and has two charges.
Functions
Uses system stats to calculate the actual drone charges based on {@link MagicSubsystem#scaleSystemStat(float, float)}
Drones will deploy when ship is dead only if dronesExplodeWhenShipDies returns false. Otherwise, they would explode in the next frame.
All drones will explode when the ship dies.
Drones will still advance while the ship is dead no matter what.
Override to not display charge filling in favor of separate drone bar if system doesn't use charges.
Delay between subsequent drone deployments if multiple need to be deployed at once.
Formation object that controls drones. The two implemented by this library are HoveringFormation and SpinningCircleFormation. To create your own, you should extend the DroneFormation class.
Flux cost on drone deployment.
Flux cost on drone deployment as percent of base flux capacity of the ship.
Set flux cost on drone deployment to be hard flux.
Whether a drone should be spawned on the next deployment interval, if the amount of drones is below the limit and we have charges to spawn the drone. To force spawn a drone, set dronesToSpawn.