[MIRROR] Creates a proper CentCom group for orbit UI [MDB IGNORE] (#16439)

* Creates a proper CentCom group for orbit UI (#70098)

add: Added new grouping to orbit menu for CentCom agents.

* Creates a proper CentCom group for orbit UI

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-09-26 14:15:08 +02:00
committed by GitHub
parent 4fd30d5da3
commit f64e766a00
+7
View File
@@ -4,6 +4,7 @@ import { capitalizeFirst, multiline } from 'common/string';
import { Button, Collapsible, Icon, Input, Section, Stack } from '../components';
import { Window } from '../layouts';
import { flow } from 'common/fp';
import { COLORS } from '../constants';
type AntagGroup = [string, Observable[]];
@@ -33,6 +34,7 @@ const ANTAG2COLOR = {
'Abductors': 'pink',
'Ash Walkers': 'olive',
'Biohazards': 'brown',
'CentCom': COLORS.department.centcom,
} as const;
const ANTAG2GROUP = {
@@ -41,6 +43,11 @@ const ANTAG2GROUP = {
'Ash Walker': 'Ash Walkers',
'Blob': 'Biohazards',
'Sentient Disease': 'Biohazards',
'CentCom Commander': 'CentCom',
'CentCom Head Intern': 'CentCom',
'CentCom Intern': 'CentCom',
'CentCom Official': 'CentCom',
'Central Command': 'CentCom',
'Clown Operative': 'Clown Operatives',
'Clown Operative Leader': 'Clown Operatives',
'Nuclear Operative': 'Nuclear Operatives',