DARKNET: Darkweb Expansion Project & Bitnode (#2139)

This is BN15. It is a really big change; see the PR for all the details.
This commit is contained in:
Michael Ficocelli
2026-02-03 06:40:36 -05:00
committed by GitHub
parent a674633f6c
commit 6073964768
225 changed files with 15010 additions and 526 deletions
+8 -3
View File
@@ -2,16 +2,16 @@ import type { Augmentation } from "../Augmentation/Augmentation";
import type { Faction } from "./Faction";
import { Augmentations } from "../Augmentation/Augmentations";
import { AugmentationName, FactionDiscovery } from "@enums";
import { AugmentationName, FactionDiscovery, FactionName } from "@enums";
import { currentNodeMults } from "../BitNode/BitNodeMultipliers";
import { Player } from "@player";
import { Factions } from "./Factions";
import { Settings } from "../Settings/Settings";
import {
getHackingWorkRepGain,
getFactionSecurityWorkRepGain,
getFactionFieldWorkRepGain,
getFactionSecurityWorkRepGain,
getHackingWorkRepGain,
} from "../PersonObjects/formulas/reputation";
import { dialogBoxCreate } from "../ui/React/DialogBox";
@@ -203,5 +203,10 @@ export const getFactionAugmentationsFiltered = (faction: Faction): AugmentationN
return augs.map((a) => a.name);
}
// Remove TRP from daedalus in BN15
if (Player.bitNodeN === 15 && faction.name == FactionName.Daedalus) {
return faction.augmentations.filter((aug) => aug !== AugmentationName.TheRedPill);
}
return faction.augmentations.slice();
};