mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
UPDATE: 2.5.1 Release (#952)
This commit is contained in:
parent
6a76e1a9ab
commit
f93bbfbd5d
@ -1,46 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionInviteRequirements](./bitburner.singularity.getfactioninviterequirements.md)
|
||||
|
||||
## Singularity.getFactionInviteRequirements() method
|
||||
|
||||
List conditions for being invited to a faction.
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
getFactionInviteRequirements(faction: string): string[];
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| faction | string | Name of the faction. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
string\[\]
|
||||
|
||||
Array of strings describing conditions for receiving an invitation to the faction.
|
||||
|
||||
## Remarks
|
||||
|
||||
RAM cost: 3 GB \* 16/4/1
|
||||
|
||||
## 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"
|
||||
]
|
||||
```
|
||||
|
@ -50,7 +50,6 @@ This API requires Source-File 4 to use. The RAM cost of all these functions is m
|
||||
| [getDarkwebPrograms()](./bitburner.singularity.getdarkwebprograms.md) | Get a list of programs offered on the dark web. |
|
||||
| [getFactionFavor(faction)](./bitburner.singularity.getfactionfavor.md) | Get faction favor. |
|
||||
| [getFactionFavorGain(faction)](./bitburner.singularity.getfactionfavorgain.md) | Get faction favor gain. |
|
||||
| [getFactionInviteRequirements(faction)](./bitburner.singularity.getfactioninviterequirements.md) | List conditions for being invited to a faction. |
|
||||
| [getFactionRep(faction)](./bitburner.singularity.getfactionrep.md) | Get faction reputation. |
|
||||
| [getOwnedAugmentations(purchased)](./bitburner.singularity.getownedaugmentations.md) | Get a list of owned augmentation. |
|
||||
| [getOwnedSourceFiles()](./bitburner.singularity.getownedsourcefiles.md) | Get a list of acquired Source-Files. |
|
||||
|
@ -84,8 +84,8 @@ export const CONSTANTS: {
|
||||
Donations: number; // number of blood/plasma/palette donation the dev have verified., boosts NFG
|
||||
LatestUpdate: string;
|
||||
} = {
|
||||
VersionString: "2.5.1dev",
|
||||
isDevBranch: true,
|
||||
VersionString: "2.5.1",
|
||||
isDevBranch: false,
|
||||
VersionNumber: 35,
|
||||
|
||||
/** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
||||
@ -223,12 +223,11 @@ export const CONSTANTS: {
|
||||
|
||||
// Also update doc/source/changelog.rst
|
||||
LatestUpdate: `
|
||||
## v2.5.1 dev changelog (last updated 11/7/2023)
|
||||
## v2.5.1 - 30 November 2023 Update
|
||||
|
||||
### NOTES
|
||||
For the Steam version, this update includes a change that may result in your menu options reverting to default settings. If you experience issues with the correct savegame not loading, or you need to use Steam Cloud integration, check these menu settings after starting the game.
|
||||
|
||||
See 2.5.0 changelog at https://github.com/bitburner-official/bitburner-src/blob/stable/src/Documentation/doc/changelog.md
|
||||
For the Steam version, any special options you have enabled in the File menu may need to be reselected after this update, due to a change in how these settings are stored.
|
||||
|
||||
### MAJOR ADDITIONS
|
||||
|
||||
|
@ -1,5 +1,66 @@
|
||||
# Changelog
|
||||
|
||||
## v2.5.1 - 30 November 2023 Update
|
||||
|
||||
### NOTES
|
||||
|
||||
For the Steam version, any special options you have enabled in the File menu may need to be reselected after this update, due to a change in how these settings are stored.
|
||||
|
||||
### MAJOR ADDITIONS
|
||||
|
||||
- Added a faction rumors system, to learn the requirements for joining factions ingame (@jjclark1982)
|
||||
|
||||
### API
|
||||
|
||||
- (Bladeburner) Added ns.bladeburner.nextUpdate, which allows waiting for the next update of the bladeburner mechanic (@jjclark1982)
|
||||
- (Bladeburner) Added ns.bladeburner.getNextBlackOp, which provides name and rank info for the next Black Operation that can be completed (@myCatsName)
|
||||
- (Corporation) Added ns.corporation.nextUpdate, which allows waiting for the next update of the corporation mechanic (@jjclark1982)
|
||||
- (Corporation) Added a size property to the return value of getProduct (@Caldwell-74)
|
||||
- (Corporation) ns.corporation.getCorporation return value: 'state' property is deprecated. Added 'prevState' and 'nextState' properties. (@Caldwell-74)
|
||||
- (Gang) Added ns.gang.nextUpdate, which allows waiting for the next update of the gang mechanic (@jjclark1982)
|
||||
- (Singularity) Added a JobField enum, and used this for the ns.singularity.applyToCompany function (@alutman)
|
||||
- (Singularity) ns.singularity.purchaseProgram now returns true for programs that are already owned even if the player doesn't have enough money to re-buy the program (@ncharris93)
|
||||
- (Sleeve) Added nextCompletion promise as a property of sleeve bladeburner work tasks (@Snarling)
|
||||
- (Stanek) Added an effect property to getFragment (@TheAimMan)
|
||||
- (Stock) Added ns.stock.nextUpdate, which allows waiting for the next update of the stock mechanic (@jjclark1982)
|
||||
|
||||
### BUGFIX
|
||||
|
||||
- (Bladeburner) Fixed a bug that could allow reaching -1 contracts available (@TheAimMan)
|
||||
- (Corporation) Fix an incorrect calculation when adding more employees to an office (@Caldwell-74)
|
||||
- (Corporation) Bulk purchase can no longer be used to exceed maximum warehouse capacity (@TheAimMan)
|
||||
- (Corporation) Fixed a bug that allowed out-of-order research (@TheAimMan)
|
||||
- (Corporation) Product production cost is stored separately for each city (@Caldwell-74)
|
||||
- (Sleeve) Sleeve crime work can no longer cause an overflow of %completion when performing quick crimes during bonus time (@TheAimMan)
|
||||
- (Stanek) Multipliers from Stanek are now calculated correctly even if the player has Entropy (@yichizhng)
|
||||
- (Stanek) Fix a bug where Stanek bonuses were not being removed correctly after a reset (@TheAimMan)
|
||||
- Fix an error that would occur in some cases when using gymGains or universityGains (@cigarmemr)
|
||||
- Fix tab autocompletion when running a sceript without the run command (@mytskine)
|
||||
- Fix a bug that could cause the wrong coding contract to be deleted when using rm (@TheAimMan)
|
||||
- Scripts no longer show $0 for offline money income (@alutman)
|
||||
- Faction invitations are now cleared properly when performing a reset (@alutman)
|
||||
- API functions that work on a hostname no longer work on servers that have not been added to the network. (@TheAimMan)
|
||||
- Fix an issue where the "True Recursion" achievement could be granted incorrectly (@jjclark1982)
|
||||
|
||||
### MISC
|
||||
|
||||
- (Sleeve) Added ability to set a sleeve to idle through the UI (@Sphyxis)
|
||||
- Updated lots of dependencies (@Caldwell-74)
|
||||
- Updated electron to the latest version (Steam version only) (@Snarling)
|
||||
- Various spelling / grammar / wording fixes (@ficocelliguy, @Squirlll, @Warrobot10)
|
||||
- Minor reorganization and streamlining in Script Editor code (@Snarling)
|
||||
- Tweaked the .lit file referencing Illuminati to give a better idea about joining requirements (@d0sboots)
|
||||
- (Steam version) Replaced outdated electron-config with electron-store (@tiziodcaio)
|
||||
|
||||
### UI
|
||||
|
||||
- (Corporation) Improved the display of corporation state. (@Caldwell-74)
|
||||
- (Corporation) Improved various Corporation UIs (@jjclark1982)
|
||||
- (Gang) Removed the territory warfare toggle from the main Gang screen (@Tyasuh)
|
||||
- Added number of exploits to import savegame comparison (@myCatsName)
|
||||
- Dev menu improvements (@myCatsName, @Snarling)
|
||||
- Added a credits button on the options page (@myCatsName)
|
||||
|
||||
## v2.5.0 (10/2/2023)
|
||||
|
||||
### NOTES
|
||||
|
@ -181,7 +181,7 @@ const singularity = {
|
||||
getCompanyRep: SF4Cost(RamCostConstants.SingularityFn2 / 3),
|
||||
getCompanyFavor: SF4Cost(RamCostConstants.SingularityFn2 / 3),
|
||||
getCompanyFavorGain: SF4Cost(RamCostConstants.SingularityFn2 / 4),
|
||||
getFactionInviteRequirements: SF4Cost(RamCostConstants.SingularityFn2),
|
||||
// Temporarily removed for API improvements getFactionInviteRequirements: SF4Cost(RamCostConstants.SingularityFn2),
|
||||
checkFactionInvitations: SF4Cost(RamCostConstants.SingularityFn2),
|
||||
joinFaction: SF4Cost(RamCostConstants.SingularityFn2),
|
||||
workForFaction: SF4Cost(RamCostConstants.SingularityFn2),
|
||||
|
@ -816,12 +816,14 @@ export function NetscriptSingularity(): InternalAPI<ISingularity> {
|
||||
const companyName = getEnumHelper("CompanyName").nsGetMember(ctx, _companyName);
|
||||
return Companies[companyName].getFavorGain();
|
||||
},
|
||||
/* Function temporarily removed, likely to change in next version to be more programming-friendly instead of providing human-readable string outputs for each requirement
|
||||
getFactionInviteRequirements: (ctx) => (_facName) => {
|
||||
helpers.checkSingularityAccess(ctx);
|
||||
const facName = getEnumHelper("FactionName").nsGetMember(ctx, _facName);
|
||||
const fac = Factions[facName];
|
||||
return fac.getInfo().inviteReqs.map((condition) => condition.toString());
|
||||
},
|
||||
*/
|
||||
checkFactionInvitations: (ctx) => () => {
|
||||
helpers.checkSingularityAccess(ctx);
|
||||
// Manually trigger a check for faction invites
|
||||
|
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -1935,12 +1935,11 @@ export interface Singularity {
|
||||
*/
|
||||
getCompanyFavorGain(companyName: CompanyName | `${CompanyName}`): number;
|
||||
|
||||
/**
|
||||
/* Experimental function temporarily removed, likely to undergo changes in next patch to make return value more programming-friendly
|
||||
* 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.
|
||||
*
|
||||
@ -1957,8 +1956,8 @@ export interface Singularity {
|
||||
* "All combat skills level 200"
|
||||
* ]
|
||||
* ```
|
||||
*/
|
||||
getFactionInviteRequirements(faction: string): string[];
|
||||
*/
|
||||
|
||||
/**
|
||||
* List all current faction invitations.
|
||||
|
Loading…
Reference in New Issue
Block a user