Unlock expanded venues and manage concurrent fleet voyages
This commit is contained in:
@@ -69,19 +69,23 @@ namespace Soundings
|
||||
spoken[i] = Resources.Load<AudioClip>($"Audio/PA/{(PassageAnnouncement)i}");
|
||||
}
|
||||
|
||||
internal void Begin(int destination)
|
||||
internal void Begin(int destination, bool announceDeparture = true, bool approachAnnounced = false)
|
||||
{
|
||||
End();
|
||||
crossing = true;
|
||||
approachSent = false;
|
||||
approachSent = approachAnnounced;
|
||||
nextPort = Market.Ports[destination].Name;
|
||||
departureForPort = LoadPortClip("Departure", destination);
|
||||
approachForPort = LoadPortClip("Approach", destination);
|
||||
distanceSinceStep = 0;
|
||||
announcementClock = announcementGap = 0;
|
||||
Array.Clear(repeatAfter, 0, repeatAfter.Length);
|
||||
wind.Play();
|
||||
engine.Play();
|
||||
Announce(PassageAnnouncement.Departure);
|
||||
if (!wind.isPlaying)
|
||||
wind.Play();
|
||||
if (!engine.isPlaying)
|
||||
engine.Play();
|
||||
if (announceDeparture)
|
||||
Announce(PassageAnnouncement.Departure);
|
||||
}
|
||||
|
||||
internal void End()
|
||||
|
||||
Reference in New Issue
Block a user