Make anomaly scanners show exact output (#15749)

This commit is contained in:
Nemanja
2023-04-29 06:54:05 -04:00
committed by GitHub
parent f2d51dc586
commit 1bb65f590b
2 changed files with 2 additions and 3 deletions

View 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();

View 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}