Points are abbreviated again in the RD console header (#91350)

Now says "Gen. Res." instead of "Points"

![image](https://github.com/user-attachments/assets/7746a364-05a7-45fd-832d-c1550421e415)

In https://github.com/tgstation/tgstation/pull/81202 I added easier
support for different types of research points, then we regressed a bit
when we got the new UI, this re-adds that part so not every type of
point is called "Points".
This commit is contained in:
John Willard
2025-05-29 16:22:41 -04:00
committed by Roxy
parent 8a2f7c3392
commit 55d826f07c
@@ -10,6 +10,7 @@ export function TechwebContent(props) {
d_disk,
node_cache,
points_last_tick,
point_types_abbreviations = [],
points,
queue_nodes = [],
sec_protocols,
@@ -32,15 +33,12 @@ export function TechwebContent(props) {
{sec_protocols ? 'Engaged' : 'Disengaged'}
</span>
</LabeledList.Item>
{/* BUBBER CHANGE START: ADD POINT IDENTIFICATION */}
{Object.keys(points).map((k) => (
<LabeledList.Item key={k} label={`${k} Points`}>
{' '}
<LabeledList.Item key={k} label={point_types_abbreviations[k]}>
<b>{points[k]}</b>
{!!points_last_tick[k] && ` (+${points_last_tick[k]}/sec)`}
</LabeledList.Item>
))}
{/* BUBBER CHANGE END: ADD POINT IDENTIFICATION */}
<LabeledList.Item label="Queue">
{queue_nodes.length !== 0
? Object.keys(queue_nodes).map((node_id) => (