bitburner-src/src/Bladeburner/ui/BlackOpPage.tsx

42 lines
1.5 KiB
TypeScript
Raw Normal View History

2021-06-18 22:22:12 +02:00
import * as React from "react";
import { BlackOpList } from "./BlackOpList";
import { Bladeburner } from "../Bladeburner";
2021-09-27 23:09:48 +02:00
import Typography from "@mui/material/Typography";
import { FactionNames } from "../../Faction/data/FactionNames";
2022-09-13 00:00:09 +02:00
import { Router } from "../../ui/GameRoot";
import { BlackOperationNames } from "../data/BlackOperationNames";
import { Button } from "@mui/material";
import { CorruptableText } from "../../ui/React/CorruptableText";
2021-06-18 22:22:12 +02:00
interface IProps {
bladeburner: Bladeburner;
2021-06-18 22:22:12 +02:00
}
export function BlackOpPage(props: IProps): React.ReactElement {
2021-09-05 01:09:30 +02:00
return (
<>
2021-09-27 23:09:48 +02:00
<Typography>
2021-09-09 05:47:34 +02:00
Black Operations (Black Ops) are special, one-time covert operations. Each Black Op must be unlocked
successively by completing the one before it.
2021-09-05 01:09:30 +02:00
<br />
<br />
2022-04-07 01:30:08 +02:00
<b>
Your ultimate goal to climb through the ranks of {FactionNames.Bladeburners} is to complete all of the Black
Ops.
</b>
2021-09-05 01:09:30 +02:00
<br />
<br />
2021-09-09 05:47:34 +02:00
Like normal operations, you may use a team for Black Ops. Failing a black op will incur heavy HP and rank
losses.
2021-09-27 23:09:48 +02:00
</Typography>
{props.bladeburner.blackops[BlackOperationNames.OperationDaedalus] ? (
2022-09-13 00:00:09 +02:00
<Button sx={{ my: 1, p: 1 }} onClick={() => Router.toBitVerse(false, false)}>
<CorruptableText content="Destroy w0rld_d34mon"></CorruptableText>
</Button>
) : (
2022-09-06 15:07:12 +02:00
<BlackOpList bladeburner={props.bladeburner} />
)}
2021-09-05 01:09:30 +02:00
</>
);
}