Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement shuttle designation #1284

Conversation

GingerAvalanche
Copy link
Contributor

About the PR

Add ship designation to shuttle console UI. Reimplementation of #795

Why / Balance

This solves the problem of ship designations being annoying to remember/track when you need them.

Technical details

Replaces the text "Display" above the ReadonlyDisplay with the name of the ship. (If the ship is a POI or something without a 6-character designation, it uses the whole ship name. Otherwise, it uses everything except the designation)

Performs as its predecessor implementation, except more efficiently, as it only sets the name once per shuttle Uid set, instead of once every screen draw.

Also adds two Labels to the ShuttleConsoleWindow's ReadonlyDisplay:

  • Text "Designation:"
  • ShuttleDesignation, the 6-character designation of the current ship, or "Unknown" if it does not have a designation

Media

image
image

  • I have added screenshots/videos to this PR showcasing its changes ingame,

Breaking changes

N/A

Changelog

🆑

  • add: Shuttle console display UI now shows ship name and designation

@github-actions github-actions bot added the S: Needs Review This PR is awaiting reviews label Apr 27, 2024
@Cheackraze Cheackraze merged commit a6240a5 into new-frontiers-14:master Apr 27, 2024
13 checks passed
FrontierATC added a commit that referenced this pull request Apr 27, 2024
@GingerAvalanche GingerAvalanche deleted the 2024-04-26-shuttle-designation branch April 28, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# FTL S: Needs Review This PR is awaiting reviews UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants