diff --git a/scripts/verify-flow.mjs b/scripts/verify-flow.mjs index eea9042..49e48a4 100644 --- a/scripts/verify-flow.mjs +++ b/scripts/verify-flow.mjs @@ -9597,6 +9597,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) { !unit.reserveTrainingFocusId || !unit.reserveTrainingFocusLabel || typeof unit.reserveTrainingBondPreviewLine !== 'string' || + typeof unit.reserveTrainingBondPartnerCount !== 'number' || typeof unit.reserveTrainingPlanLine !== 'string' ); }); @@ -9651,6 +9652,7 @@ function assertSortieTacticalRoster(state, requiredUnitIds) { !state.sortieFocusedUnit.reserveTrainingFocusId || !state.sortieFocusedUnit.reserveTrainingFocusLabel || typeof state.sortieFocusedUnit.reserveTrainingBondPreviewLine !== 'string' || + typeof state.sortieFocusedUnit.reserveTrainingBondPartnerCount !== 'number' || typeof state.sortieFocusedUnit.reserveTrainingPlanLine !== 'string' || typeof state.sortieFocusedUnit.terrainScore !== 'number' || !state.sortieFocusedUnit.terrainGrade || diff --git a/src/game/scenes/CampScene.ts b/src/game/scenes/CampScene.ts index f70dce0..14f1941 100644 --- a/src/game/scenes/CampScene.ts +++ b/src/game/scenes/CampScene.ts @@ -211,6 +211,7 @@ type SortieFocusedUnitSummary = SortieUnitTacticalSummary & { reserveTrainingFocusId: CampaignReserveTrainingFocusId; reserveTrainingFocusLabel: string; reserveTrainingBondPreviewLine: string; + reserveTrainingBondPartnerCount: number; reserveTrainingPlanLine: string; terrainScore: number; terrainGrade: string; @@ -13206,6 +13207,7 @@ export class CampScene extends Phaser.Scene { reserveTrainingFocusId: reserveTrainingFocus.id, reserveTrainingFocusLabel: reserveTrainingFocus.label, reserveTrainingBondPreviewLine: this.reserveTrainingBondPreviewLine(unit), + reserveTrainingBondPartnerCount: this.reserveTrainingBondPartnerNames(unit).length, reserveTrainingPlanLine: this.reserveTrainingPlanLine(unit), terrainScore, terrainGrade: this.sortieTerrainGrade(terrainScore), @@ -15807,6 +15809,7 @@ export class CampScene extends Phaser.Scene { reserveTrainingFocusId: reserveTrainingFocus.id, reserveTrainingFocusLabel: reserveTrainingFocus.label, reserveTrainingBondPreviewLine: this.reserveTrainingBondPreviewLine(unit), + reserveTrainingBondPartnerCount: this.reserveTrainingBondPartnerNames(unit).length, reserveTrainingPlanLine: this.reserveTrainingPlanLine(unit), recommended: Boolean(this.sortieRecommendation(unit.id)), recommendationReason: this.sortieRecommendation(unit.id)?.reason ?? null,