/** * Root React component for the Augmentations UI page that display all of your * owned and purchased Augmentations and Source-Files. */ import * as React from "react"; import { InstalledAugmentationsAndSourceFiles } from "./InstalledAugmentationsAndSourceFiles"; import { PlayerMultipliers } from "./PlayerMultipliers"; import { PurchasedAugmentations } from "./PurchasedAugmentations"; import { Player } from "../../Player"; import { StdButton } from "../../ui/React/StdButton"; import { canGetBonus } from "../../ExportBonus"; type IProps = { exportGameFn: () => void; installAugmentationsFn: () => void; } type IState = { rerender: boolean; } export class AugmentationsRoot extends React.Component { constructor(props: IProps) { super(props); this.state = { rerender: false, }; this.export = this.export.bind(this); } export(): void { this.props.exportGameFn(); this.setState({ rerender: !this.state.rerender, }); } render(): React.ReactNode { function exportBonusStr(): string { if(canGetBonus()) return "(+1 favor to all factions)"; return ""; } return (

Purchased Augmentations

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)

Installed Augmentations

{ `List of all Augmentations ${Player.sourceFiles.length > 0 ? "and Source Files " : ""} ` + `that have been installed. You have gained the effects of these.` }



) } }