FACTIONS: Add "Rumors" system for learning about faction join requirements (#888)

This commit is contained in:
Jesse Clark
2023-11-02 07:20:24 -07:00
committed by GitHub
parent 023f32bce3
commit fdcb8306d9
27 changed files with 1049 additions and 601 deletions

View File

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