mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-14 03:20:07 +02:00
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:
committed by
GitHub
parent
a674633f6c
commit
6073964768
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user