aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/HackerCommands.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-10 12:29:28 -0500
committerMichael <[email protected]>2017-03-10 12:29:28 -0500
commita9754b7df28795b6bb2c5cfe04c1b38b19fb0d05 (patch)
tree6ad4355d5c413df83b4e55710bc9850448279697 /ShiftOS.WinForms/HackerCommands.cs
parenta9b08eb21676a6c59b0c8bb6046b40bd42e078d5 (diff)
downloadshiftos_thereturn-a9754b7df28795b6bb2c5cfe04c1b38b19fb0d05.tar.gz
shiftos_thereturn-a9754b7df28795b6bb2c5cfe04c1b38b19fb0d05.tar.bz2
shiftos_thereturn-a9754b7df28795b6bb2c5cfe04c1b38b19fb0d05.zip
Lock certain apps away when system offline.
Diffstat (limited to 'ShiftOS.WinForms/HackerCommands.cs')
-rw-r--r--ShiftOS.WinForms/HackerCommands.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/HackerCommands.cs b/ShiftOS.WinForms/HackerCommands.cs
index 52d8568..d9504d3 100644
--- a/ShiftOS.WinForms/HackerCommands.cs
+++ b/ShiftOS.WinForms/HackerCommands.cs
@@ -668,5 +668,15 @@ namespace ShiftOS.WinForms
return true;
}
+
+ [Command("experience", description = "Marks a story plot as experienced without triggering the plot.", usage ="{id:}")]
+ [RequiresArgument("id")]
+ [RemoteLock]
+ public static bool Experience(Dictionary<string, object> args)
+ {
+ SaveSystem.CurrentSave.StoriesExperienced.Add(args["id"].ToString());
+ SaveSystem.SaveGame();
+ return true;
+ }
}
}