BB: Allow API Usage in BN 6 without 7 - Grants Augment for BN 7 completion (#1926)

This commit is contained in:
Sphyxis
2025-01-25 10:12:51 -07:00
committed by GitHub
parent 6c7972dc60
commit 97d248419d
3 changed files with 15 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
import { canAccessBitNodeFeature } from "../../BitNode/BitNodeUtils";
import { Bladeburner } from "../../Bladeburner/Bladeburner";
import { AugmentationName } from "@enums";
import type { PlayerObject } from "./PlayerObject";
export function canAccessBladeburner(this: PlayerObject): boolean {
@@ -10,4 +10,11 @@ export function canAccessBladeburner(this: PlayerObject): boolean {
export function startBladeburner(this: PlayerObject): void {
this.bladeburner = new Bladeburner();
this.bladeburner.init();
// Give Blades Simulacrum if you have unlocked it
if (this.sourceFileLvl(7) >= 3) {
this.augmentations.push({
name: AugmentationName.BladesSimulacrum,
level: 1,
});
}
}