Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Make the Neutron Activator UI always report kinetic energy in MeV. #253

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

AbdielKavash
Copy link
Member

Previously, the Neutron Activator GUI would use the generic MUI number formatting function to report its kinetic energy in appropriate units (k, M, G) depending on the amount of KE stored. However, this has proven impractical at the high end of the scale: any amount of energy between 1e9 and 1.1e9 eV would simply be reported as "1 GeV". This is insufficient granularity for the player to know whether it is ready to run a recipe. For instance, the Naquadria-Rich Solution recipe needs the KE to be between 1,050 MeV and 1,100 MeV.

This PR makes the GUI always report the energy in MeV, as this is the unit used in all NEI diagrams and probably the most relevant one to the player.

@AbdielKavash AbdielKavash requested a review from a team April 22, 2024 03:35
@Dream-Master Dream-Master requested a review from a team April 22, 2024 10:31
@Dream-Master Dream-Master merged commit e19432a into GTNewHorizons:master Apr 22, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants