]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
list codewords on traitor round end (#14810)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Thu, 23 Mar 2023 16:29:39 +0000 (16:29 +0000)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2023 16:29:39 +0000 (12:29 -0400)
Content.Server/GameTicking/Rules/TraitorRuleSystem.cs
Resources/Locale/en-US/game-ticking/game-presets/preset-traitor.ftl

index d1941e9ffacac73929997dd7439a787802e54dd8..735bf3cb767915dae3ce2ce0c0e0e3daa086b93f 100644 (file)
@@ -322,6 +322,8 @@ public sealed class TraitorRuleSystem : GameRuleSystem
 
         var result = Loc.GetString("traitor-round-end-result", ("traitorCount", Traitors.Count));
 
+        result += "\n" + Loc.GetString("traitor-round-end-codewords", ("codewords", string.Join(", ", Codewords))) + "\n";
+
         foreach (var traitor in Traitors)
         {
             var name = traitor.Mind.CharacterName;
index 11d27e65f604061beb13f04321cfa5d44c0978e8..10fffa122bc013bdb5d7f35e2403d4e3da6ddfc4 100644 (file)
@@ -7,6 +7,10 @@ traitor-round-end-result = {$traitorCount ->
     *[other] There were {$traitorCount} traitors.
 }
 
+traitor-round-end-codewords =
+    The codewords were:
+    [color=White]{$codewords}[/color].
+
 # Shown at the end of a round of Traitor
 traitor-user-was-a-traitor = [color=gray]{$user}[/color] was a traitor.
 traitor-user-was-a-traitor-named = [color=White]{$name}[/color] ([color=gray]{$user}[/color]) was a traitor.