(sorry for the spam posts in off-topic, I needed 10 posts to be able to make this thread.)
I'm trying to make a star system generator in Unity game engine. First thing, I'm making stars. It has issues with values being messed up for different startypes.
Here is my code for generating things. First, the star class is generated, then the absolute magnitude and the temperature are generated based on that. Finally, it gets sent to this file for the rest of the values to be calculated using built in functions.
Here is a csv with all the star data.
https://docs.google.com/spreadsheets/d/ ... sp=sharing