Skip to content

Fix imported ships missing Advanced Planetary Approach Suite#317

Merged
alex-williams merged 2 commits into
alphafrom
fix/import_missing_apas
May 10, 2026
Merged

Fix imported ships missing Advanced Planetary Approach Suite#317
alex-williams merged 2 commits into
alphafrom
fix/import_missing_apas

Conversation

@Michael-K-Williams

@Michael-K-Williams Michael-K-Williams commented May 10, 2026

Copy link
Copy Markdown

Summary

When importing ships from EDSY or other third-party tools, the Advanced Planetary Approach Suite (Odyssey) was not being added to the ship. This is because these tools don't include the PAS in their export data since it's a mandatory fixed module.

Changes

  • JournalUtils.js: When the PAS slot is not found in import data, default to Advanced Planetary Approach Suite (Odyssey)
  • CompanionApiUtils.js: Same fix for the Companion API import path

Testing

  • Imported an EDSY build that previously showed an empty PAS slot
  • Confirmed the Advanced Planetary Approach Suite now appears correctly after import

When importing from EDSY or other tools that don't include the
Planetary Approach Suite in their export data, the PAS slot was
left empty. Now defaults to Advanced Planetary Approach Suite
(Odyssey) when the slot is not present in import data.

Fixed in both import paths:
- Journal/EDSY import (JournalUtils.js)
- Companion API import (CompanionApiUtils.js)
@alex-williams alex-williams force-pushed the fix/import_missing_apas branch from 6549739 to 0857a02 Compare May 10, 2026 21:34
@alex-williams alex-williams merged commit 8744bc3 into alpha May 10, 2026
@alex-williams alex-williams deleted the fix/import_missing_apas branch May 10, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants