(88b6f8fbc) Remora: fixed gap between sub and drone, added medical supplies and hq pic again

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:37:12 +03:00
parent d21ccf5ecd
commit 96af576da3
11 changed files with 300 additions and 1285 deletions
@@ -88,6 +88,21 @@ namespace Barotrauma
}
}
public override void Update(float deltaTime)
{
if (objectiveManager.CurrentObjective == this)
{
if (randomTimer > 0)
{
randomTimer -= deltaTime;
}
else
{
SetRandom();
}
}
}
public override bool IsCompleted() => false;
public override bool CanBeCompleted => true;
@@ -609,6 +609,10 @@ namespace Barotrauma
{
isCompleted = true;
}
if (component.AIOperate(deltaTime, character, this))
{
isCompleted = true;
}
}
else
{