import { useBackend } from '../backend'; import { Box, Button, Flex, LabeledList, Section, AnimatedNumber } from '../components'; import { Window } from '../layouts'; import { OvermapPanControls } from './common/Overmap'; export const OvermapDisperser = (props, context) => { return ( ); }; const OvermapDisperserContent = (props, context) => { const { act, data } = useBackend(context); const { faillink, calibration, overmapdir, cal_accuracy, strength, range, next_shot, nopower, skill, chargeload } = data; if (faillink) { return
Machine is incomplete, out of range, or misaligned!
; } return (
val === overmapdir} />
{(nopower && ( At least one part of the machine is unpowered. )) || null} {chargeload} {(next_shot === 0 && Ready) || (next_shot > 1 && ( Seconds Warning: Do not fire during cooldown. )) || null}
% {calibration.map((cal, i) => ( Cal #{i}: ))}
); };