Use item keys for body resources
This commit is contained in:
parent
b24811a69a
commit
2d3172887b
7 changed files with 10 additions and 7 deletions
|
|
@ -124,7 +124,7 @@ public static class ZoneGenerator
|
|||
|
||||
blueprint.Bodies = planets.Where(p=>!p.Empty).Select(planet =>
|
||||
{
|
||||
// Dictionary<Guid, float> planetResources = new Dictionary<Guid, float>();
|
||||
// Dictionary<string, float> planetResources = new Dictionary<string, float>();
|
||||
BodyType bodyType = planet.Belt ? BodyType.Asteroid :
|
||||
planet.Mass > zoneSettings.SunMass ? BodyType.Sun :
|
||||
planet.Mass > zoneSettings.GasGiantMass ? BodyType.GasGiant :
|
||||
|
|
|
|||
Loading…
Reference in a new issue