diff --git a/tgui-next/packages/tgui/interfaces/AirlockElectronics.js b/tgui-next/packages/tgui/interfaces/AirlockElectronics.js deleted file mode 100644 index f42afd1de2..0000000000 --- a/tgui-next/packages/tgui/interfaces/AirlockElectronics.js +++ /dev/null @@ -1,138 +0,0 @@ -import { Fragment } from 'inferno'; -import { useBackend } from '../backend'; -import { Box, Button, LabeledList, Section, Tabs } from '../components'; - -export const AirlockElectronics = props => { - const { act, data } = useBackend(props); - const regions = data.regions || []; - - const diffMap = { - 0: { - icon: 'times-circle', - }, - 1: { - icon: 'stop-circle', - }, - 2: { - icon: 'check-circle', - }, - }; - - const checkAccessIcon = accesses => { - let oneAccess = false; - let oneInaccess = false; - - accesses.forEach(element => { - if (element.req) { - oneAccess = true; - } - else { - oneInaccess = true; - } - }); - - if (!oneAccess && oneInaccess) { - return 0; - } - else if (oneAccess && oneInaccess) { - return 1; - } - else { - return 2; - } - }; - - return ( - -
- - -
-
- - - {regions.map(region => { - const { name } = region; - const accesses = region.accesses || []; - const icon = diffMap[checkAccessIcon(accesses)].icon; - return ( - - {() => accesses.map(access => ( - -
-
- ); -}; diff --git a/tgui-next/packages/tgui/interfaces/Bepis.js b/tgui-next/packages/tgui/interfaces/Bepis.js deleted file mode 100644 index 993af415dc..0000000000 --- a/tgui-next/packages/tgui/interfaces/Bepis.js +++ /dev/null @@ -1,112 +0,0 @@ -import { multiline } from 'common/string'; -import { Fragment } from 'inferno'; -import { act } from '../byond'; -import { Section, LabeledList, Button, NumberInput, Box, Grid } from '../components'; - -export const Bepis = props => { - const { state } = props; - const { config, data } = state; - const { ref } = config; - const { - amount, - } = data; - return ( -
-
act(ref, 'toggle_power')} /> - )}> - All you need to know about the B.E.P.I.S. and you! - The B.E.P.I.S. performs hundreds of tests a second - using electrical and financial resources to invent - new products, or discover new technologies otherwise - overlooked for being too risky or too niche to produce! -
-
act(ref, 'account_reset')} /> - )}> - Console is currently being operated - by {data.account_owner ? data.account_owner : 'no one'}. -
- - -
- - - {data.stored_cash} - - - {data.accuracy_percentage}% - - - {data.positive_cash_offset} - - - {data.negative_cash_offset} - - - act(ref, 'amount', { - amount: value, - })} /> - - -
- -
- - - - ); -}; diff --git a/tgui-next/packages/tgui/interfaces/HypnoChair.js b/tgui-next/packages/tgui/interfaces/HypnoChair.js deleted file mode 100644 index 00ef2e819d..0000000000 --- a/tgui-next/packages/tgui/interfaces/HypnoChair.js +++ /dev/null @@ -1,77 +0,0 @@ -import { Fragment } from 'inferno'; -import { useBackend } from '../backend'; -import { Button, Icon, Input, LabeledList, Section } from '../components'; - -export const HypnoChair = props => { - const { act, data } = useBackend(props); - return ( - -
- The Enhanced Interrogation Chamber is designed to induce a deep-rooted - trance trigger into the subject. Once the procedure is complete, - by using the implanted trigger phrase, the authorities are able to - ensure immediate and complete obedience and truthfulness. -
-
- - - {data.occupant.name ? data.occupant.name : 'No Occupant'} - - {!!data.occupied && ( - - {data.occupant.stat === 0 - ? 'Conscious' - : data.occupant.stat === 1 - ? 'Unconcious' - : 'Dead'} - - )} - -
-
- - -
-
- ); -};