aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/WinformsDesktop.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-09 19:40:41 -0400
committerMichael <[email protected]>2017-04-09 19:40:41 -0400
commitef64da6c1b814e7888ff0fc8753095f184bfc471 (patch)
treec2437d1635cb0f555164cdaa60446e243b655b33 /ShiftOS.WinForms/WinformsDesktop.cs
parent700a6a95cf2ca623aa6c0a780d2dc7003f4994f2 (diff)
downloadshiftos_thereturn-ef64da6c1b814e7888ff0fc8753095f184bfc471.tar.gz
shiftos_thereturn-ef64da6c1b814e7888ff0fc8753095f184bfc471.tar.bz2
shiftos_thereturn-ef64da6c1b814e7888ff0fc8753095f184bfc471.zip
Start DevX MCC story properly
Diffstat (limited to 'ShiftOS.WinForms/WinformsDesktop.cs')
-rw-r--r--ShiftOS.WinForms/WinformsDesktop.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs
index 7a346e3..5a42106 100644
--- a/ShiftOS.WinForms/WinformsDesktop.cs
+++ b/ShiftOS.WinForms/WinformsDesktop.cs
@@ -58,6 +58,23 @@ namespace ShiftOS.WinForms
public WinformsDesktop()
{
InitializeComponent();
+ Shiftorium.Installed += () =>
+ {
+ //Only if the DevX Legions story hasn't been experienced yet.
+ if (!Shiftorium.UpgradeInstalled("devx_legions"))
+ {
+ //Check for shiftnet story experience
+ if (Shiftorium.UpgradeInstalled("shiftnet"))
+ {
+ //Check for saturation of the "GUI" upgrade set
+ if (Shiftorium.IsCategoryEmptied("GUI"))
+ {
+ //Start the MUD Control Centre story.
+ Story.Start("devx_legions");
+ }
+ }
+ }
+ };
this.TopMost = false;
NotificationDaemon.NotificationMade += (note) =>