mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
Gave bit fluming its own message (#974)
This commit is contained in:
parent
3a7ff7880d
commit
5789003d46
@ -10,6 +10,7 @@ import Typography from "@mui/material/Typography";
|
||||
import Tooltip from "@mui/material/Tooltip";
|
||||
import { Settings } from "../../Settings/Settings";
|
||||
import Button from "@mui/material/Button";
|
||||
import { CompletedProgramName } from "@enums";
|
||||
|
||||
const useStyles = makeStyles(() =>
|
||||
createStyles({
|
||||
@ -121,9 +122,30 @@ export function BitverseRoot(props: IProps): React.ReactElement {
|
||||
const [destroySequence, setDestroySequence] = useState(!props.quick);
|
||||
|
||||
if (destroySequence) {
|
||||
return (
|
||||
<CinematicText
|
||||
lines={[
|
||||
let cinematicLines;
|
||||
if (props.flume) {
|
||||
cinematicLines = [
|
||||
`Running ${CompletedProgramName.bitFlume}...`,
|
||||
"...........",
|
||||
"...........",
|
||||
"counter dq 0x0",
|
||||
"mov [counter], EXC",
|
||||
"dec [counter]",
|
||||
"mov EXC, [counter]",
|
||||
"...........",
|
||||
"...........",
|
||||
`[WARN] BitNode-${destroyed} assertion error:`,
|
||||
"Expected inputs to be strictly equal:",
|
||||
"<Number of incoming connections>, <Number of outgoing connections>",
|
||||
"Running full scan...",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"Hanging connection located, disconnecting...",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
];
|
||||
} else {
|
||||
cinematicLines = [
|
||||
"[ERROR] SEMPOOL INVALID",
|
||||
"[ERROR] Segmentation Fault",
|
||||
"[ERROR] SIGKILL RECVD",
|
||||
@ -143,11 +165,9 @@ export function BitverseRoot(props: IProps): React.ReactElement {
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
]}
|
||||
onDone={() => setDestroySequence(false)}
|
||||
auto={true}
|
||||
/>
|
||||
);
|
||||
];
|
||||
}
|
||||
return <CinematicText lines={cinematicLines} onDone={() => setDestroySequence(false)} auto={true} />;
|
||||
}
|
||||
|
||||
const nextSourceFileLvl = (n: number): number => {
|
||||
|
Loading…
Reference in New Issue
Block a user