mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 09:42:53 +02:00
FEATURE: BitNode options (#1411)
This commit is contained in:
@@ -13,6 +13,7 @@ import { calculateHackingTime, calculateGrowTime, calculateWeakenTime } from "..
|
||||
import { CompletedProgramName, FactionName } from "@enums";
|
||||
import { Router } from "../ui/GameRoot";
|
||||
import { Page } from "../ui/Router";
|
||||
import { knowAboutBitverse } from "../BitNode/BitNodeUtils";
|
||||
|
||||
function requireHackingLevel(lvl: number) {
|
||||
return function () {
|
||||
@@ -22,7 +23,7 @@ function requireHackingLevel(lvl: number) {
|
||||
|
||||
function bitFlumeRequirements() {
|
||||
return function () {
|
||||
return Player.sourceFiles.size > 0 && Player.skills.hacking >= 1;
|
||||
return knowAboutBitverse() && Player.skills.hacking >= 1;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user