using Newtonsoft.Json; namespace NewHorizons.External.Modules { [JsonObject] public class AsteroidBeltModule { /// /// Lowest distance from the planet asteroids can spawn /// public float InnerRadius; /// /// Greatest distance from the planet asteroids can spawn /// public float OuterRadius; /// /// Minimum size of the asteroids. /// [System.ComponentModel.DefaultValue(20)] public float MinSize = 20; /// /// Maximum size of the asteroids. /// [System.ComponentModel.DefaultValue(50)] public float MaxSize = 50f; /// /// Amount of asteroids to create. /// [System.ComponentModel.DefaultValue(-1)] public int Amount = -1; /// /// Angle between the rings and the equatorial plane of the planet. /// public float Inclination; /// /// Angle defining the point where the rings rise up from the planet's equatorial plane if inclination is nonzero. /// public float LongitudeOfAscendingNode; /// /// Number used to randomize asteroid positions /// public int RandomSeed; /// /// How the asteroids are generated /// public ProcGenModule ProcGen; } }