From: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Date: Sat, 29 Apr 2023 10:54:05 +0000 (-0400) Subject: Make anomaly scanners show exact output (#15749) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=1bb65f590b6f72e65c32a0ab7e81107837579001;p=space-station-14.git Make anomaly scanners show exact output (#15749) --- diff --git a/Content.Server/Anomaly/AnomalySystem.Scanner.cs b/Content.Server/Anomaly/AnomalySystem.Scanner.cs index 2b090c1689..0bac4de9f0 100644 --- a/Content.Server/Anomaly/AnomalySystem.Scanner.cs +++ b/Content.Server/Anomaly/AnomalySystem.Scanner.cs @@ -144,8 +144,7 @@ public sealed partial class AnomalySystem msg.AddMarkup(stateLoc); msg.PushNewline(); - var points = GetAnomalyPointValue(anomaly, anomalyComp) / 10 * 10; //round to tens place - msg.AddMarkup(Loc.GetString("anomaly-scanner-point-output", ("point", points))); + msg.AddMarkup(Loc.GetString("anomaly-scanner-point-output", ("point", GetAnomalyPointValue(anomaly, anomalyComp)))); msg.PushNewline(); msg.PushNewline(); diff --git a/Resources/Locale/en-US/anomaly/anomaly.ftl b/Resources/Locale/en-US/anomaly/anomaly.ftl index 7ce24de630..6631268ffa 100644 --- a/Resources/Locale/en-US/anomaly/anomaly.ftl +++ b/Resources/Locale/en-US/anomaly/anomaly.ftl @@ -17,7 +17,7 @@ anomaly-scanner-severity-percentage = Current severity: [color=gray]{$percent}[/ anomaly-scanner-stability-low = Current anomaly state: [color=gold]Decaying[/color] anomaly-scanner-stability-medium = Current anomaly state: [color=forestgreen]Stable[/color] anomaly-scanner-stability-high = Current anomaly state: [color=crimson]Growing[/color] -anomaly-scanner-point-output = Approximate point output: [color=gray]{$point}[/color] +anomaly-scanner-point-output = Point output: [color=gray]{$point}[/color] anomaly-scanner-particle-readout = Particle Reaction Analysis: anomaly-scanner-particle-danger = - [color=crimson]Danger type:[/color] {$type} anomaly-scanner-particle-unstable = - [color=plum]Unstable type:[/color] {$type}