]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make anomaly scanners show exact output (#15749)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Sat, 29 Apr 2023 10:54:05 +0000 (06:54 -0400)
committerGitHub <noreply@github.com>
Sat, 29 Apr 2023 10:54:05 +0000 (20:54 +1000)
Content.Server/Anomaly/AnomalySystem.Scanner.cs
Resources/Locale/en-US/anomaly/anomaly.ftl

index 2b090c1689828877a010268e38842a271709a5a3..0bac4de9f0dad166d1f144ecf4fcb2e25c38cbc4 100644 (file)
@@ -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();
 
index 7ce24de6300fb6dfe3ffc1c55e2e6a97b5ee763a..6631268ffaa904b060972744671872ec7a02cacb 100644 (file)
@@ -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}