UI: Remove BitNode's difficulty in BitNode selection popup (#2454)

* UI: Remove BitNode's difficulty in BitNode selection popup

* Run prettier
This commit is contained in:
catloversg
2026-01-26 11:34:54 +07:00
committed by GitHub
parent 5f519991a6
commit d7c1c7be72
3 changed files with 2 additions and 28 deletions

View File

@@ -22,18 +22,8 @@ class BitNode {
// BitNode number // BitNode number
number: number; number: number;
difficulty: 0 | 1 | 2; constructor(n: number, name: string, tagline = "", description: JSX.Element, sfDescription: JSX.Element) {
constructor(
n: number,
difficulty: 0 | 1 | 2,
name: string,
tagline = "",
description: JSX.Element,
sfDescription: JSX.Element,
) {
this.number = n; this.number = n;
this.difficulty = difficulty;
this.name = name; this.name = name;
this.tagline = tagline; this.tagline = tagline;
this.description = description; this.description = description;
@@ -50,7 +40,6 @@ export const BitNodes: Record<string, BitNode> = {};
export function initBitNodes() { export function initBitNodes() {
BitNodes.BitNode1 = new BitNode( BitNodes.BitNode1 = new BitNode(
1, 1,
0,
"Source Genesis", "Source Genesis",
"The original BitNode", "The original BitNode",
( (
@@ -80,7 +69,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode2 = new BitNode( BitNodes.BitNode2 = new BitNode(
2, 2,
0,
"Rise of the Underworld", "Rise of the Underworld",
"From the shadows, they rose", "From the shadows, they rose",
( (
@@ -115,7 +103,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode3 = new BitNode( BitNodes.BitNode3 = new BitNode(
3, 3,
2,
"Corporatocracy", "Corporatocracy",
"The Price of Civilization", "The Price of Civilization",
( (
@@ -151,7 +138,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode4 = new BitNode( BitNodes.BitNode4 = new BitNode(
4, 4,
1,
"The Singularity", "The Singularity",
"The Man and the Machine", "The Man and the Machine",
( (
@@ -183,7 +169,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode5 = new BitNode( BitNodes.BitNode5 = new BitNode(
5, 5,
1,
"Artificial Intelligence", "Artificial Intelligence",
"Posthuman", "Posthuman",
( (
@@ -225,7 +210,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode6 = new BitNode( BitNodes.BitNode6 = new BitNode(
6, 6,
1,
FactionName.Bladeburners, FactionName.Bladeburners,
"Like Tears in Rain", "Like Tears in Rain",
( (
@@ -259,7 +243,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode7 = new BitNode( BitNodes.BitNode7 = new BitNode(
7, 7,
2,
`${FactionName.Bladeburners} 2079`, `${FactionName.Bladeburners} 2079`,
"More human than humans", "More human than humans",
( (
@@ -296,7 +279,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode8 = new BitNode( BitNodes.BitNode8 = new BitNode(
8, 8,
2,
"Ghost of Wall Street", "Ghost of Wall Street",
"Money never sleeps", "Money never sleeps",
( (
@@ -333,7 +315,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode9 = new BitNode( BitNodes.BitNode9 = new BitNode(
9, 9,
2,
"Hacktocracy", "Hacktocracy",
"Hacknet Unleashed", "Hacknet Unleashed",
( (
@@ -375,7 +356,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode10 = new BitNode( BitNodes.BitNode10 = new BitNode(
10, 10,
2,
"Digital Carbon", "Digital Carbon",
"Your body is not who you are", "Your body is not who you are",
( (
@@ -410,7 +390,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode11 = new BitNode( BitNodes.BitNode11 = new BitNode(
11, 11,
1,
"The Big Crash", "The Big Crash",
"Okay. Sell it all.", "Okay. Sell it all.",
( (
@@ -452,7 +431,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode12 = new BitNode( BitNodes.BitNode12 = new BitNode(
12, 12,
0,
"The Recursion", "The Recursion",
"Repeat.", "Repeat.",
( (
@@ -469,7 +447,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode13 = new BitNode( BitNodes.BitNode13 = new BitNode(
13, 13,
2,
"They're lunatics", "They're lunatics",
"1 step back, 2 steps forward", "1 step back, 2 steps forward",
( (
@@ -501,7 +478,6 @@ export function initBitNodes() {
); );
BitNodes.BitNode14 = new BitNode( BitNodes.BitNode14 = new BitNode(
14, 14,
1,
"IPvGO Subnet Takeover", "IPvGO Subnet Takeover",
"Territory exists only in the 'net", "Territory exists only in the 'net",
( (

View File

@@ -101,8 +101,6 @@ export function PortalModal(props: IProps): React.ReactElement {
Source-File Level: {props.level} / {maxSourceFileLevel} Source-File Level: {props.level} / {maxSourceFileLevel}
</Typography> </Typography>
<br /> <br />
<Typography> Difficulty: {["easy", "normal", "hard"][bitNode.difficulty]}</Typography>
<br />
<br /> <br />
<Typography component="div">{bitNode.info}</Typography> <Typography component="div">{bitNode.info}</Typography>
<BitNodeMultiplierDescription n={props.n} level={newLevel} hideMultsIfCannotAccessFeature={false} /> <BitNodeMultiplierDescription n={props.n} level={newLevel} hideMultsIfCannotAccessFeature={false} />

View File

@@ -38,7 +38,7 @@ Some mechanics synergize well with other mechanics. For example, in order to cre
Some mechanics have peculiarities that you should know beforehand. For example, enabling territory clashes too soon will make the player lose all territory and ruin their gang. Some mechanics have peculiarities that you should know beforehand. For example, enabling territory clashes too soon will make the player lose all territory and ruin their gang.
All BitNodes have a unique set of multipliers that affect the difficulty of that BitNode. You can see these multipliers when choosing a BitNode in the BitVerse. [Source-File](./sourcefiles.md) 5 gives you access to these multipliers when you are already in a BitNode. Some BitNodes are much harder than others. It's recommended to unlock other Source-Files before trying to beat these hard BitNodes. Note that the "Difficulty" value of a BitNode in the BitVerse may be a bit misleading in some cases. Understanding the difficulty of a BitNode is much harder than just choosing between "easy", "normal" and "hard". All BitNodes have a unique set of multipliers that affect the difficulty of that BitNode. You can see these multipliers when choosing a BitNode in the BitVerse. [Source-File](./sourcefiles.md) 5 gives you access to these multipliers when you are already in a BitNode. Some BitNodes are much harder than others. It's recommended to unlock other Source-Files before trying to beat these hard BitNodes.
# BitNode analysis # BitNode analysis