Add multi-stop voyages, a live chart, and named port announcements
This commit is contained in:
@@ -131,6 +131,12 @@ namespace Soundings
|
||||
bunkerTons = 0;
|
||||
if (Ship == null)
|
||||
return;
|
||||
if (Ship.Itinerary is { HasNext: true } itinerary)
|
||||
{
|
||||
destination = itinerary.NextPort;
|
||||
SetRecommendedFuel();
|
||||
return;
|
||||
}
|
||||
foreach (Lane lane in Market.Lanes)
|
||||
{
|
||||
int other = lane.Other(Ship.Port);
|
||||
@@ -384,7 +390,8 @@ namespace Soundings
|
||||
|
||||
var commands = Add(scene, "helm-orders");
|
||||
commands.pickingMode = PickingMode.Ignore;
|
||||
Button plan = Action("Set course", OpenVoyageChart, "primary helm-command", "plan-voyage");
|
||||
Button plan = Action(ship.Itinerary is { HasNext: true, CompletedStops: > 0 } ? "Plan next leg" : "Set course",
|
||||
OpenVoyageChart, "primary helm-command", "plan-voyage");
|
||||
GameIcon(plan, "chart");
|
||||
commands.Add(plan);
|
||||
var camera = Add(commands, "camera-legend");
|
||||
|
||||
Reference in New Issue
Block a user