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

@@ -5,7 +5,7 @@ namespace Soundings
public sealed partial class OnboardSession
{
private static readonly float[] CrewCallSchedule = { .12f, .43f, .71f };
private readonly int[] stationReadyAt = new int[(int)StationKind.Pool + 1];
private readonly int[] stationReadyAt = new int[(int)StationKind.Retail + 1];
private readonly int[] stationBoostUntil = new int[ServiceKinds];
private int nextCrewCall, crewCallDeadline;
@@ -27,6 +27,7 @@ namespace Soundings
StationKind.Dining => "Dining host",
StationKind.Bar => "Bar counter",
StationKind.Stage => "Show lounge",
StationKind.Retail => "Shop checkout",
_ => "Pool terrace"
};
@@ -43,6 +44,7 @@ namespace Soundings
StationKind.Bar => "Start happy hour · 25% off",
StationKind.Stage => CanAdvancePerformance ? "Call the booked act" : "Open overflow seating",
StationKind.Pool => "Host a poolside game",
StationKind.Retail => "Start a shop sale · 25% off",
_ => "Take the helm"
};
@@ -67,6 +69,8 @@ namespace Soundings
StationKind.Waste when !CanSpend(TreatmentCost) => "No room in the operating budget",
StationKind.Bar when DiscountTicks(OnboardService.Drinks) > 0 => "Happy hour is already underway",
StationKind.Bar when GetPrice(OnboardService.Drinks) == 0 || capacity[(int)OnboardService.Drinks] == 0 => "There is no paid bar service to promote",
StationKind.Retail when DiscountTicks(OnboardService.Retail) > 0 => "A shop sale is already underway",
StationKind.Retail when GetPrice(OnboardService.Retail) == 0 || capacity[(int)OnboardService.Retail] == 0 => "Set a shopping price to run a sale",
StationKind.Stage when capacity[(int)OnboardService.Shows] == 0 => "No show lounge is fitted",
StationKind.Pool when Quote.Weather == WeatherCondition.Storm => "The terrace is closed in this weather",
StationKind.Pool when WaterPercent < 22 => "Freshwater is too low for pool operation",
@@ -95,6 +99,7 @@ namespace Soundings
stationBoostUntil[(int)OnboardService.Shows] = tick + 6;
break;
case StationKind.Pool: stationBoostUntil[(int)OnboardService.Amenities] = tick + 6; break;
case StationKind.Retail: StartSpecial(OnboardService.Retail); break;
}
stationReadyAt[(int)station] = tick + (station == StationKind.Engine ? 1 : 8);
@@ -122,6 +127,7 @@ namespace Soundings
StationKind.Cabins => "Guest services checked in · Survey improved",
StationKind.Bar => "Happy hour started · Drinks are 25% off",
StationKind.Stage => "Show lounge ready for guests",
StationKind.Retail => "Shop sale started · Merchandise is 25% off",
_ => "Poolside game started · More terrace capacity"
};