Make voyages active with dockside orders, crew calls, and ship PA
This commit is contained in:
@@ -17,10 +17,12 @@ namespace Soundings
|
||||
private readonly Dictionary<int, HarborMesh> batches = new Dictionary<int, HarborMesh>();
|
||||
private readonly List<Mesh> meshes = new List<Mesh>();
|
||||
private readonly List<Material> materials = new List<Material>();
|
||||
private readonly List<ShipStation> stations = new();
|
||||
private readonly float span, halfWidth, bayLength, doorway;
|
||||
private readonly Font font;
|
||||
public GameObject Root { get; }
|
||||
internal ShipWalkSpace WalkSpace { get; }
|
||||
internal IReadOnlyList<ShipStation> Stations => stations;
|
||||
|
||||
public ServiceDeckModel(Transform parent, float length, float beam, Shader fallbackSurface)
|
||||
{
|
||||
@@ -128,6 +130,8 @@ namespace Soundings
|
||||
|
||||
float z = halfWidth - 1.13f;
|
||||
float workSpan = Mathf.Min(bayLength - .90f, 7f);
|
||||
stations.Add(new ShipStation((StationKind)((int)StationKind.Engine + area),
|
||||
new Vector3(x, 1.51f, Mathf.Min(2.64f, z - .95f))));
|
||||
switch (area)
|
||||
{
|
||||
case 0: Machinery(x, z, workSpan); break;
|
||||
|
||||
Reference in New Issue
Block a user