aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/HackerCommands.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-11 09:54:44 -0500
committerMichael <[email protected]>2017-03-11 09:54:44 -0500
commitdad61e325cfcd1ce12ae6f29d3778d1c919c6ab3 (patch)
tree64a75a52448e197c5bef4bdf0a0387be9be9a32d /ShiftOS.WinForms/HackerCommands.cs
parent49812bf46cb153af6bab8e2a095024da84fcc149 (diff)
downloadshiftos_thereturn-dad61e325cfcd1ce12ae6f29d3778d1c919c6ab3.tar.gz
shiftos_thereturn-dad61e325cfcd1ce12ae6f29d3778d1c919c6ab3.tar.bz2
shiftos_thereturn-dad61e325cfcd1ce12ae6f29d3778d1c919c6ab3.zip
fix the hacker101 story some more
Diffstat (limited to 'ShiftOS.WinForms/HackerCommands.cs')
-rw-r--r--ShiftOS.WinForms/HackerCommands.cs24
1 files changed, 21 insertions, 3 deletions
diff --git a/ShiftOS.WinForms/HackerCommands.cs b/ShiftOS.WinForms/HackerCommands.cs
index f9d3bcc..e2c4d12 100644
--- a/ShiftOS.WinForms/HackerCommands.cs
+++ b/ShiftOS.WinForms/HackerCommands.cs
@@ -59,10 +59,25 @@ namespace ShiftOS.WinForms
{
private static void writeSlow(string text)
{
- Console.Write("[hacker101@undisclosed]: ");
- Thread.Sleep(200);
+ ConsoleEx.ForegroundColor = ConsoleColor.DarkYellow;
+ ConsoleEx.Bold = false;
+ ConsoleEx.Italic = false;
+ Console.Write("[");
+ ConsoleEx.ForegroundColor = ConsoleColor.Magenta;
+ ConsoleEx.Bold = true;
+ Console.Write("hacker101");
+ ConsoleEx.ForegroundColor = ConsoleColor.DarkYellow;
+ ConsoleEx.Italic = true;
+ Console.Write("@");
+ ConsoleEx.ForegroundColor = ConsoleColor.White;
+ Console.Write("undisclosed");
+ ConsoleEx.ForegroundColor = ConsoleColor.DarkYellow;
+ ConsoleEx.Bold = false;
+ ConsoleEx.Italic = false;
+ Console.Write("]: ");
+ Thread.Sleep(850);
Console.WriteLine(text);
- Thread.Sleep(1000);
+ Thread.Sleep(4000);
}
[Story("hacker101_deadaccts")]
@@ -121,9 +136,12 @@ namespace ShiftOS.WinForms
TerminalBackend.PrefixEnabled = true;
Console.Write($"{SaveSystem.CurrentSave.Username}@{SaveSystem.CurrentSave.SystemName}:~$ ");
StartHackerTutorial();
+ TerminalBackend.PrefixEnabled = true;
+ TerminalBackend.PrintPrompt();
});
t.IsBackground = true;
t.Start();
+ TerminalBackend.PrefixEnabled = false;
}
internal static void StartHackerTutorial()