mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
FACTIONS: Add "Rumors" system for learning about faction join requirements (#888)
This commit is contained in:
25
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
25
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -1934,6 +1934,31 @@ export interface Singularity {
|
||||
*/
|
||||
getCompanyFavorGain(companyName: CompanyName | `${CompanyName}`): number;
|
||||
|
||||
/**
|
||||
* List conditions for being invited to a faction.
|
||||
* @remarks
|
||||
* RAM cost: 3 GB * 16/4/1
|
||||
*
|
||||
*
|
||||
* @param faction - Name of the faction.
|
||||
* @returns Array of strings describing conditions for receiving an invitation to the faction.
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* ns.singularity.getFactionInviteRequirements("The Syndicate")
|
||||
* [
|
||||
* "Located in Aevum or Sector-12",
|
||||
* "Not working for the Central Intelligence Agency",
|
||||
* "Not working for the National Security Agency",
|
||||
* "-90 karma",
|
||||
* "Have $10.000m",
|
||||
* "Hacking level 200",
|
||||
* "All combat skills level 200"
|
||||
* ]
|
||||
* ```
|
||||
*/
|
||||
getFactionInviteRequirements(faction: string): string[];
|
||||
|
||||
/**
|
||||
* List all current faction invitations.
|
||||
* @remarks
|
||||
|
||||
Reference in New Issue
Block a user