mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Allow for oxygen tank refill message without trees.
This commit is contained in:
parent
9d6993fdf6
commit
c3d2073bc7
@ -46,7 +46,7 @@ namespace NewHorizons.Builder.Atmosphere
|
||||
|
||||
if (config.Atmosphere.hasOxygen)
|
||||
{
|
||||
airGO.AddComponent<OxygenVolume>();
|
||||
airGO.AddComponent<OxygenVolume>()._treeVolume = config.Atmosphere.hasTrees;
|
||||
}
|
||||
|
||||
if (config.Atmosphere.hasRain)
|
||||
|
||||
@ -74,6 +74,11 @@ namespace NewHorizons.External.Modules
|
||||
/// </summary>
|
||||
public bool hasOxygen;
|
||||
|
||||
/// <summary>
|
||||
/// Does this planet have trees? This will change the "Oxygen tank refilled" to "Trees detected, oxygen tank refilled".
|
||||
/// </summary>
|
||||
public bool hasTrees;
|
||||
|
||||
/// <summary>
|
||||
/// Does this planet have rain?
|
||||
/// </summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user