Unstable 0.14.6.0
This commit is contained in:
@@ -294,7 +294,7 @@ namespace Barotrauma
|
||||
else
|
||||
{
|
||||
Random rand = new MTRandom(ToolBox.StringToInt(levelData.Seed));
|
||||
var huntingGroundsMissionPrefab = ToolBox.SelectWeightedRandom(huntingGroundsMissionPrefabs, huntingGroundsMissionPrefabs.Select(p => (float)p.Commonness).ToList(), rand);
|
||||
var huntingGroundsMissionPrefab = ToolBox.SelectWeightedRandom(huntingGroundsMissionPrefabs, huntingGroundsMissionPrefabs.Select(p => (float)Math.Max(p.Commonness, 0.1f)).ToList(), rand);
|
||||
if (!Missions.Any(m => m.Prefab.Tags.Any(t => t.Equals("huntinggrounds", StringComparison.OrdinalIgnoreCase))))
|
||||
{
|
||||
extraMissions.Add(huntingGroundsMissionPrefab.Instantiate(Map.SelectedConnection.Locations, Submarine.MainSub));
|
||||
|
||||
@@ -640,6 +640,18 @@ namespace Barotrauma
|
||||
return missions.IndexOf(mission);
|
||||
}
|
||||
|
||||
public void EnforceMissionOrder(List<string> missionIdentifiers)
|
||||
{
|
||||
List<Mission> sortedMissions = new List<Mission>();
|
||||
foreach (string missionId in missionIdentifiers)
|
||||
{
|
||||
var matchingMission = missions.Find(m => m.Prefab.Identifier == missionId);
|
||||
sortedMissions.Add(matchingMission);
|
||||
missions.Remove(matchingMission);
|
||||
}
|
||||
missions.AddRange(sortedMissions);
|
||||
}
|
||||
|
||||
partial void UpdateProjSpecific(float deltaTime);
|
||||
|
||||
public void EndRound(string endMessage, List<TraitorMissionResult> traitorResults = null, CampaignMode.TransitionType transitionType = CampaignMode.TransitionType.None)
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
v0.14.6.0
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Fixed "entity not found" errors when receiving attack data for a character that's been removed (most often a terminal cell).
|
||||
- Fixed occasional "mission equality check failed" errors when starting a round with multiple missions selected.
|
||||
- Fixed outpost events not triggering in levels with a difficulty between 40-41.
|
||||
- Fixed hunting grounds missions only spawning endworms.
|
||||
- Fixed 2nd part of the Jacov Subra event chain not triggering.
|
||||
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
v0.14.5.0
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
@@ -70,7 +80,6 @@ Changes:
|
||||
- Allow clicking on the main menu buttons when the credits are open.
|
||||
- Option to adjust motion sensor's update interval in the sub editor.
|
||||
|
||||
|
||||
Fixes:
|
||||
- Fixed clients timing out at the start of a multiplayer round if loading the campaign save takes more than 30 seconds.
|
||||
- Fixed previous missions still being available in outposts that have become abandoned due to radiation.
|
||||
|
||||
Reference in New Issue
Block a user