mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Rename to persistentConditionRequiredForTitle to be more clear
This commit is contained in:
parent
2774f6a68b
commit
109a030ab4
@ -22,7 +22,7 @@ namespace NewHorizons.External.Configs
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Persistent condition required for this title screen to appear.
|
/// Persistent condition required for this title screen to appear.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string conditionRequiredForTitle;
|
public string persistentConditionRequiredForTitle;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// If set to true, NH generated planets will not show on the title screen. If false, this title screen has the same chance as other NH planet title screens to show.
|
/// If set to true, NH generated planets will not show on the title screen. If false, this title screen has the same chance as other NH planet title screens to show.
|
||||||
|
|||||||
@ -526,7 +526,7 @@ namespace NewHorizons.Handlers
|
|||||||
|
|
||||||
public bool KnowsFact() => string.IsNullOrEmpty(config.factRequiredForTitle) || StandaloneProfileManager.SharedInstance.currentProfile != null && ShipLogHandler.KnowsFact(config.factRequiredForTitle);
|
public bool KnowsFact() => string.IsNullOrEmpty(config.factRequiredForTitle) || StandaloneProfileManager.SharedInstance.currentProfile != null && ShipLogHandler.KnowsFact(config.factRequiredForTitle);
|
||||||
|
|
||||||
public bool HasCondition() => string.IsNullOrEmpty(config.conditionRequiredForTitle) || StandaloneProfileManager.SharedInstance.currentProfile != null && PlayerData.GetPersistentCondition(config.conditionRequiredForTitle);
|
public bool HasCondition() => string.IsNullOrEmpty(config.persistentConditionRequiredForTitle) || StandaloneProfileManager.SharedInstance.currentProfile != null && PlayerData.GetPersistentCondition(config.persistentConditionRequiredForTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal interface ITitleScreenBuilder
|
internal interface ITitleScreenBuilder
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user