mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
BB: Allow API Usage in BN 6 without 7 - Grants Augment for BN 7 completion (#1926)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user