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

26 lines
889 B
TypeScript
Raw Normal View History

2021-06-18 22:22:12 +02:00
import * as React from "react";
import { ContractList } from "./ContractList";
import { IBladeburner } from "../IBladeburner";
2021-08-16 07:35:05 +02:00
import { IPlayer } from "../../PersonObjects/IPlayer";
2021-06-18 22:22:12 +02:00
interface IProps {
2021-09-05 01:09:30 +02:00
bladeburner: IBladeburner;
player: IPlayer;
2021-06-18 22:22:12 +02:00
}
export function ContractPage(props: IProps): React.ReactElement {
2021-09-05 01:09:30 +02:00
return (
<>
<p style={{ display: "block", margin: "4px", padding: "4px" }}>
2021-09-09 05:47:34 +02:00
Complete contracts in order to increase your Bladeburner rank and earn money. Failing a contract will cause you
to lose HP, which can lead to hospitalization.
2021-09-05 01:09:30 +02:00
<br />
<br />
2021-09-09 05:47:34 +02:00
You can unlock higher-level contracts by successfully completing them. Higher-level contracts are more
difficult, but grant more rank, experience, and money.
2021-09-05 01:09:30 +02:00
</p>
<ContractList bladeburner={props.bladeburner} player={props.player} />
</>
);
}