v1.5.7.0 (Summer Update)

This commit is contained in:
Regalis11
2024-06-18 16:49:51 +03:00
parent 4a63dacbce
commit 230d1b6e78
263 changed files with 7792 additions and 2845 deletions
@@ -9,7 +9,7 @@ namespace Barotrauma
public override Identifier Identifier { get; set; } = "fix leaks".ToIdentifier();
public override bool ForceRun => true;
public override bool KeepDivingGearOn => true;
public override bool AllowInFriendlySubs => true;
protected override bool AllowInFriendlySubs => true;
private Hull PrioritizedHull { get; set; }
@@ -18,7 +18,7 @@ namespace Barotrauma
PrioritizedHull = prioritizedHull;
}
protected override bool Filter(Gap gap) => IsValidTarget(gap, character);
protected override bool IsValidTarget(Gap gap) => IsValidTarget(gap, character);
public static float GetLeakSeverity(Gap leak)
{
@@ -37,7 +37,7 @@ namespace Barotrauma
}
}
protected override float TargetEvaluation()
protected override float GetTargetPriority()
{
int totalLeaks = Targets.Count;
if (totalLeaks == 0) { return 0; }