mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Start DevX MCC story properly
This commit is contained in:
parent
700a6a95cf
commit
ef64da6c1b
2 changed files with 18 additions and 1 deletions
|
@ -220,7 +220,7 @@
|
|||
{
|
||||
Name: "AL MUD Control Centre",
|
||||
Cost: 150,
|
||||
Dependencies: "mud_fundamentals;app_launcher",
|
||||
Dependencies: "mud_control_centre;app_launcher",
|
||||
Category: "Device Drivers",
|
||||
Description: "Want to access your MUD profile, legions, jobs and shops, but don't want to open your Terminal? This upgrade is for you!"
|
||||
},
|
||||
|
|
|
@ -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) =>
|
||||
|
|
Loading…
Reference in a new issue