Make Soundings voyages playable with ship operations and guided tips

This commit is contained in:
josh
2026-11-27 22:24:17 -05:00
parent 4b870fb0ce
commit 33cdd6dfa7
37 changed files with 2734 additions and 126 deletions

View File

@@ -7,7 +7,7 @@ namespace Soundings
{
private enum GuideStep
{
Off, GetShip, Cabins, Dining, SetCourse, Bunker, Fare, CastOff, Review
Off, GetShip, Cabins, Dining, SetCourse, Bunker, Fare, CastOff, Review, AtSea
}
private const int StarterCabinModules = 4;
@@ -40,8 +40,13 @@ namespace Soundings
private void RefreshGuide()
{
guideContext = GuideStep.Off;
if (title || company == null || company.TutorialStep == 0 || underway != null)
if (title || company == null || company.TutorialStep == 0)
return;
if (underway != null)
{
guideContext = GuideStep.AtSea;
return;
}
Ship ship = Ship;
if (guideFareShip != ship)
@@ -148,7 +153,14 @@ namespace Soundings
return ("Read the arrival statement", "Open the Logbook to see your voyage profit and cash change.", "nav-4");
if (ledgerAccounts)
return ("Read the arrival statement", "Switch to Voyage records to review your latest crossing.", "log-voyages");
return ("Check the passage", "Compare net profit and cash change. You can refit the ship in Deck Plans.", "voyage-0");
return ("Check the passage", "Check the voyage profit and guest survey. You can refit the ship in Deck Plans.", "voyage-0");
case GuideStep.AtSea:
if (passageServiceArea >= 0)
return ("Run the service deck", "Inspect each station. You can switch between Assisted and Manual operations here.", "service-assist");
if (passageBridge || passageExploring)
return ("Walk the ship", "Move with WASD and hold the right mouse button to look. Exterior returns to the ship view.", null);
return ("Make the crossing count", "Set onboard prices, offer specials, and watch for events. Choose Bridge or a deck view to look around.", "passage-business");
default:
return GuideCourse();
@@ -159,6 +171,8 @@ namespace Soundings
{
if (page != 1)
return (heading, "Open Deck Plans to lay out your ship.", "nav-1");
if (systemTools)
return (heading, "Open Guest facilities to fit cabins and dining.", "facility-guests");
string facilityName = Market.Facilities[(int)facility].Name;
if (tool != facility)