bitburner-src/src/CotMG/ui/StaneksGiftRoot.tsx

24 lines
887 B
TypeScript
Raw Normal View History

2021-10-04 02:34:36 +02:00
import React from "react";
2021-09-25 23:21:50 +02:00
import { Grid } from "./Grid";
import { IStaneksGift } from "../IStaneksGift";
2021-10-04 02:34:36 +02:00
import Typography from "@mui/material/Typography";
2021-09-25 23:21:50 +02:00
type IProps = {
staneksGift: IStaneksGift;
};
export function StaneksGiftRoot({ staneksGift }: IProps): React.ReactElement {
return (
<>
2021-10-04 02:34:36 +02:00
<Typography variant="h4">Stanek's Gift</Typography>
<Typography>
The gift is a grid on which you can place upgrades called fragments. The main type of fragment increases a stat,
like your hacking skill or agility exp. Once a stat fragment is placed it then needs to be charged via scripts
in order to become useful. The other kind of fragment is called booster fragments. They increase the efficiency
of the charged happening on fragments neighboring them (no diagonal)
</Typography>
2021-09-25 23:21:50 +02:00
<Grid gift={staneksGift} />
</>
);
}