From ef64da6c1b814e7888ff0fc8753095f184bfc471 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 9 Apr 2017 19:40:41 -0400 Subject: Start DevX MCC story properly --- ShiftOS.WinForms/WinformsDesktop.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ShiftOS.WinForms/WinformsDesktop.cs') 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) => -- cgit v1.2.3