@@ -403,11 +403,11 @@ const SuitStatusSection = (props) => {
: cell_charge_current === 1e31
? 'Infinite'
: `${formatSiUnit(
- cell_charge_current * 1000,
+ cell_charge_current,
0,
'J',
)} of ${formatSiUnit(
- cell_charge_max * 1000,
+ cell_charge_max,
0,
'J',
)} (${charge_percent}%)`}
@@ -710,7 +710,7 @@ const ModuleSection = (props) => {
@@ -781,13 +781,45 @@ const ModuleSection = (props) => {
/>
)}
- {module.idle_power}
- {module.active_power}
+
+ {formatPower(module.idle_power)}
+
+
+
+
+ {formatPower(module.active_power)}
+
- {module.use_power}
- {module.module_complexity}
+
+ {formatEnergy(module.use_energy)}
+
+
+
+
+ {module.module_complexity}
+
);
diff --git a/tgui/packages/tgui/interfaces/NtosRobotact.jsx b/tgui/packages/tgui/interfaces/NtosRobotact.jsx
index 75f4ae90c0a..71afb4db1ba 100644
--- a/tgui/packages/tgui/interfaces/NtosRobotact.jsx
+++ b/tgui/packages/tgui/interfaces/NtosRobotact.jsx
@@ -12,6 +12,8 @@ import {
Slider,
Tabs,
} from '../components';
+import { formatEnergy } from '../format';
+import { formatPower } from '../format';
import { NtosWindow } from '../layouts';
export const NtosRobotact = (props) => {
@@ -33,6 +35,7 @@ export const NtosRobotactContent = (props) => {
maxcharge,
integrity,
lampIntensity,
+ lampConsumption,
cover,
locomotion,
wireModule,
@@ -108,7 +111,10 @@ export const NtosRobotactContent = (props) => {
bad: [-Infinity, 0.1],
}}
>
-
+ formatEnergy(charge)}
+ />
Chassis Integrity:
{
})
}
/>
- Lamp power usage: {lampIntensity / 2} watts
+ Lamp power usage: {formatPower(lampIntensity * lampConsumption)}