2021-06-18 22:22:12 +02:00
|
|
|
import * as React from "react";
|
|
|
|
import { BlackOpList } from "./BlackOpList";
|
2021-08-16 04:35:43 +02:00
|
|
|
import { IBladeburner } from "../IBladeburner";
|
2021-09-27 23:09:48 +02:00
|
|
|
import Typography from "@mui/material/Typography";
|
2022-03-19 09:09:59 +01:00
|
|
|
import { FactionNames } from "../../Faction/data/FactionNames";
|
2022-05-26 18:59:05 +02:00
|
|
|
import { use } from "../../ui/Context";
|
|
|
|
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 {
|
2021-09-05 01:09:30 +02:00
|
|
|
bladeburner: IBladeburner;
|
2021-06-18 22:22:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export function BlackOpPage(props: IProps): React.ReactElement {
|
2022-05-26 18:59:05 +02:00
|
|
|
const router = use.Router();
|
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>
|
2022-05-26 18:59:05 +02:00
|
|
|
{props.bladeburner.blackops[BlackOperationNames.OperationDaedalus] ? (
|
|
|
|
<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} />
|
2022-05-26 18:59:05 +02:00
|
|
|
)}
|
2021-09-05 01:09:30 +02:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|