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;
|
airGO.AddComponent<OxygenVolume>()._treeVolume = config.Atmosphere.hasTrees;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: figure out what to change "config.Atmosphere.hasRain" to...
|
|
||||||
if (config.Atmosphere.hasRain)
|
if (config.Atmosphere.hasRain)
|
||||||
{
|
{
|
||||||
var vref = airGO.AddComponent<VisorRainEffectVolume>();
|
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>
|
/// </summary>
|
||||||
public bool hasTrees;
|
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>
|
/// <summary>
|
||||||
/// Scale height of the atmosphere
|
/// Scale height of the atmosphere
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -164,7 +171,6 @@ namespace NewHorizons.External.Modules
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[DefaultValue(0f)] public float rotationSpeed = 0f;
|
[DefaultValue(0f)] public float rotationSpeed = 0f;
|
||||||
|
|
||||||
|
|
||||||
#region Obsolete
|
#region Obsolete
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -179,10 +185,6 @@ namespace NewHorizons.External.Modules
|
|||||||
|
|
||||||
|
|
||||||
#region Obsolete
|
#region Obsolete
|
||||||
|
|
||||||
[Obsolete("HasRain is deprecated, please use VectionFields instead")]
|
|
||||||
public bool hasRain;
|
|
||||||
|
|
||||||
[Obsolete("HasSnow is deprecated, please use VectionFields instead")]
|
[Obsolete("HasSnow is deprecated, please use VectionFields instead")]
|
||||||
public bool hasSnow;
|
public bool hasSnow;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user