mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
@@ -17,6 +17,13 @@ export function canAccessGang(this: IPlayer): boolean {
|
||||
return this.karma <= GangKarmaRequirement;
|
||||
}
|
||||
|
||||
export function isAwareOfGang(this: IPlayer): boolean {
|
||||
if (this.bitNodeN === 2 || this.sourceFileLvl(2) >= 1) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
export function getGangFaction(this: IPlayer): Faction {
|
||||
const gang = this.gang;
|
||||
if (gang === null) {
|
||||
|
||||
Reference in New Issue
Block a user