aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Stories
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-10 10:17:10 -0400
committerMichael <[email protected]>2017-06-10 10:17:15 -0400
commitc40d071d58859e25b3781299b949b91caa0548fe (patch)
treed26956e6a06336af403e05cfe0ace0e50ff1b6ea /ShiftOS.WinForms/Stories
parent7dd109719be8a9e8b52655665f490f4f7956df80 (diff)
downloadshiftos_thereturn-c40d071d58859e25b3781299b949b91caa0548fe.tar.gz
shiftos_thereturn-c40d071d58859e25b3781299b949b91caa0548fe.tar.bz2
shiftos_thereturn-c40d071d58859e25b3781299b949b91caa0548fe.zip
main menu system + sandbox mode
Diffstat (limited to 'ShiftOS.WinForms/Stories')
-rw-r--r--ShiftOS.WinForms/Stories/LegionStory.cs42
1 files changed, 22 insertions, 20 deletions
diff --git a/ShiftOS.WinForms/Stories/LegionStory.cs b/ShiftOS.WinForms/Stories/LegionStory.cs
index 056fe85..c52732e 100644
--- a/ShiftOS.WinForms/Stories/LegionStory.cs
+++ b/ShiftOS.WinForms/Stories/LegionStory.cs
@@ -74,22 +74,10 @@ namespace ShiftOS.WinForms.Stories
WriteLine("Anyways, that's all I'll say for now. Have fun on the Shiftnet. I have to go work on something.");
WriteLine("One of my friends'll contact you once you've gotten a new service provider.");
- Story.PushObjective("Register with a new Shiftnet service provider.", "You've just unlocked the Shiftnet, which has opened up a whole new world of applications and features for ShiftOS. Before you go nuts with it, you may want to register with a better service provider than Freebie Solutions.", () =>
- {
- return SaveSystem.CurrentSave.ShiftnetSubscription != 0;
- },
- () =>
- {
- Story.Context.MarkComplete();
- SaveSystem.SaveGame();
- TerminalBackend.PrintPrompt();
- Story.Start("hacker101_breakingbonds_1");
- });
- TerminalBackend.PrefixEnabled = true;
- TerminalBackend.PrintPrompt();
- Story.Context.AutoComplete = false;
+ Story.Context.MarkComplete();
+ Story.Start("aiden_shiftnet2");
}
[Story("hacker101_breakingbonds_1")]
@@ -111,6 +99,9 @@ namespace ShiftOS.WinForms.Stories
WriteLine("Before I can do that, however, I need you to do a few things.");
WriteLine("I'll assign what I need you to do as an objective. When you're done, I'll tell you what you need to know.");
+ Story.Context.MarkComplete();
+ TerminalBackend.PrefixEnabled = true;
+
Story.PushObjective("Breaking the Bonds: Errand Boy", @"hacker101 has something he needs to show you, however before he can, you need to do the following:
- Buy ""TriWrite"" from Appscape
@@ -127,14 +118,25 @@ namespace ShiftOS.WinForms.Stories
SaveSystem.SaveGame();
Story.Start("hacker101_breakingbonds_2");
});
-
- TerminalBackend.PrefixEnabled = true;
- TerminalBackend.PrintPrompt();
-
Story.Context.AutoComplete = false;
-
}
+ [Story("aiden_shiftnet2")]
+ public static void AidenShiftnet2()
+ {
+ Story.PushObjective("Register with a new Shiftnet service provider.", "You've just unlocked the Shiftnet, which has opened up a whole new world of applications and features for ShiftOS. Before you go nuts with it, you may want to register with a better service provider than Freebie Solutions.", () =>
+ {
+ return SaveSystem.CurrentSave.ShiftnetSubscription != 0;
+ },
+ () =>
+ {
+ Story.Context.MarkComplete();
+ SaveSystem.SaveGame();
+ TerminalBackend.PrintPrompt();
+ Story.Start("hacker101_breakingbonds_1");
+ });
+ Story.Context.AutoComplete = false;
+ }
private static void WriteLine(string text, bool showCharacterName=true)
{
@@ -159,7 +161,7 @@ namespace ShiftOS.WinForms.Stories
{
Console.Write(c);
ConsoleEx.OnFlush?.Invoke();
- Thread.Sleep(45);
+ Thread.Sleep(5);
}
Thread.Sleep(1000);
}