2025-01-18 10:09:15 -06:00

35 lines
1.2 KiB
C#

using Newtonsoft.Json;
using System.ComponentModel;
namespace NewHorizons.External.Modules.Props.EyeOfTheUniverse
{
[JsonObject]
public class QuantumInstrumentInfo : DetailInfo
{
/// <summary>
/// The unique ID of the Eye Traveler associated with this quantum instrument.
/// </summary>
public string id;
/// <summary>
/// A dialogue condition to set when gathering this quantum instrument. Use it in conjunction with `activationCondition` or `deactivationCondition` on other details.
/// </summary>
public string gatherCondition;
/// <summary>
/// Allows gathering this quantum instrument using the zoomed-in signalscope, like Chert's bongos.
/// </summary>
public bool gatherWithScope;
/// <summary>
/// The radius of the added sphere collider that will be used for interaction.
/// </summary>
[DefaultValue(0.5f)] public float interactRadius = 0.5f;
/// <summary>
/// The furthest distance where the player can interact with this quantum instrument.
/// </summary>
[DefaultValue(2f)] public float interactRange = 2f;
}
}