using NewHorizons.Utility;
using Newtonsoft.Json;
using System.ComponentModel;
using UnityEngine.Internal;
namespace NewHorizons.External.Modules.VariableSize
{
[JsonObject]
public class StarModule : VariableSizeModule
{
///
/// Radius of the star.
///
[DefaultValue(2000f)]
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.
///
[DefaultValue(1f)]
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`.
///
[DefaultValue(true)]
public bool HasAtmosphere = true;
///
/// Should this star explode after 22 minutes?
///
[DefaultValue(true)]
public bool GoSupernova = true;
}
}