v1.4.4.1 (Blood in the Water Update)

This commit is contained in:
Regalis11
2024-04-24 18:09:05 +03:00
parent 89b91d1c3e
commit ff1b8951a7
397 changed files with 15250 additions and 6479 deletions
@@ -102,6 +102,9 @@ namespace Barotrauma
[Serialize(float.PositiveInfinity, IsPropertySaveable.No)]
public float ReportRange { get; protected set; }
[Serialize(float.PositiveInfinity, IsPropertySaveable.No)]
public float FindWeaponsRange { get; protected set; }
public Identifier[] PreferredOutpostModuleTypes { get; protected set; }
@@ -172,6 +175,7 @@ namespace Barotrauma
}
}
humanAI.ReportRange = ReportRange;
humanAI.FindWeaponsRange = FindWeaponsRange;
humanAI.AimSpeed = AimSpeed;
humanAI.AimAccuracy = AimAccuracy;
}
@@ -182,6 +186,7 @@ namespace Barotrauma
{
humanAI.ObjectiveManager.SetForcedOrder(new AIObjectiveGoTo(positionToStayIn, npc, humanAI.ObjectiveManager, repeat: true, getDivingGearIfNeeded: false, closeEnough: 200)
{
FaceTargetOnCompleted = false,
DebugLogWhenFails = false,
IsWaitOrder = true,
CloseEnough = 100