Unlock expanded venues and manage concurrent fleet voyages
This commit is contained in:
@@ -21,9 +21,11 @@ namespace Soundings
|
||||
AddDisplay(settlement, Money(quote.NetIncome), quote.NetIncome >= 0 ? "chart-projected-profit" : "chart-projected-profit chart-projected-loss");
|
||||
|
||||
var fares = Add(folio, "chart-money-row");
|
||||
AddText(fares, "Fare per guest", "chart-money-label");
|
||||
AddText(fares, ship.SuiteBerths > 0 ? "Base fare per guest" : "Fare per guest", "chart-money-label");
|
||||
ChartStepper(fares, Money(ship.Fare), "fare", () => ChangeFare(ship, -50), () => ChangeFare(ship, 50),
|
||||
ship.Fare > Market.MinFare, ship.Fare < Market.MaxFare);
|
||||
if (ship.SuiteBerths > 0)
|
||||
ChartLine(folio, $"{quote.SuiteGuests:N0} / {ship.SuiteBerths:N0} suite berths booked", $"+{Money(quote.SuitePremium)}");
|
||||
|
||||
DrawPortOrdersLink(folio, quote.Plan);
|
||||
DrawChartBunkering(folio, ship, quote);
|
||||
@@ -66,7 +68,7 @@ namespace Soundings
|
||||
SetRecommendedFuel();
|
||||
Apply(failure, $"Loaded {ordered} t of fuel in {dock.Name}.");
|
||||
}, "chart-ink-button chart-buy-fuel", "buy-fuel");
|
||||
buy.SetEnabled(bunkerTons > 0 && company.Cash >= company.BunkerCost(ship, bunkerTons));
|
||||
buy.SetEnabled(bunkerTons > 0 && company.AvailableCash >= company.BunkerCost(ship, bunkerTons));
|
||||
buying.Add(buy);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user