using NewHorizons.Utility;
using Newtonsoft.Json;
namespace NewHorizons.External.Modules.VariableSize
{
[JsonObject]
public class StarModule : VariableSizeModule
{
///
/// Radius of the star.
///
public float Size = 2000f;
///
/// Colour of the star.
///
public MColor Tint;
///
/// Colour of the star at the end of its life.
///
public MColor EndTint;
///
/// The tint of the supernova this star creates when it dies.
///
public MColor SupernovaTint;
///
/// Colour of the light given off.
///
public MColor LightTint;
///
/// Relative strength of the light compared to the sun.
///
public float SolarLuminosity = 1f;
///
/// The default sun has its own atmosphere that is different from regular planets. If you want that, set this to `true`.
///
public bool HasAtmosphere = true;
///
/// Should this star explode after 22 minutes?
///
public bool GoSupernova = true;
}
}