-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
submap feature: singletons #28620
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
Merged
Burzah
merged 4 commits into
ParadiseSS13:master
from
warriorstar-orion:feat/submap-singletons
Mar 20, 2025
Merged
submap feature: singletons #28620
Burzah
merged 4 commits into
ParadiseSS13:master
from
warriorstar-orion:feat/submap-singletons
Mar 20, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Author
|
!build_rust |
Member
|
Requesting a dnm until #28590 is in |
Contributor
Author
Member
|
!build_rust |
Contributor
|
Building Rust library failed, see the action run log for details: https://github.com/ParadiseSS13/Paradise/actions/runs/13865713624 |
Contributor
Author
|
!build_rust |
AffectedArc07
approved these changes
Mar 15, 2025
Member
AffectedArc07
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me but I aint no rusthead
Contrabang
approved these changes
Mar 19, 2025
Burzah
approved these changes
Mar 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
-Status: Awaiting merge
This PR is ready for merge
Code Improvement
This PR will improve the code quality of the codebase
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This PR Do
This PR adds a feature to submaps called "singletons", which allows extract markers to have a shared name, even across submap operations, eliminating submaps with the same name from the selection pool.
Why It's Good For The Game
Currently submap operations are discrete, and no information is shared between them. That means if you have, for example, a map with four submaps, and each submap has a unique version of multiple departments, it's possible that you may end up with two command departments, or three science departments, etc. By adding singleton IDs, we can mark the submaps by department name, and the alternative versions of those departments won't be used for the next submap.
Testing
With the example map and submaps:


Each submap with a different floor color was given the same singleton ID.
Several sample outputs:
Before
After
Declaration
Changelog
NPFC