diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index f0e3e0a80..4a49f27ab 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -2273,6 +2273,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { jobs: {}, factions: Player.factions.slice(), tor: Player.hasTorRouter(), + inBladeburner: Player.inBladeburner(), hasCorporation: Player.hasCorporation(), }; Object.assign(data.jobs, Player.jobs); diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 86be78cba..c8922f974 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -94,6 +94,7 @@ interface Player { factions: string[]; tor: boolean; hasCorporation: boolean; + inBladeburner: boolean; } /**