+ LOWER_STAGE_SEPARATION(trans.get("RecoveryDevice.DeployEvent.LOWER_STAGE_SEPARATION")) {
+ @Override
+ public boolean isActivationEvent(FlightEvent e, RocketComponent source) {
+ if (e.getType() != FlightEvent.Type.STAGE_SEPARATION)
+ return false;
+
+ int separation = e.getSource().getStageNumber();
+ int current = source.getStageNumber();
+ return (current + 1 == separation);
+ }
+ },