mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02: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 {
|
export enum AugmentationName {
|
||||||
|
NeuroFluxGovernor = "NeuroFlux Governor",
|
||||||
Targeting1 = "Augmented Targeting I",
|
Targeting1 = "Augmented Targeting I",
|
||||||
Targeting2 = "Augmented Targeting II",
|
Targeting2 = "Augmented Targeting II",
|
||||||
Targeting3 = "Augmented Targeting III",
|
Targeting3 = "Augmented Targeting III",
|
||||||
@@ -55,7 +56,6 @@ export enum AugmentationName {
|
|||||||
HacknetNodeNICUpload = "Hacknet Node NIC Architecture Neural-Upload",
|
HacknetNodeNICUpload = "Hacknet Node NIC Architecture Neural-Upload",
|
||||||
HacknetNodeKernelDNI = "Hacknet Node Kernel Direct-Neural Interface",
|
HacknetNodeKernelDNI = "Hacknet Node Kernel Direct-Neural Interface",
|
||||||
HacknetNodeCoreDNI = "Hacknet Node Core Direct-Neural Interface",
|
HacknetNodeCoreDNI = "Hacknet Node Core Direct-Neural Interface",
|
||||||
NeuroFluxGovernor = "NeuroFlux Governor",
|
|
||||||
Neurotrainer1 = "Neurotrainer I",
|
Neurotrainer1 = "Neurotrainer I",
|
||||||
Neurotrainer2 = "Neurotrainer II",
|
Neurotrainer2 = "Neurotrainer II",
|
||||||
Neurotrainer3 = "Neurotrainer III",
|
Neurotrainer3 = "Neurotrainer III",
|
||||||
|
|||||||
@@ -49,7 +49,9 @@ const NeuroFluxDisplay = (): React.ReactElement => {
|
|||||||
<Typography variant="h5" color={Settings.theme.info}>
|
<Typography variant="h5" color={Settings.theme.info}>
|
||||||
NeuroFlux Governor - Level {level}
|
NeuroFlux Governor - Level {level}
|
||||||
</Typography>
|
</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}>
|
<Typography color={Settings.theme.info}>
|
||||||
The power of {AugmentationName.NeuroFluxGovernor} increases with blood donations from players in real life.
|
The power of {AugmentationName.NeuroFluxGovernor} increases with blood donations from players in real life.
|
||||||
Learn more <Link onClick={openBloodDonation}>here</Link>
|
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" }}>
|
<Typography variant="h6" sx={{ display: "flex", alignItems: "center", flexWrap: "wrap" }}>
|
||||||
{selectedAug.name}
|
{selectedAug.name}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography sx={{ maxHeight: 350, overflowY: "scroll" }}>
|
<Typography sx={{ maxHeight: 350, overflowY: "scroll", whiteSpace: "pre-wrap" }}>
|
||||||
{(() => {
|
{(() => {
|
||||||
const aug = Augmentations[selectedAug.name];
|
const aug = Augmentations[selectedAug.name];
|
||||||
|
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ export function PurchasableAugmentation(props: IPurchasableAugProps): React.Reac
|
|||||||
{aug.name}
|
{aug.name}
|
||||||
{aug.name === AugmentationName.NeuroFluxGovernor && ` - Level ${augLevel + 1}`}
|
{aug.name === AugmentationName.NeuroFluxGovernor && ` - Level ${augLevel + 1}`}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography>{description}</Typography>
|
<Typography whiteSpace={"pre-wrap"}>{description}</Typography>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export function PurchaseAugmentationModal({ aug, faction, onClose, open }: IProp
|
|||||||
return (
|
return (
|
||||||
<Modal open={open} onClose={onClose}>
|
<Modal open={open} onClose={onClose}>
|
||||||
<Typography variant="h4">{aug.name}</Typography>
|
<Typography variant="h4">{aug.name}</Typography>
|
||||||
<Typography>
|
<Typography whiteSpace={"pre-wrap"}>
|
||||||
{aug.info}
|
{aug.info}
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export function PurchasedAugmentations(): React.ReactElement {
|
|||||||
augs.push(
|
augs.push(
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title={
|
title={
|
||||||
<Typography>
|
<Typography whiteSpace={"pre-wrap"}>
|
||||||
{(() => {
|
{(() => {
|
||||||
const info = typeof aug.info === "string" ? <span>{aug.info}</span> : aug.info;
|
const info = typeof aug.info === "string" ? <span>{aug.info}</span> : aug.info;
|
||||||
const tooltip = (
|
const tooltip = (
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ export const CONSTANTS: {
|
|||||||
LatestUpdate: string;
|
LatestUpdate: string;
|
||||||
} = {
|
} = {
|
||||||
VersionString: "2.4.0",
|
VersionString: "2.4.0",
|
||||||
isDevBranch: true,
|
isDevBranch: false,
|
||||||
VersionNumber: 33,
|
VersionNumber: 33,
|
||||||
|
|
||||||
/** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
/** 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 />
|
<br />
|
||||||
|
|
||||||
<Typography>
|
<Typography whiteSpace={"pre-wrap"}>
|
||||||
{(() => {
|
{(() => {
|
||||||
const info =
|
const info =
|
||||||
typeof selectedAugmentation.info === "string" ? (
|
typeof selectedAugmentation.info === "string" ? (
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export function AugmentationAccordion(props: IProps): React.ReactElement {
|
|||||||
<>
|
<>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<Typography>{props.aug.stats}</Typography>
|
<Typography whiteSpace={"pre-wrap"}>{props.aug.stats}</Typography>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
@@ -62,7 +62,7 @@ export function AugmentationAccordion(props: IProps): React.ReactElement {
|
|||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
<Collapse in={open} unmountOnExit>
|
<Collapse in={open} unmountOnExit>
|
||||||
<Box m={4}>
|
<Box m={4}>
|
||||||
<Typography>
|
<Typography whiteSpace={"pre-wrap"}>
|
||||||
{props.aug.info}
|
{props.aug.info}
|
||||||
{props.aug.stats && (
|
{props.aug.stats && (
|
||||||
<>
|
<>
|
||||||
|
|||||||
@@ -1296,7 +1296,7 @@ exports[`Check Save File Continuity PlayerSave continuity 1`] = `
|
|||||||
"lastSave": 0,
|
"lastSave": 0,
|
||||||
"lastUpdate": 1687611703623,
|
"lastUpdate": 1687611703623,
|
||||||
"location": "Travel Agency",
|
"location": "Travel Agency",
|
||||||
"money": 1079,
|
"money": 1113,
|
||||||
"moneySourceA": {
|
"moneySourceA": {
|
||||||
"ctor": "MoneySourceTracker",
|
"ctor": "MoneySourceTracker",
|
||||||
"data": {
|
"data": {
|
||||||
|
|||||||
Reference in New Issue
Block a user