expose the inBladeburner on the player object

This commit is contained in:
phyzical 2022-03-12 12:36:47 +08:00
parent bb433d4629
commit 3cbb926fd8
2 changed files with 2 additions and 0 deletions

@ -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);

@ -94,6 +94,7 @@ interface Player {
factions: string[];
tor: boolean;
hasCorporation: boolean;
inBladeburner: boolean;
}
/**