mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Don't make hasRain obsolete
This commit is contained in:
parent
34a27f8c70
commit
acadcc8300
@ -57,7 +57,6 @@ namespace NewHorizons.Builder.Atmosphere
|
||||
airGO.AddComponent<OxygenVolume>()._treeVolume = config.Atmosphere.hasTrees;
|
||||
}
|
||||
|
||||
// TODO: figure out what to change "config.Atmosphere.hasRain" to...
|
||||
if (config.Atmosphere.hasRain)
|
||||
{
|
||||
var vref = airGO.AddComponent<VisorRainEffectVolume>();
|
||||
|
||||
12
NewHorizons/External/Modules/AtmosphereModule.cs
vendored
12
NewHorizons/External/Modules/AtmosphereModule.cs
vendored
@ -74,6 +74,13 @@ namespace NewHorizons.External.Modules
|
||||
/// </summary>
|
||||
public bool hasTrees;
|
||||
|
||||
/// <summary>
|
||||
/// Does this planet have rain?
|
||||
/// This is equivalent to effects of setting a rain vection field, rain audio volume, and visor effect volume, combined for convenience.
|
||||
/// For more control over the rain, use those individual components.
|
||||
/// </summary>
|
||||
public bool hasRain;
|
||||
|
||||
/// <summary>
|
||||
/// Scale height of the atmosphere
|
||||
/// </summary>
|
||||
@ -163,7 +170,6 @@ namespace NewHorizons.External.Modules
|
||||
/// How fast the clouds will rotate relative to the planet in degrees per second.
|
||||
/// </summary>
|
||||
[DefaultValue(0f)] public float rotationSpeed = 0f;
|
||||
|
||||
|
||||
#region Obsolete
|
||||
|
||||
@ -179,10 +185,6 @@ namespace NewHorizons.External.Modules
|
||||
|
||||
|
||||
#region Obsolete
|
||||
|
||||
[Obsolete("HasRain is deprecated, please use VectionFields instead")]
|
||||
public bool hasRain;
|
||||
|
||||
[Obsolete("HasSnow is deprecated, please use VectionFields instead")]
|
||||
public bool hasSnow;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user