diff --git a/src/BitNode/BitNode.tsx b/src/BitNode/BitNode.tsx index f9c6c3650..f3e18d22b 100644 --- a/src/BitNode/BitNode.tsx +++ b/src/BitNode/BitNode.tsx @@ -5,9 +5,15 @@ import { BitNodeMultipliers, replaceCurrentNodeMults } from "./BitNodeMultiplier class BitNode { // A short description, or tagline, about the BitNode - desc: string; + tagline: string; - // A long, detailed overview of the BitNode + // Overview of the BitNode + description: JSX.Element; + + // SF description + sfDescription: JSX.Element; + + // Full detail of this BitNode. This property is a combination of description and sfDescription. info: JSX.Element; // Name of BitNode @@ -18,12 +24,25 @@ class BitNode { difficulty: 0 | 1 | 2; - constructor(n: number, difficulty: 0 | 1 | 2, name: string, desc = "", info: JSX.Element = <>) { + constructor( + n: number, + difficulty: 0 | 1 | 2, + name: string, + tagline = "", + description: JSX.Element, + sfDescription: JSX.Element, + ) { this.number = n; this.difficulty = difficulty; this.name = name; - this.desc = desc; - this.info = info; + this.tagline = tagline; + this.description = description; + this.sfDescription = sfDescription; + this.info = ( + <> + {this.description} {this.sfDescription} + + ); } } @@ -44,8 +63,13 @@ export function initBitNodes() {

Destroying this BitNode will give you Source-File 1, or if you already have this Source-File, it will upgrade - its level up to a maximum of 3. This Source-File lets the player start with 32GB of RAM on their home computer - when entering a new BitNode and increases all of the player's multipliers by: + its level up to a maximum of 3. + + ), + ( + <> + This Source-File lets the player start with 32GB of RAM on their home computer when entering a new BitNode and + increases all of the player's multipliers by: