diff --git a/84 Super Star Trek/csharp/Resources/ShieldsSet.txt b/84 Super Star Trek/csharp/Resources/ShieldsSet.txt new file mode 100644 index 00000000..e3d7efda --- /dev/null +++ b/84 Super Star Trek/csharp/Resources/ShieldsSet.txt @@ -0,0 +1,2 @@ +Deflector control room report: + 'Shields now at {0} units per your command.' diff --git a/84 Super Star Trek/csharp/Resources/Strings.cs b/84 Super Star Trek/csharp/Resources/Strings.cs index 6fd472c1..b6cd5486 100644 --- a/84 Super Star Trek/csharp/Resources/Strings.cs +++ b/84 Super Star Trek/csharp/Resources/Strings.cs @@ -46,6 +46,8 @@ namespace SuperStarTrek.Resources internal static string ShieldsDropped => GetResource(); + internal static string ShieldsSet => GetResource(); + internal static string ShortRangeSensorsOut => GetResource(); internal static string StartText => GetResource(); diff --git a/84 Super Star Trek/csharp/Systems/ShieldControl.cs b/84 Super Star Trek/csharp/Systems/ShieldControl.cs index df42c125..de4f44d9 100644 --- a/84 Super Star Trek/csharp/Systems/ShieldControl.cs +++ b/84 Super Star Trek/csharp/Systems/ShieldControl.cs @@ -1,5 +1,6 @@ using SuperStarTrek.Commands; using SuperStarTrek.Objects; +using SuperStarTrek.Resources; using SuperStarTrek.Space; namespace SuperStarTrek.Systems @@ -30,6 +31,7 @@ namespace SuperStarTrek.Systems if (Validate(requested)) { ShieldEnergy = requested; + _output.Write(Strings.ShieldsSet, requested); } else {