Skip to content
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

Pulling new features onto dev #15

Merged
merged 16 commits into from
Dec 14, 2022
Merged

Pulling new features onto dev #15

merged 16 commits into from
Dec 14, 2022

Conversation

Balvald
Copy link
Owner

@Balvald Balvald commented Dec 14, 2022

Finished and tested: #2, #9 , #10 , #12

These changes concern #10
- Unsold Scan value now has thousand seperators.
- Added a button that copies the raw value of the unsold scan value to the clipboard.
Changes:
- Added test label and options of the CCR feature that currently can show lat, long heading and the planets radius if its close enough.
- fixed isort import order
- added type annotations
shows CCR for last scan and the current distance to the last scans.
still needs to integrate multicommander support for this feature.
fix for notyetsolddata not tracking correctly due to forgetting to give it the cmdr string.
multicommander support integration for CCR
bearing value in degrees is supposed to point directly away from the scan location.

Need to test if it currently does so.

Added functions that need to be implement to make the ui code less cluttered.
fix for entries being saved for cmdr "" and "null"
No more updating of any information in legacy mode.
nicer format for current pos
new prices: concerns #12 need to check amphora plant and bark mounds to be completely sure.
ignoring CCR001 too high complexity
put the clipboard function next to the reset function, both are used for doing things with buttons.

grouped the code outside the plugin class into regions
Had typos in the key to check if the game is in legacy mode.
Fixed that the bearing was shown as mapped to a different interval (because Frontier implemented it this way for the status.json) while on foot compared to being in a vehicle.
Concerning #10 :  Was missing a function call that removes the thousands seperators and adds them in again when computing the new value.

Concerning #9 : Was missing a few instances where files (namely notsoldbiodata.json) were not readable after being modified: was missing trunctate()
Now its always removing the last comma and white space of the scanned/sold systems. Old version had an oversight with planets like Bridge 1 showing: "1, " instead of the correct "1" because the string was not long enough.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant