import { Fragment } from 'inferno'; import { useBackend } from '../backend'; import { Button, LabeledList, NoticeBox, Section } from '../components'; import { Window } from '../layouts'; export const PortableTurret = (props, context) => { const { act, data } = useBackend(context); const { locked, on, lethal, lethal_is_configurable, targetting_is_configurable, check_weapons, neutralize_noaccess, neutralize_norecord, neutralize_criminals, neutralize_all, neutralize_nonsynth, neutralize_unidentified, neutralize_down, } = data; return ( Swipe an ID card to {locked ? 'unlock' : 'lock'} this interface.
{!!targetting_is_configurable && (
act('autharrest')} /> act('authnorecord')} /> act('authweapon')} /> act('authaccess')} />
act('authxeno')} /> act('authsynth')} /> act('authdown')} /> act('authall')} />
)}
); };