- Launcher checks whether a patch is newer than the current version instead of going through the patches until the current version is found
- CharacterHUD is drawn under crew commander and other UI elements
- All structures other than the command room windows are restored to full health in tutorial
- Longer cooldown for moloch attacks
- AIObjectiveCombat always overrides current order
This commit is contained in:
Regalis
2016-01-23 14:37:00 +02:00
parent c78784068c
commit 7098a9a5e0
17 changed files with 106 additions and 28 deletions

View File

@@ -306,13 +306,17 @@ namespace Barotrauma.Tutorials
yield return new WaitForSeconds(0.1f);
} while (!broken);
yield return new WaitForSeconds(0.1f);
//fix everything except the command windows
foreach (Structure w in Structure.WallList)
{
if (windows.Contains(w)) continue;
for (int i = 0; i < w.SectionCount; i++)
{
if (!w.SectionHasHole(i)) continue;
if (windows.Contains(w)) continue;
if (!w.SectionIsLeaking(i)) continue;
w.AddDamage(i, -100000.0f);
}
@@ -465,7 +469,7 @@ namespace Barotrauma.Tutorials
} while (broken);
infoBox = CreateInfoFrame("Great! However, there's still quite a bit of water inside the sub. It should be pumped out "
+ "using the pump in the room at the bottom of the submarine.");
+ "using the bilge pump in the room at the bottom of the submarine.");
Pump pump = Item.ItemList.Find(i => i.HasTag("tutorialpump")).GetComponent<Pump>();