aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Commands.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-08-04 18:35:53 -0400
committerMichael <[email protected]>2017-08-04 18:35:53 -0400
commit6ec4837523395accbb0ed8c9b206daa6882adc1a (patch)
tree93548c562bf1583143092b6e7158c3f027f331c1 /ShiftOS.Frontend/Commands.cs
parent1f131438c0be7fe7a7c558530d32f24d3696686a (diff)
downloadshiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.tar.gz
shiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.tar.bz2
shiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.zip
chat stuff and eas failure
Diffstat (limited to 'ShiftOS.Frontend/Commands.cs')
-rw-r--r--ShiftOS.Frontend/Commands.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/ShiftOS.Frontend/Commands.cs b/ShiftOS.Frontend/Commands.cs
index 67bf94f..e557ea2 100644
--- a/ShiftOS.Frontend/Commands.cs
+++ b/ShiftOS.Frontend/Commands.cs
@@ -44,6 +44,30 @@ using ShiftOS.Engine;
namespace ShiftOS.Frontend
{
+ public static class FrontendDebugCommands
+ {
+ /// <summary>
+ /// Debug command to drop a fatal objective/hack failure screen in the form of an emergency alert system-esque screen.
+ ///
+ /// ...Because WE'RE CANADA.
+ /// </summary>
+ [Command("drop_eas")]
+ [ShellConstraint("shiftos_debug> ")]
+ [RequiresArgument("id")]
+ public static void DropEAS(Dictionary<string, object> args)
+ {
+ Story.DisplayFailure(args["id"].ToString());
+ }
+
+ [Command("loaddefaultskn")]
+ [ShellConstraint("shiftos_debug> ")]
+ public static void LoadDefault()
+ {
+ Utils.Delete(Paths.GetPath("skin.json"));
+ SkinEngine.Init();
+ }
+ }
+
public static class Cowsay
{
[Command("cowsay")]