mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Update to 14, learn launch codes if starting loop 1 in a custom system
This commit is contained in:
parent
8a2510d1d3
commit
1dc04d7562
@ -544,6 +544,13 @@ namespace NewHorizons
|
|||||||
ResetCurrentStarSystem();
|
ResetCurrentStarSystem();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We are in a custom system on the first loop -> The time loop isn't active, that's not very good
|
||||||
|
// TimeLoop uses the launch codes condition to know if they loop is active or not
|
||||||
|
if (CurrentStarSystem != "SolarSystem" && CurrentStarSystem != "EyeOfTheUniverse" && PlayerData.LoadLoopCount() == 1)
|
||||||
|
{
|
||||||
|
PlayerData.SetPersistentCondition("LAUNCH_CODES_GIVEN", true);
|
||||||
|
}
|
||||||
|
|
||||||
// We only check previous when the scene unloads, and at that point current should be updated to the new system
|
// We only check previous when the scene unloads, and at that point current should be updated to the new system
|
||||||
NHLogger.LogVerbose($"Set the previous system to {CurrentStarSystem}");
|
NHLogger.LogVerbose($"Set the previous system to {CurrentStarSystem}");
|
||||||
_previousStarSystem = CurrentStarSystem;
|
_previousStarSystem = CurrentStarSystem;
|
||||||
|
|||||||
@ -15,8 +15,8 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="OuterWildsGameLibs" Version="1.1.13.457" />
|
<PackageReference Include="OuterWildsGameLibs" Version="1.1.14.768" />
|
||||||
<PackageReference Include="OWML" Version="2.9.7" />
|
<PackageReference Include="OWML" Version="2.9.8" />
|
||||||
<Reference Include="../Lib/System.ComponentModel.Annotations.dll" />
|
<Reference Include="../Lib/System.ComponentModel.Annotations.dll" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@ -4,8 +4,8 @@
|
|||||||
"author": "xen, Bwc9876, clay, MegaPiggy, John, Trifid, Hawkbar, Book",
|
"author": "xen, Bwc9876, clay, MegaPiggy, John, Trifid, Hawkbar, Book",
|
||||||
"name": "New Horizons",
|
"name": "New Horizons",
|
||||||
"uniqueName": "xen.NewHorizons",
|
"uniqueName": "xen.NewHorizons",
|
||||||
"version": "1.16.4",
|
"version": "1.17.0",
|
||||||
"owmlVersion": "2.9.7",
|
"owmlVersion": "2.9.8",
|
||||||
"dependencies": [ "JohnCorby.VanillaFix", "_nebula.MenuFramework", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ],
|
"dependencies": [ "JohnCorby.VanillaFix", "_nebula.MenuFramework", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ],
|
||||||
"conflicts": [ "Raicuparta.QuantumSpaceBuddies", "PacificEngine.OW_CommonResources" ],
|
"conflicts": [ "Raicuparta.QuantumSpaceBuddies", "PacificEngine.OW_CommonResources" ],
|
||||||
"pathsToPreserve": [ "planets", "systems", "translations" ]
|
"pathsToPreserve": [ "planets", "systems", "translations" ]
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
</None>
|
</None>
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
<PackageReference Include="NJsonSchema" Version="10.9.0" />
|
<PackageReference Include="NJsonSchema" Version="10.9.0" />
|
||||||
<PackageReference Include="OuterWildsGameLibs" Version="1.1.13.457" IncludeAssets="compile" />
|
<PackageReference Include="OuterWildsGameLibs" Version="1.1.14.768" IncludeAssets="compile" />
|
||||||
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
|
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user