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