Tutorial tweaking
This commit is contained in:
@@ -283,7 +283,7 @@ namespace Barotrauma.Tutorials
|
|||||||
|
|
||||||
infoBox = CreateInfoFrame("Steer the submarine downwards, heading further into the cavern.");
|
infoBox = CreateInfoFrame("Steer the submarine downwards, heading further into the cavern.");
|
||||||
|
|
||||||
while (Submarine.MainSub.WorldPosition.Y > 36500.0f)
|
while (Submarine.MainSub.WorldPosition.Y > 40000.0f)
|
||||||
{
|
{
|
||||||
yield return CoroutineStatus.Running;
|
yield return CoroutineStatus.Running;
|
||||||
}
|
}
|
||||||
@@ -349,7 +349,7 @@ namespace Barotrauma.Tutorials
|
|||||||
if (isWindow)
|
if (isWindow)
|
||||||
{
|
{
|
||||||
//decrease window damage to slow down the leaking
|
//decrease window damage to slow down the leaking
|
||||||
w.AddDamage(i, -w.SectionDamage(i) * 0.495f);
|
w.AddDamage(i, -w.SectionDamage(i) * 0.48f);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ namespace Barotrauma.Tutorials
|
|||||||
GameMain.GameSession = new GameSession(Submarine.MainSub, "", GameModePreset.list.Find(gm => gm.Name.ToLowerInvariant() == "tutorial"));
|
GameMain.GameSession = new GameSession(Submarine.MainSub, "", GameModePreset.list.Find(gm => gm.Name.ToLowerInvariant() == "tutorial"));
|
||||||
(GameMain.GameSession.gameMode as TutorialMode).tutorialType = this;
|
(GameMain.GameSession.gameMode as TutorialMode).tutorialType = this;
|
||||||
|
|
||||||
GameMain.GameSession.StartShift("tuto2");
|
GameMain.GameSession.StartShift("tuto");
|
||||||
|
|
||||||
GameMain.GameSession.TaskManager.Tasks.Clear();
|
GameMain.GameSession.TaskManager.Tasks.Clear();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user