diff --git a/ShiftOS.Frontend/Apps/Pong.cs b/ShiftOS.Frontend/Apps/Pong.cs index eafe1bb..61b1dc9 100644 --- a/ShiftOS.Frontend/Apps/Pong.cs +++ b/ShiftOS.Frontend/Apps/Pong.cs @@ -13,6 +13,7 @@ namespace ShiftOS.Frontend.Apps [WinOpen("{WO_PONG}")] [DefaultTitle("{TITLE_PONG}")] [DefaultIcon("iconPong")] + [RequiresUpgrade("pong")] public class Pong : GUI.Control, IShiftOSWindow { public Pong() diff --git a/ShiftOS.Frontend/Properties/Resources.Designer.cs b/ShiftOS.Frontend/Properties/Resources.Designer.cs index a9086e6..0092c49 100644 --- a/ShiftOS.Frontend/Properties/Resources.Designer.cs +++ b/ShiftOS.Frontend/Properties/Resources.Designer.cs @@ -146,15 +146,17 @@ namespace ShiftOS.Frontend.Properties { ///[ /// { /// FriendlyName: "Force Heartbeat", - /// LootName: "sploitset_keepalive", + /// LootName: "sploitset_keepalive.stp", /// Rarity: 1, /// PointTo: "sploitset_keepalive", + /// ID: "sploitset_keepalive" /// }, /// { /// FriendlyName: "SSHardline", - /// LootName: "sploitset_sshardline", + /// LootName: "sploitset_sshardline.stp", /// Rarity: 1, /// PointTo: "sploitset_sshardline", + /// ID: "sploitset_keepalive" /// } ///]. /// @@ -194,6 +196,20 @@ namespace ShiftOS.Frontend.Properties { } } + /// + /// Looks up a localized string similar to { + /// Name: "Pong", + /// Description: "It's a game so good we made you play it all the time in ShiftOS 0.0.x, 0.1.x and 1.0. It's only natural that we'd sleep Pong into the game again somehow, right?", + /// SourceType: "ShiftoriumUpgrade", + /// Source: "pong" + ///}. + /// + public static string pong { + get { + return ResourceManager.GetString("pong", resourceCulture); + } + } + /// /// Looks up a localized string similar to /* ShiftOS Ports data file /// * diff --git a/ShiftOS.Frontend/Properties/Resources.resx b/ShiftOS.Frontend/Properties/Resources.resx index 5b11c39..0298116 100644 --- a/ShiftOS.Frontend/Properties/Resources.resx +++ b/ShiftOS.Frontend/Properties/Resources.resx @@ -151,6 +151,9 @@ ..\Resources\Exploits.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + ..\Resources\pong.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + ..\Resources\sploitset_keepalive.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 diff --git a/ShiftOS.Frontend/Resources/LootInfo.txt b/ShiftOS.Frontend/Resources/LootInfo.txt index 9fee421..188eb7c 100644 --- a/ShiftOS.Frontend/Resources/LootInfo.txt +++ b/ShiftOS.Frontend/Resources/LootInfo.txt @@ -18,5 +18,11 @@ Rarity: 1, PointTo: "sploitset_sshardline", ID: "sploitset_keepalive" - } -] \ No newline at end of file + }, + { + FriendlyName: "Pong", + LootName: "pong.stp", + Rarity: 10, //Easter egg. + PointTo: "pong", + ID: "pong" + }] \ No newline at end of file diff --git a/ShiftOS.Frontend/Resources/Shiftorium.txt b/ShiftOS.Frontend/Resources/Shiftorium.txt index 1d31dcf..6a3ee01 100644 --- a/ShiftOS.Frontend/Resources/Shiftorium.txt +++ b/ShiftOS.Frontend/Resources/Shiftorium.txt @@ -10,5 +10,10 @@ Cost: 1000000000, Description: "lolyouarentsupposedtobeabletobuythis", Dependencies: "thisupgradeshouldneverexistever", + }, + { + Name: "Pong", + Cost: 0, + Dependencies: "pong", } ] \ No newline at end of file diff --git a/ShiftOS.Frontend/Resources/pong.txt b/ShiftOS.Frontend/Resources/pong.txt new file mode 100644 index 0000000..81152f9 --- /dev/null +++ b/ShiftOS.Frontend/Resources/pong.txt @@ -0,0 +1,6 @@ +{ + Name: "Pong", + Description: "It's a game so good we made you play it all the time in ShiftOS 0.0.x, 0.1.x and 1.0. It's only natural that we'd sleep Pong into the game again somehow, right?", + SourceType: "ShiftoriumUpgrade", + Source: "pong" +} \ No newline at end of file diff --git a/ShiftOS.Frontend/ShiftOS.Frontend.csproj b/ShiftOS.Frontend/ShiftOS.Frontend.csproj index 570eadf..d50b022 100644 --- a/ShiftOS.Frontend/ShiftOS.Frontend.csproj +++ b/ShiftOS.Frontend/ShiftOS.Frontend.csproj @@ -194,6 +194,7 @@ +