Add riverboat captain career and distinct ship classes
Add class-specific vessel geometry and sea motion, a guided helm qualification path, dockside sailing orders, and local excursions at all 24 ports.
This commit is contained in:
@@ -28,13 +28,15 @@ namespace BigShipTycoon
|
||||
ChartLine(folio, $"{quote.SuiteGuests:N0} / {ship.SuiteBerths:N0} suite berths booked", $"+{Money(quote.SuitePremium)}");
|
||||
|
||||
DrawPortOrdersLink(folio, quote.Plan);
|
||||
if (company.IsCaptainCareer)
|
||||
AddText(folio, "Helm practice · Take command on the bridge, complete the check and let the boat reach port.", "chart-paper-note");
|
||||
DrawChartBunkering(folio, ship, quote);
|
||||
string blocker = company.DepartureBlock(ship, quote);
|
||||
if (!string.IsNullOrEmpty(blocker))
|
||||
AddText(folio, blocker, "chart-paper-note chart-departure-blocker");
|
||||
else
|
||||
{
|
||||
int seconds = Mathf.RoundToInt(PassageDuration(quote));
|
||||
int seconds = Mathf.RoundToInt(PassageDuration(quote) / PortPlanning.SpeedRate(PortPlanning.EngineMode(quote.Plan.Order)));
|
||||
AddText(folio, $"Cleared for departure · {seconds / 60}m {seconds % 60:00}s at 1×", "chart-cleared");
|
||||
}
|
||||
Button launch = Action("Cast off →", () => BeginVoyage(quote), "chart-ink-button chart-wide-button chart-cast-off", "dispatch");
|
||||
@@ -52,7 +54,7 @@ namespace BigShipTycoon
|
||||
var tank = Add(folio, "chart-tank");
|
||||
Add(tank, "chart-tank-fill").style.width = Length.Percent(100f * ship.Fuel / ship.Tank);
|
||||
if (quote != null)
|
||||
ChartLine(folio, "Burn + reserve", $"{quote.FuelBurn} + {quote.Reserve} t");
|
||||
ChartLine(folio, "Burn + reserve", $"{quote.DepartureFuelBurn} + {quote.Reserve} t");
|
||||
else
|
||||
ChartLine(folio, "Indicative safe range", $"{ship.SafeRange:N0} nm");
|
||||
ChartLine(folio, $"Price in {dock.Name}", $"{Money(Market.FuelPrice(ship.Port, company.Day))} / t");
|
||||
|
||||
Reference in New Issue
Block a user