Author Topic: Auto-assignment by cost priority  (Read 285 times)

0 Members and 1 Guest are viewing this topic.

Offline vorpal+5 (OP)

  • Commodore
  • **********
  • Posts: 628
  • Thanked: 132 times
  • Silver Supporter Silver Supporter : Support the forums with a Silver subscription
    2021 Supporter 2021 Supporter : Donate for 2021
Auto-assignment by cost priority
« 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.
 
The following users thanked this post: shalis

Online Garfunkel

  • Registered
  • Admiral of the Fleet
  • ***********
  • Posts: 2791
  • Thanked: 1052 times
Re: Auto-assignment by cost priority
« Reply #1 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.