mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Refresh rumours properly between systems
This commit is contained in:
parent
f8178a78f8
commit
38ee1ae7a2
@ -16,10 +16,18 @@ namespace NewHorizons.Builder.ShipLog
|
|||||||
{
|
{
|
||||||
public static class RumorModeBuilder
|
public static class RumorModeBuilder
|
||||||
{
|
{
|
||||||
private static readonly Dictionary<CuriosityName, Color> _curiosityColors = new Dictionary<CuriosityName, Color>();
|
private static Dictionary<CuriosityName, Color> _curiosityColors;
|
||||||
private static readonly Dictionary<CuriosityName, Color> _curiosityHighlightColors = new Dictionary<CuriosityName, Color>();
|
private static Dictionary<CuriosityName, Color> _curiosityHighlightColors;
|
||||||
private static readonly Dictionary<string, CuriosityName> _rawNameToCuriosityName = new Dictionary<string, CuriosityName>();
|
private static Dictionary<string, CuriosityName> _rawNameToCuriosityName;
|
||||||
private static readonly Dictionary<string, string> _entryIdToRawName = new Dictionary<string, string>();
|
private static Dictionary<string, string> _entryIdToRawName;
|
||||||
|
|
||||||
|
public static void Init()
|
||||||
|
{
|
||||||
|
_curiosityColors = new Dictionary<CuriosityName, Color>();
|
||||||
|
_curiosityHighlightColors = new Dictionary<CuriosityName, Color>();
|
||||||
|
_rawNameToCuriosityName = new Dictionary<string, CuriosityName>();
|
||||||
|
_entryIdToRawName = new Dictionary<string, string>();
|
||||||
|
}
|
||||||
|
|
||||||
public static void AddCuriosityColors(ShipLogModule.CuriosityColorInfo[] newColors)
|
public static void AddCuriosityColors(ShipLogModule.CuriosityColorInfo[] newColors)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -33,6 +33,7 @@ namespace NewHorizons.Tools
|
|||||||
|
|
||||||
public static void OnShipLogManagerAwake(ShipLogManager __instance)
|
public static void OnShipLogManagerAwake(ShipLogManager __instance)
|
||||||
{
|
{
|
||||||
|
RumorModeBuilder.Init();
|
||||||
ShipLogHandler.Init();
|
ShipLogHandler.Init();
|
||||||
Logger.Log("Beginning Ship Log Generation For: " + Main.Instance.CurrentStarSystem, Logger.LogType.Log);
|
Logger.Log("Beginning Ship Log Generation For: " + Main.Instance.CurrentStarSystem, Logger.LogType.Log);
|
||||||
if (Main.Instance.CurrentStarSystem != "SolarSystem")
|
if (Main.Instance.CurrentStarSystem != "SolarSystem")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user