mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-07 02:54:37 +01:00
Some quick 2.4.0 fixes
* No longer tells player it is a dev version and shows changelog every load * Updated snapshot for player save format continuity test (changed due to number of donations changing) * Fixed some display issues surrounding augmentations page (newlines were not displaying in tooltip, and NFG is sorted at the top again)
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
export enum AugmentationName {
|
||||
NeuroFluxGovernor = "NeuroFlux Governor",
|
||||
Targeting1 = "Augmented Targeting I",
|
||||
Targeting2 = "Augmented Targeting II",
|
||||
Targeting3 = "Augmented Targeting III",
|
||||
@ -55,7 +56,6 @@ export enum AugmentationName {
|
||||
HacknetNodeNICUpload = "Hacknet Node NIC Architecture Neural-Upload",
|
||||
HacknetNodeKernelDNI = "Hacknet Node Kernel Direct-Neural Interface",
|
||||
HacknetNodeCoreDNI = "Hacknet Node Core Direct-Neural Interface",
|
||||
NeuroFluxGovernor = "NeuroFlux Governor",
|
||||
Neurotrainer1 = "Neurotrainer I",
|
||||
Neurotrainer2 = "Neurotrainer II",
|
||||
Neurotrainer3 = "Neurotrainer III",
|
||||
|
@ -49,7 +49,9 @@ const NeuroFluxDisplay = (): React.ReactElement => {
|
||||
<Typography variant="h5" color={Settings.theme.info}>
|
||||
NeuroFlux Governor - Level {level}
|
||||
</Typography>
|
||||
<Typography color={Settings.theme.info}>{Augmentations[AugmentationName.NeuroFluxGovernor].stats}</Typography>
|
||||
<Typography color={Settings.theme.info} whiteSpace={"pre-wrap"}>
|
||||
{Augmentations[AugmentationName.NeuroFluxGovernor].stats}
|
||||
</Typography>
|
||||
<Typography color={Settings.theme.info}>
|
||||
The power of {AugmentationName.NeuroFluxGovernor} increases with blood donations from players in real life.
|
||||
Learn more <Link onClick={openBloodDonation}>here</Link>
|
||||
|
@ -71,7 +71,7 @@ export function InstalledAugmentations(): React.ReactElement {
|
||||
<Typography variant="h6" sx={{ display: "flex", alignItems: "center", flexWrap: "wrap" }}>
|
||||
{selectedAug.name}
|
||||
</Typography>
|
||||
<Typography sx={{ maxHeight: 350, overflowY: "scroll" }}>
|
||||
<Typography sx={{ maxHeight: 350, overflowY: "scroll", whiteSpace: "pre-wrap" }}>
|
||||
{(() => {
|
||||
const aug = Augmentations[selectedAug.name];
|
||||
|
||||
|
@ -223,7 +223,7 @@ export function PurchasableAugmentation(props: IPurchasableAugProps): React.Reac
|
||||
{aug.name}
|
||||
{aug.name === AugmentationName.NeuroFluxGovernor && ` - Level ${augLevel + 1}`}
|
||||
</Typography>
|
||||
<Typography>{description}</Typography>
|
||||
<Typography whiteSpace={"pre-wrap"}>{description}</Typography>
|
||||
</>
|
||||
}
|
||||
>
|
||||
|
@ -25,7 +25,7 @@ export function PurchaseAugmentationModal({ aug, faction, onClose, open }: IProp
|
||||
return (
|
||||
<Modal open={open} onClose={onClose}>
|
||||
<Typography variant="h4">{aug.name}</Typography>
|
||||
<Typography>
|
||||
<Typography whiteSpace={"pre-wrap"}>
|
||||
{aug.info}
|
||||
<br />
|
||||
<br />
|
||||
|
@ -34,7 +34,7 @@ export function PurchasedAugmentations(): React.ReactElement {
|
||||
augs.push(
|
||||
<Tooltip
|
||||
title={
|
||||
<Typography>
|
||||
<Typography whiteSpace={"pre-wrap"}>
|
||||
{(() => {
|
||||
const info = typeof aug.info === "string" ? <span>{aug.info}</span> : aug.info;
|
||||
const tooltip = (
|
||||
|
@ -89,7 +89,7 @@ export const CONSTANTS: {
|
||||
LatestUpdate: string;
|
||||
} = {
|
||||
VersionString: "2.4.0",
|
||||
isDevBranch: true,
|
||||
isDevBranch: false,
|
||||
VersionNumber: 33,
|
||||
|
||||
/** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
||||
|
@ -182,7 +182,7 @@ export const GraftingRoot = (): React.ReactElement => {
|
||||
|
||||
<br />
|
||||
|
||||
<Typography>
|
||||
<Typography whiteSpace={"pre-wrap"}>
|
||||
{(() => {
|
||||
const info =
|
||||
typeof selectedAugmentation.info === "string" ? (
|
||||
|
@ -45,7 +45,7 @@ export function AugmentationAccordion(props: IProps): React.ReactElement {
|
||||
<>
|
||||
<br />
|
||||
<br />
|
||||
<Typography>{props.aug.stats}</Typography>
|
||||
<Typography whiteSpace={"pre-wrap"}>{props.aug.stats}</Typography>
|
||||
</>
|
||||
)}
|
||||
</Box>
|
||||
@ -62,7 +62,7 @@ export function AugmentationAccordion(props: IProps): React.ReactElement {
|
||||
</ListItemButton>
|
||||
<Collapse in={open} unmountOnExit>
|
||||
<Box m={4}>
|
||||
<Typography>
|
||||
<Typography whiteSpace={"pre-wrap"}>
|
||||
{props.aug.info}
|
||||
{props.aug.stats && (
|
||||
<>
|
||||
|
@ -1296,7 +1296,7 @@ exports[`Check Save File Continuity PlayerSave continuity 1`] = `
|
||||
"lastSave": 0,
|
||||
"lastUpdate": 1687611703623,
|
||||
"location": "Travel Agency",
|
||||
"money": 1079,
|
||||
"money": 1113,
|
||||
"moneySourceA": {
|
||||
"ctor": "MoneySourceTracker",
|
||||
"data": {
|
||||
|
Reference in New Issue
Block a user