Add fleet save slots and rotatable onboard venues

This commit is contained in:
josh
2026-11-28 16:04:48 -05:00
parent a9472edc35
commit c570a64840
37 changed files with 1970 additions and 310 deletions

View File

@@ -17,6 +17,14 @@ namespace Soundings
if (root == null)
return;
if (careerMenu != CareerMenu.Closed)
{
if (Input.GetKeyDown(KeyCode.Escape))
CloseCareerMenu();
return;
}
AutosaveCareer();
float delta = Time.unscaledDeltaTime;
if (harbor.PortCinematicActive)
{
@@ -40,6 +48,7 @@ namespace Soundings
else if (title && pendingStart.HasValue)
{
pendingStart = null;
careerError = null;
Render();
}
else if (!title)
@@ -70,6 +79,9 @@ namespace Soundings
if (title || paused || fleetOpen || EditingText())
return;
if (page == 1 && Input.GetKeyDown(KeyCode.R))
RotateDeckTool();
for (int i = 0; i < HotbarPages.Length; i++)
{
if (Input.GetKeyDown((KeyCode)((int)KeyCode.Alpha1 + i)))
@@ -259,6 +271,7 @@ namespace Soundings
page = 0;
Notify(null);
FocusPassage(passage, true);
Save();
if (!StartPortCinematic(quote.Origin, false))
Render();
}