mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-27 05:03:27 -08:00
Fix shield set text
This commit is contained in:
2
84 Super Star Trek/csharp/Resources/ShieldsSet.txt
Normal file
2
84 Super Star Trek/csharp/Resources/ShieldsSet.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
Deflector control room report:
|
||||
'Shields now at {0} units per your command.'
|
||||
@@ -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();
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user