]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add reward line in bounty label (#28853)
authorlzk <124214523+lzk228@users.noreply.github.com>
Tue, 11 Jun 2024 09:33:36 +0000 (11:33 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2024 09:33:36 +0000 (12:33 +0300)
Content.Server/Cargo/Systems/CargoSystem.Bounty.cs
Resources/Locale/en-US/cargo/cargo-bounty-console.ftl

index 554b349b9ba60e949918879312089b6f3faa1355..4cbf2e63be8f9c1ddbfc87338c98d7941840a149 100644 (file)
@@ -124,6 +124,7 @@ public sealed partial class CargoSystem
                 ("item", Loc.GetString(entry.Name)))}");
             msg.PushNewline();
         }
+        msg.AddMarkup(Loc.GetString("bounty-console-manifest-reward", ("reward", prototype.Reward)));
         _paperSystem.SetContent(uid, msg.ToMarkup(), paper);
     }
 
index bf7868e3df703dd748229cd83a1ab8b3b8729d06..4314cbf44960583cd9fac7f361c04af4dc713065 100644 (file)
@@ -9,6 +9,7 @@ bounty-console-manifest-entry =
         [1] {$item}
         *[other] {$item} x{$amount}
     }
+bounty-console-manifest-reward = Reward: ${$reward}
 bounty-console-description-label = [color=gray]{$description}[/color]
 bounty-console-id-label = ID#{$id}