using NewHorizons.External.SerializableData; using Newtonsoft.Json; using System.ComponentModel; namespace NewHorizons.External.Modules.Props.EchoesOfTheEye { [JsonObject] public class SlideInfo { /// /// The path to the image file for this slide. /// public string imagePath; // SlideAmbientLightModule /// /// Ambient light intensity when viewing this slide. /// Set this to add ambient light module. Base game default is 1. /// public float ambientLightIntensity; /// /// Ambient light range when viewing this slide. /// [DefaultValue(20f)] public float ambientLightRange = 20f; /// /// Ambient light colour when viewing this slide. Defaults to white. /// public MColor ambientLightColor; /// /// Spotlight intensity modifier when viewing this slide. /// [DefaultValue(0f)] public float spotIntensityMod = 0f; // SlideBackdropAudioModule /// /// The name of the AudioClip that will continuously loop while watching these slides. /// Set this to include backdrop audio module. Base game default is Reel_1_Backdrop_A. /// public string backdropAudio; /// /// The time to fade into the backdrop audio. /// [DefaultValue(2f)] public float backdropFadeTime = 2f; // SlideBeatAudioModule /// /// The name of the AudioClip for a one-shot sound when opening the slide. /// Set this to include beat audio module. Base game default is Reel_1_Beat_A. /// public string beatAudio; /// /// The time delay until the one-shot audio. /// [DefaultValue(0f)] public float beatDelay = 0f; // SlideBlackFrameModule /// /// Before viewing this slide, there will be a black frame for this many seconds. /// Set this to include black frame module. Base game default is 0. /// public float blackFrameDuration; // SlidePlayTimeModule /// /// Play-time duration for auto-projector slides. /// Set this to include play time module. Base game default is 0. /// public float playTimeDuration; // SlideShipLogEntryModule /// /// Ship log fact revealed when viewing this slide. /// Set this to include ship log entry module. Base game default is "". /// public string reveal; // SlideRotationModule /// /// Exclusive to slide reels. Whether this slide should rotate the reel item while inside a projector. /// [DefaultValue(true)] public bool rotate = true; } }