-
Notifications
You must be signed in to change notification settings - Fork 989
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
Allow bays to carry multiple categories of ship #9896
Comments
Definitely a nice addition! |
Maybe, change the name of the bays to something like Landing Bays or Docking Bays. I think it makes more sense if the bays are to become universal. Will it make it easier to use with the UI? EDIT: forget this comment, the 3rd approach sounds great. |
Third approach: create a new root node
For the sake of compatibility with plugins that may have added new "bay type" category entries, we'd need to also fall back onto looking for a category instead of a bay node if no bay node is found.
This maintains the customization options of the first approach while maintaining backwards compatibility with save files and plugins like the alternative approach. |
I really like this idea. We should make sure that these |
Problem Description
Currently, a bay is defined as follows:
bay <category> <x#> <y#>
Only a single category can be listed for a bay. Therefore, we can't have bays that say hold both fighters and drones; fighter and drone bays must always be distinct from one another at the moment.
Related Issue Links
#4610 Mass-limited bays as opposed to category-limited bays.
Desired Solution
Allow bays to define multiple categories of ship that can dock in the bay. This would come in the form of a primary category and a list of secondary categories. All listed categories of ship could dock at this bay.
The purpose of the primary vs secondary category split is because the UI currently displays bays by their category.
To have bays be listed by the combination of categories that they allow would be rather wordy, or it might be confusing if we listed the total number of bays that can contain ships of a certain category. For example, if fighter bays could also allow drones to dock, I wouldn't want the above image to read "drone bays: 10, fighter bays: 4", because that makes it sound like the ship has 14 bays in total when in actuality it only has 10 in total.
Alternative Approaches
The ships that are able to be carried are defined by a categories list.
endless-sky/data/categories.txt
Lines 30 to 33 in 575546e
Perhaps we could have some similar config node that says that all fighter bays can also include drones.
Additional Context
The idea is to allow fighter bays to store both fighters and drones, as drone bays are very limited across the entire game. Allowing fighter bays to store drones would make using certain drones a lot more viable. The descriptions of drones would need to be updated to let the player know that drones can also go in fighter bays.
All fighter bays across the game would be changed at a content level to also allow drones to be installed. Given that this would be a content change, old ships in player save files wouldn't be able to store drones in fighter bays, nor would plugins automatically receive this change. If the alternative approach is taken, this would not be the case.
The text was updated successfully, but these errors were encountered: