From: James Simonson Date: Sat, 29 Apr 2023 05:53:56 +0000 (+0800) Subject: Update AnomGen UI (#14872) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=8df9c97b60db8d2de0b1237c3d324d8fb0051122;p=space-station-14.git Update AnomGen UI (#14872) --- diff --git a/Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml b/Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml index c818d263f6..9784b34557 100644 --- a/Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml +++ b/Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml @@ -1,13 +1,13 @@  - + - + + @@ -40,9 +41,22 @@ + VerticalAlignment="Center" + Margin="0 10"> + + + + + + + diff --git a/Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml.cs b/Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml.cs index cda9c21239..6da7a4e339 100644 --- a/Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml.cs +++ b/Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml.cs @@ -25,6 +25,7 @@ public sealed partial class AnomalyGeneratorWindow : FancyWindow IoCManager.InjectDependencies(this); EntityView.Sprite = _entityManager.GetComponent(gen); + EntityView.SpriteOffset = false; GenerateButton.OnPressed += _ => OnGenerateButtonPressed?.Invoke(); } diff --git a/Resources/Locale/en-US/anomaly/anomaly.ftl b/Resources/Locale/en-US/anomaly/anomaly.ftl index f9fa6d0639..7ce24de630 100644 --- a/Resources/Locale/en-US/anomaly/anomaly.ftl +++ b/Resources/Locale/en-US/anomaly/anomaly.ftl @@ -24,15 +24,19 @@ anomaly-scanner-particle-unstable = - [color=plum]Unstable type:[/color] {$type} anomaly-scanner-particle-containment = - [color=goldenrod]Containment type:[/color] {$type} anomaly-scanner-pulse-timer = Time until next pulse: [color=gray]{$time}[/color] -anomaly-generator-ui-title = anomaly generator +anomaly-generator-ui-title = Anomaly Generator anomaly-generator-fuel-display = Fuel: anomaly-generator-cooldown = Cooldown: [color=gray]{$time}[/color] anomaly-generator-no-cooldown = Cooldown: [color=gray]Complete[/color] anomaly-generator-yes-fire = Status: [color=forestgreen]Ready[/color] anomaly-generator-no-fire = Status: [color=crimson]Not ready[/color] anomaly-generator-generate = Generate Anomaly -anomaly-generator-charges = {$charges -> +anomaly-generator-charges = {$charges -> [one] {$charges} charge *[other] {$charges} charges } -anomaly-generator-announcement = An anomaly has been generated! \ No newline at end of file +anomaly-generator-announcement = An anomaly has been generated! + +# Flavor text on the footer +anomaly-generator-flavor-left = Anomaly may spawn inside the operator. +anomaly-generator-flavor-right = v1.1