diff options
| author | Michael <[email protected]> | 2017-08-02 10:45:19 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-02 10:45:19 -0400 |
| commit | 0b175d13327aa0e60811cb062c5cb25e52916cf8 (patch) | |
| tree | 915ffa9cc5cecabeda84ce91902afb2550b0d804 | |
| parent | 37cf129165916101ba665891d157c85ea9c37383 (diff) | |
| download | shiftos_thereturn-0b175d13327aa0e60811cb062c5cb25e52916cf8.tar.gz shiftos_thereturn-0b175d13327aa0e60811cb062c5cb25e52916cf8.tar.bz2 shiftos_thereturn-0b175d13327aa0e60811cb062c5cb25e52916cf8.zip | |
pong is a loot now
| -rw-r--r-- | ShiftOS.Frontend/Apps/Pong.cs | 1 | ||||
| -rw-r--r-- | ShiftOS.Frontend/Properties/Resources.Designer.cs | 20 | ||||
| -rw-r--r-- | ShiftOS.Frontend/Properties/Resources.resx | 3 | ||||
| -rw-r--r-- | ShiftOS.Frontend/Resources/LootInfo.txt | 10 | ||||
| -rw-r--r-- | ShiftOS.Frontend/Resources/Shiftorium.txt | 5 | ||||
| -rw-r--r-- | ShiftOS.Frontend/Resources/pong.txt | 6 | ||||
| -rw-r--r-- | ShiftOS.Frontend/ShiftOS.Frontend.csproj | 1 |
7 files changed, 42 insertions, 4 deletions
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" /// } ///]. /// </summary> @@ -195,6 +197,20 @@ namespace ShiftOS.Frontend.Properties { } /// <summary> + /// 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" + ///}. + /// </summary> + public static string pong { + get { + return ResourceManager.GetString("pong", resourceCulture); + } + } + + /// <summary> /// Looks up a localized string similar to /* ShiftOS Ports data file /// * /// * This file contains information about all ports in the game's campaign. 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 @@ <data name="Exploits" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\Exploits.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value> </data> + <data name="pong" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\pong.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value> + </data> <data name="sploitset_keepalive" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\sploitset_keepalive.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value> </data> 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 @@ <None Include="Resources\LootInfo.txt" /> </ItemGroup> <ItemGroup> + <None Include="Resources\pong.txt" /> <Content Include="Resources\Ports.txt" /> <Content Include="Resources\Payloads.txt" /> <Content Include="Resources\Exploits.txt" /> |
