using NewHorizons.External.SerializableData;
using Newtonsoft.Json;
using System.ComponentModel;
namespace NewHorizons.External.Modules.VariableSize
{
[JsonObject]
public class WaterModule : VariableSizeModule
{
///
/// Size of the water sphere
///
public float size;
///
/// Density of the water sphere. The higher the density, the harder it is to go through this fluid.
///
[DefaultValue(30f)] public float density = 30f;
///
/// Buoyancy density of the water sphere
///
[DefaultValue(1.1f)] public float buoyancy = 1.1f;
///
/// Tint of the water
///
public MColor tint;
///
/// Will the ship automatically try to orient itself to face upwards while in this volume?
///
[DefaultValue(true)]
public bool allowShipAutoroll = true;
}
}