I want to understand how the total amount of minerals on a planet is defined in the ingame files.
What I could figure out was that every planet is defined in "Star Control Origins\Assets\Galaxies\StarControlGalaxy.xml".
If I search for "Vega Minor", I see that this entry has the planet template "Radioactive". When I open "Star Control Origins\Assets\PlanetTemplate\Radioactive.planettemplate_xml", I read "<mineralRecord totalRu="4500">". However, ingame this planet is shown with 2750 RU. There are more such differences with other planets (but sometimes it is quite accurate), so obviously I don't understand exactly what is going on.
Can someone point me to the right direction on what I'm missing?