new-horizons/NewHorizons/External/Modules/ShockEffectModule.cs
2023-03-25 13:51:15 -04:00

30 lines
904 B
C#

using Newtonsoft.Json;
using System.ComponentModel;
namespace NewHorizons.External.Modules
{
[JsonObject]
public class ShockEffectModule
{
/// <summary>
/// Does this planet have a shock effect when the nearest star goes supernova? Automatically disabled for stars, focal points, and stellar remnants.
/// </summary>
[DefaultValue(true)] public bool hasSupernovaShockEffect = true;
/// <summary>
/// Override the calculated radius of the shock effect
/// </summary>
public float? radius;
/// <summary>
/// Asset Bundle that contains the shock effect mesh
/// </summary>
public string assetBundle;
/// <summary>
/// Path to the replacement mesh for the planet's supernova shock effect in the supplied asset bundle
/// </summary>
public string meshPath;
}
}