diff --git a/src/Hacknet/ui/HacknetRoot.tsx b/src/Hacknet/ui/HacknetRoot.tsx
index 36115b7e6..7564dc928 100644
--- a/src/Hacknet/ui/HacknetRoot.tsx
+++ b/src/Hacknet/ui/HacknetRoot.tsx
@@ -27,6 +27,7 @@ import { GetServer } from "../../Server/AllServers";
import Typography from "@mui/material/Typography";
import Grid from "@mui/material/Grid";
import Button from "@mui/material/Button";
+import { Box } from "@mui/material";
interface IProps {
player: IPlayer;
@@ -136,7 +137,7 @@ export function HacknetRoot(props: IProps): React.ReactElement {
{hasHacknetServers(props.player) && }
- {nodes}
+ {nodes}
setOpen(false)} />
>
);
diff --git a/src/Locations/ui/CasinoLocation.tsx b/src/Locations/ui/CasinoLocation.tsx
index 20992695e..096946b17 100644
--- a/src/Locations/ui/CasinoLocation.tsx
+++ b/src/Locations/ui/CasinoLocation.tsx
@@ -10,6 +10,7 @@ import { CoinFlip } from "../../Casino/CoinFlip";
import { Roulette } from "../../Casino/Roulette";
import { SlotMachine } from "../../Casino/SlotMachine";
import { IPlayer } from "../../PersonObjects/IPlayer";
+import { Box } from "@mui/material";
enum GameType {
None = "none",
@@ -33,15 +34,12 @@ export function CasinoLocation(props: IProps): React.ReactElement {
return (
<>
{game === GameType.None && (
- <>
+
-
-
-
- >
+
)}
{game !== GameType.None && (
<>
diff --git a/src/Locations/ui/CompanyLocation.tsx b/src/Locations/ui/CompanyLocation.tsx
index 04fee9754..1a7ab0130 100644
--- a/src/Locations/ui/CompanyLocation.tsx
+++ b/src/Locations/ui/CompanyLocation.tsx
@@ -226,108 +226,114 @@ export function CompanyLocation(props: IProps): React.ReactElement {
-------------------------
-
-
-
- setQuitOpen(false)}
- />
>
)}
-
- {company.hasAgentPositions() && (
-
- )}
- {company.hasBusinessConsultantPositions() && (
-
- )}
- {company.hasBusinessPositions() && (
-
- )}
- {company.hasEmployeePositions() && (
-
- )}
- {company.hasEmployeePositions() && (
-
- )}
- {company.hasITPositions() && (
-
- )}
- {company.hasSecurityPositions() && (
-
- )}
- {company.hasSoftwareConsultantPositions() && (
-
- )}
- {company.hasSoftwarePositions() && (
-
- )}
- {company.hasWaiterPositions() && (
-
- )}
- {company.hasWaiterPositions() && (
-
- )}
- {location.infiltrationData != null && }
+
+ {isEmployedHere && (
+
+
+
+ setQuitOpen(false)}
+ />
+
+ )
+
+ }
+ {company.hasAgentPositions() && (
+
+ )}
+ {company.hasBusinessConsultantPositions() && (
+
+ )}
+ {company.hasBusinessPositions() && (
+
+ )}
+ {company.hasEmployeePositions() && (
+
+ )}
+ {company.hasEmployeePositions() && (
+
+ )}
+ {company.hasITPositions() && (
+
+ )}
+ {company.hasSecurityPositions() && (
+
+ )}
+ {company.hasSoftwareConsultantPositions() && (
+
+ )}
+ {company.hasSoftwarePositions() && (
+
+ )}
+ {company.hasWaiterPositions() && (
+
+ )}
+ {company.hasWaiterPositions() && (
+
+ )}
+ {location.infiltrationData != null && }
+
>
);
}
diff --git a/src/Locations/ui/GymLocation.tsx b/src/Locations/ui/GymLocation.tsx
index 5cffad7a3..cb8f6ca87 100644
--- a/src/Locations/ui/GymLocation.tsx
+++ b/src/Locations/ui/GymLocation.tsx
@@ -16,6 +16,7 @@ import { Server } from "../../Server/Server";
import { Money } from "../../ui/React/Money";
import { IRouter } from "../../ui/Router";
import { serverMetadata } from "../../Server/data/servers";
+import { Box } from "@mui/material";
type IProps = {
loc: Location;
@@ -56,7 +57,7 @@ export function GymLocation(props: IProps): React.ReactElement {
const cost = CONSTANTS.ClassGymBaseCost * calculateCost();
return (
- <>
+
@@ -72,6 +73,6 @@ export function GymLocation(props: IProps): React.ReactElement {
- >
+
);
}
diff --git a/src/Locations/ui/SlumsLocation.tsx b/src/Locations/ui/SlumsLocation.tsx
index 79f5e274d..4072be4ff 100644
--- a/src/Locations/ui/SlumsLocation.tsx
+++ b/src/Locations/ui/SlumsLocation.tsx
@@ -11,6 +11,7 @@ import { Crimes } from "../../Crime/Crimes";
import { numeralWrapper } from "../../ui/numeralFormat";
import { use } from "../../ui/Context";
+import { Box } from "@mui/material";
export function SlumsLocation(): React.ReactElement {
const player = use.Player();
@@ -113,73 +114,61 @@ export function SlumsLocation(): React.ReactElement {
const heistChance = Crimes.Heist.successRate(player);
return (
- <>
+
Attempt to shoplift from a low-end retailer>}>
-
Attempt to commit armed robbery on a high-end store>}>
-
Attempt to mug a random person on the street>}>
-
Attempt to rob property from someone's house>}>
-
Attempt to deal drugs>}>
-
Attempt to forge corporate bonds>}>
-
Attempt to smuggle illegal arms into the city>}>
-
Attempt to murder a random person on the street>}>
-
Attempt to commit grand theft auto>}>
-
Attempt to kidnap and ransom a high-profile-target>}>
-
Attempt to assassinate a high-profile target>}>
-
Attempt to pull off the ultimate heist>}>
-
- >
+
);
}
diff --git a/src/Locations/ui/SpecialLocation.tsx b/src/Locations/ui/SpecialLocation.tsx
index 1f8aba179..bcd21acb5 100644
--- a/src/Locations/ui/SpecialLocation.tsx
+++ b/src/Locations/ui/SpecialLocation.tsx
@@ -81,7 +81,7 @@ export function SpecialLocation(props: IProps): React.ReactElement {
return <>>;
}
const text = inBladeburner ? "Enter Bladeburner Headquarters" : "Apply to Bladeburner Division";
- return ;
+ return <>
>;
}
function renderNoodleBar(): React.ReactElement {
diff --git a/src/Locations/ui/TechVendorLocation.tsx b/src/Locations/ui/TechVendorLocation.tsx
index fe5e373ec..b301773d9 100644
--- a/src/Locations/ui/TechVendorLocation.tsx
+++ b/src/Locations/ui/TechVendorLocation.tsx
@@ -18,6 +18,7 @@ import { Money } from "../../ui/React/Money";
import { use } from "../../ui/Context";
import { PurchaseServerModal } from "./PurchaseServerModal";
import { numeralWrapper } from "../../ui/numeralFormat";
+import { Box } from "@mui/material";
interface IServerProps {
ram: number;
@@ -70,7 +71,9 @@ export function TechVendorLocation(props: IProps): React.ReactElement {
return (
<>
- {purchaseServerButtons}
+
+ {purchaseServerButtons}
+
"You can order bigger servers via scripts. We don't take custom orders in person."
diff --git a/src/Locations/ui/UniversityLocation.tsx b/src/Locations/ui/UniversityLocation.tsx
index 26f8188cc..fd65fa62c 100644
--- a/src/Locations/ui/UniversityLocation.tsx
+++ b/src/Locations/ui/UniversityLocation.tsx
@@ -15,6 +15,7 @@ import { Server } from "../../Server/Server";
import { Money } from "../../ui/React/Money";
import { use } from "../../ui/Context";
+import { Box } from "@mui/material";
type IProps = {
loc: Location;
@@ -72,45 +73,40 @@ export function UniversityLocation(props: IProps): React.ReactElement {
const earnCharismaExpTooltip = `Gain charisma experience!`;
return (
- <>
+
-
-
-
-
-
- >
+
);
}
diff --git a/src/Programs/ui/ProgramsRoot.tsx b/src/Programs/ui/ProgramsRoot.tsx
index a943434f5..df846da22 100644
--- a/src/Programs/ui/ProgramsRoot.tsx
+++ b/src/Programs/ui/ProgramsRoot.tsx
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from "react";
import { use } from "../../ui/Context";
import { getAvailableCreatePrograms } from "../ProgramHelpers";
-import { Tooltip, Typography } from "@mui/material";
+import { Box, Tooltip, Typography } from "@mui/material";
import Button from "@mui/material/Button";
export const ProgramsSeen: string[] = [];
@@ -38,27 +38,28 @@ export function ProgramsRoot(): React.ReactElement {
time. Your progress will be saved and you can continue later.
- {programs.map((program) => {
- const create = program.create;
- if (create === null) return <>>;
+
+ {programs.map((program) => {
+ const create = program.create;
+ if (create === null) return <>>;
- return (
-
-
-
-
-
-
- );
- })}
+ return (
+
+
+
+
+
+ );
+ })}
+
>
);
}
diff --git a/src/ui/React/GameOptionsRoot.tsx b/src/ui/React/GameOptionsRoot.tsx
index c93b8cadb..432f160e6 100644
--- a/src/ui/React/GameOptionsRoot.tsx
+++ b/src/ui/React/GameOptionsRoot.tsx
@@ -529,19 +529,19 @@ export function GameOptionsRoot(props: IProps): React.ReactElement {
>
)}
-
-
+
+
-
+
Export your game to a text file.}>
- Import your game from a text file.
This will overwrite your current game. Back it up first!}>
+ Import your game from a text file.
This will overwrite your current game. Back it up first!}>
-
+
@@ -586,7 +586,7 @@ export function GameOptionsRoot(props: IProps): React.ReactElement {
-
+
@@ -613,7 +613,7 @@ export function GameOptionsRoot(props: IProps): React.ReactElement {
-
+
@@ -637,7 +637,7 @@ export function GameOptionsRoot(props: IProps): React.ReactElement {
Incremental game plaza
-
+
setDiagnosticOpen(false)} />