Skip to content

Conversation

@Rundas01
Copy link
Contributor

@Rundas01 Rundas01 commented Mar 12, 2025

What

  1. I've noticed that some elements are not using their most abundant/most stable isotope as their base one. Details on what was changed exactly can be found in the description of the commit.

  2. Imo it's kinda bothering/misleading that the average mass/protons/neutrons in the material tree are shown with respect to a single dust/ingot instead of per mole. Of course this applies to compounds only but look at PBI for example: A compound with 36 total components showing 8 as its average mass is nonsense xD

Outcome

Corrected all elements and changed the material tree to work with moles instead. See screenshot below. If you really dislike the material tree change, I'll be sad but can revert that commit, so no need to prematurely close this.
image

I went by the following rules:
1) If an element has at least 2 stable isotopes, use the one with the highest isotopic signature

2) If an element has only 1 stable isotope, use that

3) If an element has no stable isotopes, use the one with the longest half life time
@Rundas01 Rundas01 requested a review from a team as a code owner March 12, 2025 21:52
@Zorbatron Zorbatron added the type: refactor Suggestion to refactor a section of code label Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants