canonn-science / EDMC-Canonn

Project Athens: EDMC plugin to automatically collect accurate science data from the galaxy and coordinate missions
GNU General Public License v3.0
80 stars 12 forks source link

[FEATURE] Codex Icon Rewrite #175

Closed NoFoolLikeOne closed 1 year ago

NoFoolLikeOne commented 1 year ago

I'd like to rewrite the codex icons to make things a bit more extensible and account for Genus/Species/Variant

When a signal is found with FSS we need to display Unknown When the body is scanned we get the Genus If the organic scanner is used we get the Species If the comp scanner is used we get the variant

All these can be added from data stored in spansh for Signal/Genus and the Canonn API that are fecthed on the start of the jump. Also from the journal as the user performs actions.

Action System Level Display Body 1 Display Body 2 Display
FSS Planet 1 Biology 1 Unknown [0/1]
FSS Planet 2 Biology 1,2 Unknown [0/1] Unknown [0/3]
Scan Planet 1 Bacteria 1 Bacteria
Scan Planet 2 Bacteria 1,2 Bacteria Bacteria, Stratum, Concha
Stratum 2 Stratum
Concha 2 Concha
Organic Scan Planet 1 Bacterium Vesicula 1 *Bacterium Vesicula #1 Bacteria
Stratum 2 Stratum
Concha 2 Concha
Organic Scan Planet 2 Bacterium Vesicula 1 *Bacterium Vesicula #1 *Bacterium Tela #1
Bacterium Tela 1 Stratum Paleas #1
Concha Renibus 2 Concha Renibus #1
Stratum Paleas 2
Comp Scan Planet 1 Bacterium Vesicula 1 *Bacterium Vesicula - Green #1 *Bacterium Tela #1
Bacterium Tela 1 Stratum Paleas #1
Concha Renibus 2 Concha Renibus #1
Stratum Paleas 2
Comp Scan Planet 1 Bacterium Vesicula 1 *Bacterium Vesicula - Green #1 *Bacterium Tela - Red #1
Bacterium Tela 1 *Stratum Paleas - Purple #1
Concha Renibus 2 *Concha Renibus - Octarine #1
Stratum Paleas 2

If we use some data and code to predict the genus / species or variant, then we should be able to use the prediction to replace the value in the display as if it had been scanned but with a colour inticating that it is a prediction or perhaps brackets. If we predict more than one species at the genus level then we display the genus otherwise display the species. If we predict more than one variant of the same species then we would display the species otherwise the variant. If there are more genus than signals then we just display Biology.

We should also have a visual indicator to show if the commander has organic scanned and what log level they are at.

When displaying the clickable coordinate locations, the UI should rationalise the coordinates by treating any that are less than 500m apart as if they are the same coordinates and only listing the 4 closest coordinates in distance order from commander coordinates.

NoFoolLikeOne commented 1 year ago

This has been made obsolete by journals changes