bitburner-src/markdown/bitburner.playerrequirement.md

2.7 KiB

Home > bitburner > PlayerRequirement

PlayerRequirement type

Structured interface to requirements for joining a faction or company. For fields with numerical value > 0, the player must have at least this value. For fields with numerical value <= 0, the player must have at most this value. For "not", the sub-condition must be failed instead of passed. For "someCondition", at least one sub-condition must be passed.

Signature:

export type PlayerRequirement =
  | MoneyRequirement
  | SkillRequirement
  | KarmaRequiremennt
  | PeopleKilledRequirement
  | FileRequirement
  | NumAugmentationsRequirement
  | EmployedByRequirement
  | CompanyReputationRequirement
  | JobTitleRequirement
  | CityRequirement
  | LocationRequirement
  | BackdoorRequirement
  | HacknetRAMRequirement
  | HacknetCoresRequirement
  | HacknetLevelsRequirement
  | BitNodeRequirement
  | SourceFileRequirement
  | BladeburnerRankRequirement
  | NumInfiltrationsRequirement
  | NotRequirement
  | SomeRequirement
  | EveryRequirement;

References: MoneyRequirement, SkillRequirement, KarmaRequiremennt, PeopleKilledRequirement, FileRequirement, NumAugmentationsRequirement, EmployedByRequirement, CompanyReputationRequirement, JobTitleRequirement, CityRequirement, LocationRequirement, BackdoorRequirement, HacknetRAMRequirement, HacknetCoresRequirement, HacknetLevelsRequirement, BitNodeRequirement, SourceFileRequirement, BladeburnerRankRequirement, NumInfiltrationsRequirement, NotRequirement, SomeRequirement, EveryRequirement