Keywords / Filters to select groups of ships in datafilecontent #10041
Labels
enhancement
A suggestion for new content or functionality that requires code changes
mechanics
Things dealing with the mechanics & code of how the game works
Problem Description
Some features like formation-flying, tagging of ships, locking/unlocking ship-fucntions and teleporting would benefit from (or even require) having the ability to select (groups of) operational ships, for example for formation-positions (only certain ships at certain formation positions) or for selecting which ships to tag or which ships to teleport along with the player.
We can discuss such ShipFilters in any of those feature-requests, but it seems valid to also have a separate ticket to discuss this specifically.
Related Issue Links
Desired Solution
The LocationFilter class and the wiki on filtering (https://github.com/endless-sky/endless-sky/wiki/CreatingMissions#filters) seems to be a good starting location. What I would like to see is a specific type of filter that allows me to select active ships both from the player as well as non-player (for example escort) ships.
Some selection-criteria which I already came up with:
Selected by player (not supported by the examples, but might be valuable for other usecases)=> unlikely to be used often in story-content.The feature should be available to be embedded in other features using some keyword. The keyword itself can be specific to the feature on top.
Alternative Approaches
Extending locationfilters or creating a new type of filter seem to be 2 different directions in which this can be implemented. I feel that a new type of filter (that can include location filters to select ships on a location) would work best.
Additional Context
No response
The text was updated successfully, but these errors were encountered: