Merge pull request #3124 from phyzical/feature/3122

expose the inBladeburner on the player object
This commit is contained in:
hydroflame 2022-03-16 14:51:41 -04:00 committed by GitHub
commit 2ed342b8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
/**