mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-02 22:07:06 +02:00
Make the main player object an alias, makes it easier to import
This commit is contained in:
@@ -11,7 +11,7 @@ import { Tooltip } from "@mui/material";
|
||||
import LockIcon from "@mui/icons-material/Lock";
|
||||
import LockOpenIcon from "@mui/icons-material/LockOpen";
|
||||
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
import { achievements } from "../../Achievements/Achievements";
|
||||
import { Engine } from "../../engine";
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
} from "@mui/material";
|
||||
import React, { useState } from "react";
|
||||
import { AugmentationNames } from "../../Augmentation/data/AugmentationNames";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
|
||||
export function Augmentations(): React.ReactElement {
|
||||
const [augmentation, setAugmentation] = useState("Augmented Targeting I");
|
||||
|
||||
@@ -7,7 +7,7 @@ import AccordionDetails from "@mui/material/AccordionDetails";
|
||||
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
|
||||
import { Adjuster } from "./Adjuster";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
|
||||
const bigNumber = 1e27;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Button from "@mui/material/Button";
|
||||
import { Adjuster } from "./Adjuster";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
|
||||
const bigNumber = 1e27;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import AccordionDetails from "@mui/material/AccordionDetails";
|
||||
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
|
||||
import Typography from "@mui/material/Typography";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
import { Adjuster } from "./Adjuster";
|
||||
|
||||
// Update as additional BitNodes get implemented
|
||||
|
||||
@@ -9,7 +9,7 @@ import Typography from "@mui/material/Typography";
|
||||
import Button from "@mui/material/Button";
|
||||
import Select, { SelectChangeEvent } from "@mui/material/Select";
|
||||
import { Adjuster } from "./Adjuster";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
import { Factions as AllFaction } from "../../Faction/Factions";
|
||||
import FormControl from "@mui/material/FormControl";
|
||||
import MenuItem from "@mui/material/MenuItem";
|
||||
|
||||
@@ -7,7 +7,7 @@ import AccordionDetails from "@mui/material/AccordionDetails";
|
||||
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
|
||||
import { Adjuster } from "./Adjuster";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
|
||||
const bigNumber = 1e27;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Button from "@mui/material/Button";
|
||||
import { Money } from "../../ui/React/Money";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
import { Router } from "../../ui/GameRoot";
|
||||
import { MenuItem, SelectChangeEvent, TextField, Select } from "@mui/material";
|
||||
import { Bladeburner } from "../../Bladeburner/Bladeburner";
|
||||
|
||||
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Button from "@mui/material/Button";
|
||||
import Select, { SelectChangeEvent } from "@mui/material/Select";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
import { Programs as AllPrograms } from "../../Programs/Programs";
|
||||
import MenuItem from "@mui/material/MenuItem";
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
|
||||
import Button from "@mui/material/Button";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
import { Adjuster } from "./Adjuster";
|
||||
|
||||
export function Sleeves(): React.ReactElement {
|
||||
|
||||
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Button from "@mui/material/Button";
|
||||
import { PlayerOwnedSourceFile } from "../../SourceFile/PlayerOwnedSourceFile";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
import ButtonGroup from "@mui/material/ButtonGroup";
|
||||
|
||||
// Update as additional BitNodes get implemented
|
||||
|
||||
@@ -8,7 +8,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Button from "@mui/material/Button";
|
||||
import { Adjuster } from "./Adjuster";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
|
||||
const bigNumber = 1e27;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
|
||||
import Typography from "@mui/material/Typography";
|
||||
import Button from "@mui/material/Button";
|
||||
import { Player } from "../../Player";
|
||||
import { Player } from "@player";
|
||||
import { saveObject } from "../../SaveObject";
|
||||
import { Engine } from "../../engine";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user