using NewHorizons.External.SerializableEnums; using Newtonsoft.Json; using System.ComponentModel; namespace NewHorizons.External.Modules.Volumes.VolumeInfos { [JsonObject] public class FluidVolumeInfo : PriorityVolumeInfo { /// /// Density of the fluid. The higher the density, the harder it is to go through this fluid. /// [DefaultValue(1.2f)] public float density = 1.2f; /// /// The type of fluid for this volume. /// public NHFluidType type; /// /// Should the player and rafts align to this fluid. /// [DefaultValue(true)] public bool alignmentFluid = true; /// /// Should the ship align to the fluid by rolling. /// public bool allowShipAutoroll; /// /// Disable this fluid volume immediately? /// public bool disableOnStart; } }