mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Points are abbreviated again in the RD console header (#91350)
Now says "Gen. Res." instead of "Points"  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:
@@ -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) => (
|
||||
|
||||
Reference in New Issue
Block a user