Add port-specific shore excursions and deck stack
This commit is contained in:
@@ -134,11 +134,17 @@ namespace Soundings
|
||||
}
|
||||
row.Control.EnableInClassList("fleet-roster-selected", row.Ship == Ship);
|
||||
row.Status.EnableInClassList("fleet-ship-at-sea", voyage != null);
|
||||
row.Status.EnableInClassList("fleet-ship-shore-alert", row.Ship.ShoreCall?.Phase == ShorePhase.AwaitingDecision);
|
||||
if (voyage == null)
|
||||
{
|
||||
docked[group]++;
|
||||
SetPassageText(row.Status, $"Docked at {Market.Ports[row.Ship.Port].Name}");
|
||||
SetPassageText(row.Readout, $"{row.Ship.Fuel:N0} / {row.Ship.Tank:N0} t fuel · {row.Ship.Condition}% condition");
|
||||
SetPassageText(row.Readout, row.Ship.ShoreCall is ShoreCall shore ? shore.Phase switch
|
||||
{
|
||||
ShorePhase.AwaitingDecision => $"{shore.LateGuests:N0} guests late · Departure decision needed",
|
||||
ShorePhase.Holding => $"Holding for {shore.LateGuests:N0} guests",
|
||||
_ => $"{shore.Guests:N0} guests on shore excursions"
|
||||
} : $"{row.Ship.Fuel:N0} / {row.Ship.Tank:N0} t fuel · {row.Ship.Condition}% condition");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user