cores explanation

This commit is contained in:
Olivier Gagnon
2021-12-20 14:03:25 -05:00
parent e9886cc6bc
commit 4ec021c8f0
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -1,6 +1,7 @@
import React from "react";
import Button from "@mui/material/Button";
import Tooltip from "@mui/material/Tooltip";
import Typography from "@mui/material/Typography";
import { CONSTANTS } from "../../Constants";
import { IPlayer } from "../../PersonObjects/IPlayer";
@@ -37,6 +38,11 @@ export function RamButton(props: IProps): React.ReactElement {
}
>
<span>
<br />
<Typography>
<i>"More RAM means more scripts on 'home'"</i>
</Typography>
<br />
<Button disabled={!props.p.canAfford(cost)} onClick={buy}>
Upgrade 'home' RAM ({numeralWrapper.formatRAM(homeComputer.maxRam)} -&gt;&nbsp;
{numeralWrapper.formatRAM(homeComputer.maxRam * 2)}) -&nbsp;