From 4254cc28078d74138132ac1465466ffbce94c104 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sat, 25 Sep 2021 02:42:21 -0400 Subject: [PATCH] small improvements to augmentation page. --- src/Augmentation/ui/AugmentationsRoot.tsx | 75 ++++---- src/Augmentation/ui/PlayerMultipliers.tsx | 204 +++++++++++----------- src/Augmentation/ui/SourceFiles.tsx | 11 +- 3 files changed, 151 insertions(+), 139 deletions(-) diff --git a/src/Augmentation/ui/AugmentationsRoot.tsx b/src/Augmentation/ui/AugmentationsRoot.tsx index f164d18e4..656e5a5b0 100644 --- a/src/Augmentation/ui/AugmentationsRoot.tsx +++ b/src/Augmentation/ui/AugmentationsRoot.tsx @@ -14,6 +14,7 @@ import { canGetBonus } from "../../ExportBonus"; import Typography from "@mui/material/Typography"; import Button from "@mui/material/Button"; import Tooltip from "@mui/material/Tooltip"; +import Box from "@mui/material/Box"; interface IProps { exportGameFn: () => void; @@ -36,40 +37,50 @@ export function AugmentationsRoot(props: IProps): React.ReactElement { return ( <> Augmentations - - Below is a list of all Augmentations you have purchased but not yet installed. Click the button below to install - them. + + + Below is a list of all Augmentations you have purchased but not yet installed. Click the button below to + install them. + + WARNING: Installing your Augmentations resets most of your progress, including: +
+ - Stats/Skill levels and Experience + - Money + - Scripts on every computer but your home computer + - Purchased servers + - Hacknet Nodes + - Faction/Company reputation + - Stocks +
+ + Installing Augmentations lets you start over with the perks and benefits granted by all of the Augmentations + you have ever installed. Also, you will keep any scripts and RAM/Core upgrades on your home computer (but you + will lose all programs besides NUKE.exe) + +
+ + Purchased Augmentations - WARNING: Installing your Augmentations resets most of your progress, including: -
- - Stats/Skill levels and Experience - - Money - - Scripts on every computer but your home computer - - Purchased servers - - Hacknet Nodes - - Faction/Company reputation - - Stocks -
- - Installing Augmentations lets you start over with the perks and benefits granted by all of the Augmentations you - have ever installed. Also, you will keep any scripts and RAM/Core upgrades on your home computer (but you will - lose all programs besides NUKE.exe) - - - - - - - - + + + + + + + + + Installed Augmentations - List of all Augmentations that have been installed. You have gained the effects of these. - -

+ + + List of all Augmentations that have been installed. You have gained the effects of these. + + + diff --git a/src/Augmentation/ui/PlayerMultipliers.tsx b/src/Augmentation/ui/PlayerMultipliers.tsx index ef4f31368..4321472d2 100644 --- a/src/Augmentation/ui/PlayerMultipliers.tsx +++ b/src/Augmentation/ui/PlayerMultipliers.tsx @@ -10,6 +10,7 @@ import { Table, TableCell } from "../../ui/React/Table"; import TableBody from "@mui/material/TableBody"; import TableRow from "@mui/material/TableRow"; import Typography from "@mui/material/Typography"; +import Box from "@mui/material/Box"; function calculateAugmentedStats(): any { const augP: any = {}; @@ -97,119 +98,116 @@ export function PlayerMultipliers(): React.ReactElement { return ( <> -

- - Multipliers: - -

-
- -
+ Multipliers + + +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- + +
); } diff --git a/src/Augmentation/ui/SourceFiles.tsx b/src/Augmentation/ui/SourceFiles.tsx index e217be25e..1293f2298 100644 --- a/src/Augmentation/ui/SourceFiles.tsx +++ b/src/Augmentation/ui/SourceFiles.tsx @@ -4,15 +4,18 @@ import { OwnedSourceFiles } from "./OwnedSourceFiles"; import List from "@mui/material/List"; import Typography from "@mui/material/Typography"; +import Box from "@mui/material/Box"; export function SourceFiles(): React.ReactElement { return ( <> Source Files - - - - + + + + + + ); }