Aurora 4x

C# Aurora => C# Suggestions => Topic started by: vorpal+5 on April 14, 2024, 02:03:20 AM

Title: Auto-assignment by cost priority
Post by: vorpal+5 on April 14, 2024, 02:03:20 AM
The code that determines what is a ship class, in regard to how characters can be assigned, can perhaps be improved? It seems to consider the nature of a ship by checking the components by reverse index in the tree of components. This means, for example, that a ship with a Jump Stabilization module on which you add a very small troop component becomes a troop transport.

The most versatile approach would be to have the component added last to determine the nature of the ship; this way, a player can precisely decide what their ship should be considered. If not, then the costliest component should determine it.
Title: Re: Auto-assignment by cost priority
Post by: Garfunkel on April 14, 2024, 10:33:46 PM
Oh, that's an interesting suggestion. It would just need to be communicated to players clearly as it might otherwise be difficult to realize.