(eb3823e18) updated decals for tutorial station

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:27:33 +03:00
parent 1cdd62360f
commit fef173f129
11 changed files with 403 additions and 112 deletions
@@ -73,36 +73,6 @@ namespace Barotrauma
}
}
public override void Update(float deltaTime)
{
if (objectiveManager.CurrentObjective == this)
{
if (randomTimer > 0)
{
randomTimer -= deltaTime;
}
else
{
SetRandom();
}
}
}
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;
@@ -331,8 +301,8 @@ namespace Barotrauma
{
if (hull == null) { return true; }
string hullName = hull.RoomName?.ToLowerInvariant();
if (hullName == null) { return false; }
return hullName.Contains("ballast") || hullName.Contains("airlock");
bool isForbidden = hullName.Contains("ballast") || hullName.Contains("airlock");
return isForbidden;
}
public override bool IsDuplicate(AIObjective otherObjective)