UI: Added new locale-aware and configurable number formatting (#354)

This commit is contained in:
Snarling 2023-02-11 13:18:50 -05:00 committed by GitHub
parent 1f5546b721
commit b4074328ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1231 changed files with 4233 additions and 11958 deletions

2
.gitignore vendored

@ -10,6 +10,8 @@ Netburner.txt
/test/*.bundle.* /test/*.bundle.*
/test/*.css /test/*.css
/input/bitburner.api.json /input/bitburner.api.json
dist/bitburner.d.ts
dist/images
.cypress .cypress
# tmp folder for build and electron # tmp folder for build and electron

7984
dist/bitburner.d.ts vendored

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

@ -4,7 +4,7 @@
## ActiveFragment.highestCharge property ## ActiveFragment.highestCharge property
<b>Signature:</b> **Signature:**
```typescript ```typescript
highestCharge: number; highestCharge: number;

@ -4,7 +4,7 @@
## ActiveFragment.id property ## ActiveFragment.id property
<b>Signature:</b> **Signature:**
```typescript ```typescript
id: number; id: number;

@ -5,7 +5,7 @@
## ActiveFragment interface ## ActiveFragment interface
<b>Signature:</b> **Signature:**
```typescript ```typescript
interface ActiveFragment interface ActiveFragment
@ -13,12 +13,12 @@ interface ActiveFragment
## Properties ## Properties
| Property | Type | Description | | Property | Modifiers | Type | Description |
| --- | --- | --- | | --- | --- | --- | --- |
| [highestCharge](./bitburner.activefragment.highestcharge.md) | number | | | [highestCharge](./bitburner.activefragment.highestcharge.md) | | number | |
| [id](./bitburner.activefragment.id.md) | number | | | [id](./bitburner.activefragment.id.md) | | number | |
| [numCharge](./bitburner.activefragment.numcharge.md) | number | | | [numCharge](./bitburner.activefragment.numcharge.md) | | number | |
| [rotation](./bitburner.activefragment.rotation.md) | number | | | [rotation](./bitburner.activefragment.rotation.md) | | number | |
| [x](./bitburner.activefragment.x.md) | number | | | [x](./bitburner.activefragment.x.md) | | number | |
| [y](./bitburner.activefragment.y.md) | number | | | [y](./bitburner.activefragment.y.md) | | number | |

@ -4,7 +4,7 @@
## ActiveFragment.numCharge property ## ActiveFragment.numCharge property
<b>Signature:</b> **Signature:**
```typescript ```typescript
numCharge: number; numCharge: number;

@ -4,7 +4,7 @@
## ActiveFragment.rotation property ## ActiveFragment.rotation property
<b>Signature:</b> **Signature:**
```typescript ```typescript
rotation: number; rotation: number;

@ -4,7 +4,7 @@
## ActiveFragment.x property ## ActiveFragment.x property
<b>Signature:</b> **Signature:**
```typescript ```typescript
x: number; x: number;

@ -4,7 +4,7 @@
## ActiveFragment.y property ## ActiveFragment.y property
<b>Signature:</b> **Signature:**
```typescript ```typescript
y: number; y: number;

@ -6,7 +6,7 @@
augmentation cost augmentation cost
<b>Signature:</b> **Signature:**
```typescript ```typescript
cost: number; cost: number;

@ -6,7 +6,7 @@
Return value of [getSleevePurchasableAugs](./bitburner.sleeve.getsleevepurchasableaugs.md) Return value of [getSleevePurchasableAugs](./bitburner.sleeve.getsleevepurchasableaugs.md)
<b>Signature:</b> **Signature:**
```typescript ```typescript
interface AugmentPair interface AugmentPair
@ -14,8 +14,8 @@ interface AugmentPair
## Properties ## Properties
| Property | Type | Description | | Property | Modifiers | Type | Description |
| --- | --- | --- | | --- | --- | --- | --- |
| [cost](./bitburner.augmentpair.cost.md) | number | augmentation cost | | [cost](./bitburner.augmentpair.cost.md) | | number | augmentation cost |
| [name](./bitburner.augmentpair.name.md) | string | augmentation name | | [name](./bitburner.augmentpair.name.md) | | string | augmentation name |

@ -6,7 +6,7 @@
augmentation name augmentation name
<b>Signature:</b> **Signature:**
```typescript ```typescript
name: string; name: string;

@ -4,7 +4,7 @@
## AutocompleteData.flags() method ## AutocompleteData.flags() method
<b>Signature:</b> **Signature:**
```typescript ```typescript
flags(schema: [string, string | number | boolean | string[]][]): { [key: string]: ScriptArg | string[] }; flags(schema: [string, string | number | boolean | string[]][]): { [key: string]: ScriptArg | string[] };
@ -16,7 +16,7 @@ flags(schema: [string, string | number | boolean | string[]][]): { [key: string]
| --- | --- | --- | | --- | --- | --- |
| schema | \[string, string \| number \| boolean \| string\[\]\]\[\] | | | schema | \[string, string \| number \| boolean \| string\[\]\]\[\] | |
<b>Returns:</b> **Returns:**
{ \[key: string\]: [ScriptArg](./bitburner.scriptarg.md) \| string\[\] } { \[key: string\]: [ScriptArg](./bitburner.scriptarg.md) \| string\[\] }

@ -6,7 +6,7 @@
Used for autocompletion Used for autocompletion
<b>Signature:</b> **Signature:**
```typescript ```typescript
interface AutocompleteData interface AutocompleteData
@ -14,11 +14,11 @@ interface AutocompleteData
## Properties ## Properties
| Property | Type | Description | | Property | Modifiers | Type | Description |
| --- | --- | --- | | --- | --- | --- | --- |
| [scripts](./bitburner.autocompletedata.scripts.md) | string\[\] | | | [scripts](./bitburner.autocompletedata.scripts.md) | | string\[\] | |
| [servers](./bitburner.autocompletedata.servers.md) | string\[\] | | | [servers](./bitburner.autocompletedata.servers.md) | | string\[\] | |
| [txts](./bitburner.autocompletedata.txts.md) | string\[\] | | | [txts](./bitburner.autocompletedata.txts.md) | | string\[\] | |
## Methods ## Methods

@ -4,7 +4,7 @@
## AutocompleteData.scripts property ## AutocompleteData.scripts property
<b>Signature:</b> **Signature:**
```typescript ```typescript
scripts: string[]; scripts: string[];

@ -4,7 +4,7 @@
## AutocompleteData.servers property ## AutocompleteData.servers property
<b>Signature:</b> **Signature:**
```typescript ```typescript
servers: string[]; servers: string[];

@ -4,7 +4,7 @@
## AutocompleteData.txts property ## AutocompleteData.txts property
<b>Signature:</b> **Signature:**
```typescript ```typescript
txts: string[]; txts: string[];

@ -6,7 +6,7 @@
Options to affect the behavior of [hack](./bitburner.ns.hack.md)<!-- -->, [grow](./bitburner.ns.grow.md)<!-- -->, and [weaken](./bitburner.ns.weaken.md)<!-- -->. Options to affect the behavior of [hack](./bitburner.ns.hack.md)<!-- -->, [grow](./bitburner.ns.grow.md)<!-- -->, and [weaken](./bitburner.ns.weaken.md)<!-- -->.
<b>Signature:</b> **Signature:**
```typescript ```typescript
interface BasicHGWOptions interface BasicHGWOptions
@ -14,8 +14,8 @@ interface BasicHGWOptions
## Properties ## Properties
| Property | Type | Description | | Property | Modifiers | Type | Description |
| --- | --- | --- | | --- | --- | --- | --- |
| [stock?](./bitburner.basichgwoptions.stock.md) | boolean | <i>(Optional)</i> Set to true this action will affect the stock market. | | [stock?](./bitburner.basichgwoptions.stock.md) | | boolean | _(Optional)_ Set to true this action will affect the stock market. |
| [threads?](./bitburner.basichgwoptions.threads.md) | number | <i>(Optional)</i> Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. | | [threads?](./bitburner.basichgwoptions.threads.md) | | number | _(Optional)_ Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. |

@ -6,7 +6,7 @@
Set to true this action will affect the stock market. Set to true this action will affect the stock market.
<b>Signature:</b> **Signature:**
```typescript ```typescript
stock?: boolean; stock?: boolean;

@ -6,7 +6,7 @@
Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with.
<b>Signature:</b> **Signature:**
```typescript ```typescript
threads?: number; threads?: number;

@ -6,7 +6,7 @@
Influences how quickly the player's agility level (not exp) scales Influences how quickly the player's agility level (not exp) scales
<b>Signature:</b> **Signature:**
```typescript ```typescript
AgilityLevelMultiplier: number; AgilityLevelMultiplier: number;

@ -6,7 +6,7 @@
Influences the base cost to purchase an augmentation. Influences the base cost to purchase an augmentation.
<b>Signature:</b> **Signature:**
```typescript ```typescript
AugmentationMoneyCost: number; AugmentationMoneyCost: number;

@ -6,7 +6,7 @@
Influences the base rep the player must have with a faction to purchase an augmentation. Influences the base rep the player must have with a faction to purchase an augmentation.
<b>Signature:</b> **Signature:**
```typescript ```typescript
AugmentationRepCost: number; AugmentationRepCost: number;

@ -6,7 +6,7 @@
Influences how quickly the player can gain rank within Bladeburner. Influences how quickly the player can gain rank within Bladeburner.
<b>Signature:</b> **Signature:**
```typescript ```typescript
BladeburnerRank: number; BladeburnerRank: number;

@ -6,7 +6,7 @@
Influences the cost of skill levels from Bladeburner. Influences the cost of skill levels from Bladeburner.
<b>Signature:</b> **Signature:**
```typescript ```typescript
BladeburnerSkillCost: number; BladeburnerSkillCost: number;

@ -6,7 +6,7 @@
Influences how quickly the player's charisma level (not exp) scales Influences how quickly the player's charisma level (not exp) scales
<b>Signature:</b> **Signature:**
```typescript ```typescript
CharismaLevelMultiplier: number; CharismaLevelMultiplier: number;

@ -6,7 +6,7 @@
Influences the experience gained for each ability when a player completes a class. Influences the experience gained for each ability when a player completes a class.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ClassGymExpGain: number; ClassGymExpGain: number;

@ -6,7 +6,7 @@
Influences the amount of money gained from completing Coding Contracts Influences the amount of money gained from completing Coding Contracts
<b>Signature:</b> **Signature:**
```typescript ```typescript
CodingContractMoney: number; CodingContractMoney: number;

@ -6,7 +6,7 @@
Influences the experience gained for each ability when the player completes working their job. Influences the experience gained for each ability when the player completes working their job.
<b>Signature:</b> **Signature:**
```typescript ```typescript
CompanyWorkExpGain: number; CompanyWorkExpGain: number;

@ -6,7 +6,7 @@
Influences how much money the player earns when completing working their job. Influences how much money the player earns when completing working their job.
<b>Signature:</b> **Signature:**
```typescript ```typescript
CompanyWorkMoney: number; CompanyWorkMoney: number;

@ -6,7 +6,7 @@
Influences the money gain from dividends of corporations created by the player. Influences the money gain from dividends of corporations created by the player.
<b>Signature:</b> **Signature:**
```typescript ```typescript
CorporationSoftcap: number; CorporationSoftcap: number;

@ -6,7 +6,7 @@
Influences the valuation of corporations created by the player. Influences the valuation of corporations created by the player.
<b>Signature:</b> **Signature:**
```typescript ```typescript
CorporationValuation: number; CorporationValuation: number;

@ -6,7 +6,7 @@
Influences the base experience gained for each ability when the player commits a crime. Influences the base experience gained for each ability when the player commits a crime.
<b>Signature:</b> **Signature:**
```typescript ```typescript
CrimeExpGain: number; CrimeExpGain: number;

@ -6,7 +6,7 @@
Influences the base money gained when the player commits a crime. Influences the base money gained when the player commits a crime.
<b>Signature:</b> **Signature:**
```typescript ```typescript
CrimeMoney: number; CrimeMoney: number;

@ -6,7 +6,7 @@
Influences how many Augmentations you need in order to get invited to the Daedalus faction Influences how many Augmentations you need in order to get invited to the Daedalus faction
<b>Signature:</b> **Signature:**
```typescript ```typescript
DaedalusAugsRequirement: number; DaedalusAugsRequirement: number;

@ -6,7 +6,7 @@
Influences how quickly the player's defense level (not exp) scales Influences how quickly the player's defense level (not exp) scales
<b>Signature:</b> **Signature:**
```typescript ```typescript
DefenseLevelMultiplier: number; DefenseLevelMultiplier: number;

@ -6,7 +6,7 @@
Influences how quickly the player's dexterity level (not exp) scales Influences how quickly the player's dexterity level (not exp) scales
<b>Signature:</b> **Signature:**
```typescript ```typescript
DexterityLevelMultiplier: number; DexterityLevelMultiplier: number;

@ -6,7 +6,7 @@
Influences how much rep the player gains in each faction simply by being a member. Influences how much rep the player gains in each faction simply by being a member.
<b>Signature:</b> **Signature:**
```typescript ```typescript
FactionPassiveRepGain: number; FactionPassiveRepGain: number;

@ -6,7 +6,7 @@
Influences the experience gained for each ability when the player completes work for a Faction. Influences the experience gained for each ability when the player completes work for a Faction.
<b>Signature:</b> **Signature:**
```typescript ```typescript
FactionWorkExpGain: number; FactionWorkExpGain: number;

@ -6,7 +6,7 @@
Influences how much rep the player gains when performing work for a faction. Influences how much rep the player gains when performing work for a faction.
<b>Signature:</b> **Signature:**
```typescript ```typescript
FactionWorkRepGain: number; FactionWorkRepGain: number;

@ -6,7 +6,7 @@
Influences how much it costs to unlock the stock market's 4S Market Data API Influences how much it costs to unlock the stock market's 4S Market Data API
<b>Signature:</b> **Signature:**
```typescript ```typescript
FourSigmaMarketDataApiCost: number; FourSigmaMarketDataApiCost: number;

@ -6,7 +6,7 @@
Influences how much it costs to unlock the stock market's 4S Market Data (NOT API) Influences how much it costs to unlock the stock market's 4S Market Data (NOT API)
<b>Signature:</b> **Signature:**
```typescript ```typescript
FourSigmaMarketDataCost: number; FourSigmaMarketDataCost: number;

@ -6,7 +6,7 @@
Influences the respect gain and money gain of your gang. Influences the respect gain and money gain of your gang.
<b>Signature:</b> **Signature:**
```typescript ```typescript
GangSoftcap: number; GangSoftcap: number;

@ -6,7 +6,7 @@
Influences the experienced gained when hacking a server. Influences the experienced gained when hacking a server.
<b>Signature:</b> **Signature:**
```typescript ```typescript
HackExpGain: number; HackExpGain: number;

@ -6,7 +6,7 @@
Influences how quickly the player's hacking level (not experience) scales Influences how quickly the player's hacking level (not experience) scales
<b>Signature:</b> **Signature:**
```typescript ```typescript
HackingLevelMultiplier: number; HackingLevelMultiplier: number;

@ -6,7 +6,7 @@
Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9) Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9)
<b>Signature:</b> **Signature:**
```typescript ```typescript
HacknetNodeMoney: number; HacknetNodeMoney: number;

@ -6,7 +6,7 @@
Influences how much money it costs to upgrade your home computer's RAM Influences how much money it costs to upgrade your home computer's RAM
<b>Signature:</b> **Signature:**
```typescript ```typescript
HomeComputerRamCost: number; HomeComputerRamCost: number;

@ -6,7 +6,7 @@
Influences how much money is gained when the player infiltrates a company. Influences how much money is gained when the player infiltrates a company.
<b>Signature:</b> **Signature:**
```typescript ```typescript
InfiltrationMoney: number; InfiltrationMoney: number;

@ -6,7 +6,7 @@
Influences how much rep the player can gain from factions when selling stolen documents and secrets Influences how much rep the player can gain from factions when selling stolen documents and secrets
<b>Signature:</b> **Signature:**
```typescript ```typescript
InfiltrationRep: number; InfiltrationRep: number;

@ -6,7 +6,7 @@
Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal. Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ManualHackMoney: number; ManualHackMoney: number;

@ -6,7 +6,7 @@
All multipliers affecting the difficulty of the current challenge. All multipliers affecting the difficulty of the current challenge.
<b>Signature:</b> **Signature:**
```typescript ```typescript
interface BitNodeMultipliers interface BitNodeMultipliers
@ -14,52 +14,52 @@ interface BitNodeMultipliers
## Properties ## Properties
| Property | Type | Description | | Property | Modifiers | Type | Description |
| --- | --- | --- | | --- | --- | --- | --- |
| [AgilityLevelMultiplier](./bitburner.bitnodemultipliers.agilitylevelmultiplier.md) | number | Influences how quickly the player's agility level (not exp) scales | | [AgilityLevelMultiplier](./bitburner.bitnodemultipliers.agilitylevelmultiplier.md) | | number | Influences how quickly the player's agility level (not exp) scales |
| [AugmentationMoneyCost](./bitburner.bitnodemultipliers.augmentationmoneycost.md) | number | Influences the base cost to purchase an augmentation. | | [AugmentationMoneyCost](./bitburner.bitnodemultipliers.augmentationmoneycost.md) | | number | Influences the base cost to purchase an augmentation. |
| [AugmentationRepCost](./bitburner.bitnodemultipliers.augmentationrepcost.md) | number | Influences the base rep the player must have with a faction to purchase an augmentation. | | [AugmentationRepCost](./bitburner.bitnodemultipliers.augmentationrepcost.md) | | number | Influences the base rep the player must have with a faction to purchase an augmentation. |
| [BladeburnerRank](./bitburner.bitnodemultipliers.bladeburnerrank.md) | number | Influences how quickly the player can gain rank within Bladeburner. | | [BladeburnerRank](./bitburner.bitnodemultipliers.bladeburnerrank.md) | | number | Influences how quickly the player can gain rank within Bladeburner. |
| [BladeburnerSkillCost](./bitburner.bitnodemultipliers.bladeburnerskillcost.md) | number | Influences the cost of skill levels from Bladeburner. | | [BladeburnerSkillCost](./bitburner.bitnodemultipliers.bladeburnerskillcost.md) | | number | Influences the cost of skill levels from Bladeburner. |
| [CharismaLevelMultiplier](./bitburner.bitnodemultipliers.charismalevelmultiplier.md) | number | Influences how quickly the player's charisma level (not exp) scales | | [CharismaLevelMultiplier](./bitburner.bitnodemultipliers.charismalevelmultiplier.md) | | number | Influences how quickly the player's charisma level (not exp) scales |
| [ClassGymExpGain](./bitburner.bitnodemultipliers.classgymexpgain.md) | number | Influences the experience gained for each ability when a player completes a class. | | [ClassGymExpGain](./bitburner.bitnodemultipliers.classgymexpgain.md) | | number | Influences the experience gained for each ability when a player completes a class. |
| [CodingContractMoney](./bitburner.bitnodemultipliers.codingcontractmoney.md) | number | Influences the amount of money gained from completing Coding Contracts | | [CodingContractMoney](./bitburner.bitnodemultipliers.codingcontractmoney.md) | | number | Influences the amount of money gained from completing Coding Contracts |
| [CompanyWorkExpGain](./bitburner.bitnodemultipliers.companyworkexpgain.md) | number | Influences the experience gained for each ability when the player completes working their job. | | [CompanyWorkExpGain](./bitburner.bitnodemultipliers.companyworkexpgain.md) | | number | Influences the experience gained for each ability when the player completes working their job. |
| [CompanyWorkMoney](./bitburner.bitnodemultipliers.companyworkmoney.md) | number | Influences how much money the player earns when completing working their job. | | [CompanyWorkMoney](./bitburner.bitnodemultipliers.companyworkmoney.md) | | number | Influences how much money the player earns when completing working their job. |
| [CorporationSoftcap](./bitburner.bitnodemultipliers.corporationsoftcap.md) | number | Influences the money gain from dividends of corporations created by the player. | | [CorporationSoftcap](./bitburner.bitnodemultipliers.corporationsoftcap.md) | | number | Influences the money gain from dividends of corporations created by the player. |
| [CorporationValuation](./bitburner.bitnodemultipliers.corporationvaluation.md) | number | Influences the valuation of corporations created by the player. | | [CorporationValuation](./bitburner.bitnodemultipliers.corporationvaluation.md) | | number | Influences the valuation of corporations created by the player. |
| [CrimeExpGain](./bitburner.bitnodemultipliers.crimeexpgain.md) | number | Influences the base experience gained for each ability when the player commits a crime. | | [CrimeExpGain](./bitburner.bitnodemultipliers.crimeexpgain.md) | | number | Influences the base experience gained for each ability when the player commits a crime. |
| [CrimeMoney](./bitburner.bitnodemultipliers.crimemoney.md) | number | Influences the base money gained when the player commits a crime. | | [CrimeMoney](./bitburner.bitnodemultipliers.crimemoney.md) | | number | Influences the base money gained when the player commits a crime. |
| [DaedalusAugsRequirement](./bitburner.bitnodemultipliers.daedalusaugsrequirement.md) | number | Influences how many Augmentations you need in order to get invited to the Daedalus faction | | [DaedalusAugsRequirement](./bitburner.bitnodemultipliers.daedalusaugsrequirement.md) | | number | Influences how many Augmentations you need in order to get invited to the Daedalus faction |
| [DefenseLevelMultiplier](./bitburner.bitnodemultipliers.defenselevelmultiplier.md) | number | Influences how quickly the player's defense level (not exp) scales | | [DefenseLevelMultiplier](./bitburner.bitnodemultipliers.defenselevelmultiplier.md) | | number | Influences how quickly the player's defense level (not exp) scales |
| [DexterityLevelMultiplier](./bitburner.bitnodemultipliers.dexteritylevelmultiplier.md) | number | Influences how quickly the player's dexterity level (not exp) scales | | [DexterityLevelMultiplier](./bitburner.bitnodemultipliers.dexteritylevelmultiplier.md) | | number | Influences how quickly the player's dexterity level (not exp) scales |
| [FactionPassiveRepGain](./bitburner.bitnodemultipliers.factionpassiverepgain.md) | number | Influences how much rep the player gains in each faction simply by being a member. | | [FactionPassiveRepGain](./bitburner.bitnodemultipliers.factionpassiverepgain.md) | | number | Influences how much rep the player gains in each faction simply by being a member. |
| [FactionWorkExpGain](./bitburner.bitnodemultipliers.factionworkexpgain.md) | number | Influences the experience gained for each ability when the player completes work for a Faction. | | [FactionWorkExpGain](./bitburner.bitnodemultipliers.factionworkexpgain.md) | | number | Influences the experience gained for each ability when the player completes work for a Faction. |
| [FactionWorkRepGain](./bitburner.bitnodemultipliers.factionworkrepgain.md) | number | Influences how much rep the player gains when performing work for a faction. | | [FactionWorkRepGain](./bitburner.bitnodemultipliers.factionworkrepgain.md) | | number | Influences how much rep the player gains when performing work for a faction. |
| [FourSigmaMarketDataApiCost](./bitburner.bitnodemultipliers.foursigmamarketdataapicost.md) | number | Influences how much it costs to unlock the stock market's 4S Market Data API | | [FourSigmaMarketDataApiCost](./bitburner.bitnodemultipliers.foursigmamarketdataapicost.md) | | number | Influences how much it costs to unlock the stock market's 4S Market Data API |
| [FourSigmaMarketDataCost](./bitburner.bitnodemultipliers.foursigmamarketdatacost.md) | number | Influences how much it costs to unlock the stock market's 4S Market Data (NOT API) | | [FourSigmaMarketDataCost](./bitburner.bitnodemultipliers.foursigmamarketdatacost.md) | | number | Influences how much it costs to unlock the stock market's 4S Market Data (NOT API) |
| [GangSoftcap](./bitburner.bitnodemultipliers.gangsoftcap.md) | number | Influences the respect gain and money gain of your gang. | | [GangSoftcap](./bitburner.bitnodemultipliers.gangsoftcap.md) | | number | Influences the respect gain and money gain of your gang. |
| [HackExpGain](./bitburner.bitnodemultipliers.hackexpgain.md) | number | Influences the experienced gained when hacking a server. | | [HackExpGain](./bitburner.bitnodemultipliers.hackexpgain.md) | | number | Influences the experienced gained when hacking a server. |
| [HackingLevelMultiplier](./bitburner.bitnodemultipliers.hackinglevelmultiplier.md) | number | Influences how quickly the player's hacking level (not experience) scales | | [HackingLevelMultiplier](./bitburner.bitnodemultipliers.hackinglevelmultiplier.md) | | number | Influences how quickly the player's hacking level (not experience) scales |
| [HacknetNodeMoney](./bitburner.bitnodemultipliers.hacknetnodemoney.md) | number | Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9) | | [HacknetNodeMoney](./bitburner.bitnodemultipliers.hacknetnodemoney.md) | | number | Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9) |
| [HomeComputerRamCost](./bitburner.bitnodemultipliers.homecomputerramcost.md) | number | Influences how much money it costs to upgrade your home computer's RAM | | [HomeComputerRamCost](./bitburner.bitnodemultipliers.homecomputerramcost.md) | | number | Influences how much money it costs to upgrade your home computer's RAM |
| [InfiltrationMoney](./bitburner.bitnodemultipliers.infiltrationmoney.md) | number | Influences how much money is gained when the player infiltrates a company. | | [InfiltrationMoney](./bitburner.bitnodemultipliers.infiltrationmoney.md) | | number | Influences how much money is gained when the player infiltrates a company. |
| [InfiltrationRep](./bitburner.bitnodemultipliers.infiltrationrep.md) | number | Influences how much rep the player can gain from factions when selling stolen documents and secrets | | [InfiltrationRep](./bitburner.bitnodemultipliers.infiltrationrep.md) | | number | Influences how much rep the player can gain from factions when selling stolen documents and secrets |
| [ManualHackMoney](./bitburner.bitnodemultipliers.manualhackmoney.md) | number | Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal. | | [ManualHackMoney](./bitburner.bitnodemultipliers.manualhackmoney.md) | | number | Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal. |
| [PurchasedServerCost](./bitburner.bitnodemultipliers.purchasedservercost.md) | number | Influence how much it costs to purchase a server | | [PurchasedServerCost](./bitburner.bitnodemultipliers.purchasedservercost.md) | | number | Influence how much it costs to purchase a server |
| [PurchasedServerLimit](./bitburner.bitnodemultipliers.purchasedserverlimit.md) | number | Influences the maximum number of purchased servers you can have | | [PurchasedServerLimit](./bitburner.bitnodemultipliers.purchasedserverlimit.md) | | number | Influences the maximum number of purchased servers you can have |
| [PurchasedServerMaxRam](./bitburner.bitnodemultipliers.purchasedservermaxram.md) | number | Influences the maximum allowed RAM for a purchased server | | [PurchasedServerMaxRam](./bitburner.bitnodemultipliers.purchasedservermaxram.md) | | number | Influences the maximum allowed RAM for a purchased server |
| [PurchasedServerSoftcap](./bitburner.bitnodemultipliers.purchasedserversoftcap.md) | number | Influences cost of any purchased server at or above 128GB | | [PurchasedServerSoftcap](./bitburner.bitnodemultipliers.purchasedserversoftcap.md) | | number | Influences cost of any purchased server at or above 128GB |
| [RepToDonateToFaction](./bitburner.bitnodemultipliers.reptodonatetofaction.md) | number | Influences the minimum favor the player must have with a faction before they can donate to gain rep. | | [RepToDonateToFaction](./bitburner.bitnodemultipliers.reptodonatetofaction.md) | | number | Influences the minimum favor the player must have with a faction before they can donate to gain rep. |
| [ScriptHackMoney](./bitburner.bitnodemultipliers.scripthackmoney.md) | number | Influences how much the money on a server can be reduced when a script performs a hack against it. | | [ScriptHackMoney](./bitburner.bitnodemultipliers.scripthackmoney.md) | | number | Influences how much the money on a server can be reduced when a script performs a hack against it. |
| [ScriptHackMoneyGain](./bitburner.bitnodemultipliers.scripthackmoneygain.md) | number | Influences how much of the money stolen by a scripted hack will be added to the player's money. | | [ScriptHackMoneyGain](./bitburner.bitnodemultipliers.scripthackmoneygain.md) | | number | Influences how much of the money stolen by a scripted hack will be added to the player's money. |
| [ServerGrowthRate](./bitburner.bitnodemultipliers.servergrowthrate.md) | number | Influences the growth percentage per cycle against a server. | | [ServerGrowthRate](./bitburner.bitnodemultipliers.servergrowthrate.md) | | number | Influences the growth percentage per cycle against a server. |
| [ServerMaxMoney](./bitburner.bitnodemultipliers.servermaxmoney.md) | number | Influences the maximum money that a server can grow to. | | [ServerMaxMoney](./bitburner.bitnodemultipliers.servermaxmoney.md) | | number | Influences the maximum money that a server can grow to. |
| [ServerStartingMoney](./bitburner.bitnodemultipliers.serverstartingmoney.md) | number | Influences the initial money that a server starts with. | | [ServerStartingMoney](./bitburner.bitnodemultipliers.serverstartingmoney.md) | | number | Influences the initial money that a server starts with. |
| [ServerStartingSecurity](./bitburner.bitnodemultipliers.serverstartingsecurity.md) | number | Influences the initial security level (hackDifficulty) of a server. | | [ServerStartingSecurity](./bitburner.bitnodemultipliers.serverstartingsecurity.md) | | number | Influences the initial security level (hackDifficulty) of a server. |
| [ServerWeakenRate](./bitburner.bitnodemultipliers.serverweakenrate.md) | number | Influences the weaken amount per invocation against a server. | | [ServerWeakenRate](./bitburner.bitnodemultipliers.serverweakenrate.md) | | number | Influences the weaken amount per invocation against a server. |
| [StaneksGiftExtraSize](./bitburner.bitnodemultipliers.staneksgiftextrasize.md) | number | Influences the size of the gift | | [StaneksGiftExtraSize](./bitburner.bitnodemultipliers.staneksgiftextrasize.md) | | number | Influences the size of the gift |
| [StaneksGiftPowerMultiplier](./bitburner.bitnodemultipliers.staneksgiftpowermultiplier.md) | number | Influences the power of the gift | | [StaneksGiftPowerMultiplier](./bitburner.bitnodemultipliers.staneksgiftpowermultiplier.md) | | number | Influences the power of the gift |
| [StrengthLevelMultiplier](./bitburner.bitnodemultipliers.strengthlevelmultiplier.md) | number | Influences how quickly the player's strength level (not exp) scales | | [StrengthLevelMultiplier](./bitburner.bitnodemultipliers.strengthlevelmultiplier.md) | | number | Influences how quickly the player's strength level (not exp) scales |
| [WorldDaemonDifficulty](./bitburner.bitnodemultipliers.worlddaemondifficulty.md) | number | Influences the hacking skill required to backdoor the world daemon. | | [WorldDaemonDifficulty](./bitburner.bitnodemultipliers.worlddaemondifficulty.md) | | number | Influences the hacking skill required to backdoor the world daemon. |

@ -6,7 +6,7 @@
Influence how much it costs to purchase a server Influence how much it costs to purchase a server
<b>Signature:</b> **Signature:**
```typescript ```typescript
PurchasedServerCost: number; PurchasedServerCost: number;

@ -6,7 +6,7 @@
Influences the maximum number of purchased servers you can have Influences the maximum number of purchased servers you can have
<b>Signature:</b> **Signature:**
```typescript ```typescript
PurchasedServerLimit: number; PurchasedServerLimit: number;

@ -6,7 +6,7 @@
Influences the maximum allowed RAM for a purchased server Influences the maximum allowed RAM for a purchased server
<b>Signature:</b> **Signature:**
```typescript ```typescript
PurchasedServerMaxRam: number; PurchasedServerMaxRam: number;

@ -6,7 +6,7 @@
Influences cost of any purchased server at or above 128GB Influences cost of any purchased server at or above 128GB
<b>Signature:</b> **Signature:**
```typescript ```typescript
PurchasedServerSoftcap: number; PurchasedServerSoftcap: number;

@ -6,7 +6,7 @@
Influences the minimum favor the player must have with a faction before they can donate to gain rep. Influences the minimum favor the player must have with a faction before they can donate to gain rep.
<b>Signature:</b> **Signature:**
```typescript ```typescript
RepToDonateToFaction: number; RepToDonateToFaction: number;

@ -6,7 +6,7 @@
Influences how much the money on a server can be reduced when a script performs a hack against it. Influences how much the money on a server can be reduced when a script performs a hack against it.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ScriptHackMoney: number; ScriptHackMoney: number;

@ -6,7 +6,7 @@
Influences how much of the money stolen by a scripted hack will be added to the player's money. Influences how much of the money stolen by a scripted hack will be added to the player's money.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ScriptHackMoneyGain: number; ScriptHackMoneyGain: number;

@ -6,7 +6,7 @@
Influences the growth percentage per cycle against a server. Influences the growth percentage per cycle against a server.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ServerGrowthRate: number; ServerGrowthRate: number;

@ -6,7 +6,7 @@
Influences the maximum money that a server can grow to. Influences the maximum money that a server can grow to.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ServerMaxMoney: number; ServerMaxMoney: number;

@ -6,7 +6,7 @@
Influences the initial money that a server starts with. Influences the initial money that a server starts with.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ServerStartingMoney: number; ServerStartingMoney: number;

@ -6,7 +6,7 @@
Influences the initial security level (hackDifficulty) of a server. Influences the initial security level (hackDifficulty) of a server.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ServerStartingSecurity: number; ServerStartingSecurity: number;

@ -6,7 +6,7 @@
Influences the weaken amount per invocation against a server. Influences the weaken amount per invocation against a server.
<b>Signature:</b> **Signature:**
```typescript ```typescript
ServerWeakenRate: number; ServerWeakenRate: number;

@ -6,7 +6,7 @@
Influences the size of the gift Influences the size of the gift
<b>Signature:</b> **Signature:**
```typescript ```typescript
StaneksGiftExtraSize: number; StaneksGiftExtraSize: number;

@ -6,7 +6,7 @@
Influences the power of the gift Influences the power of the gift
<b>Signature:</b> **Signature:**
```typescript ```typescript
StaneksGiftPowerMultiplier: number; StaneksGiftPowerMultiplier: number;

@ -6,7 +6,7 @@
Influences how quickly the player's strength level (not exp) scales Influences how quickly the player's strength level (not exp) scales
<b>Signature:</b> **Signature:**
```typescript ```typescript
StrengthLevelMultiplier: number; StrengthLevelMultiplier: number;

@ -6,7 +6,7 @@
Influences the hacking skill required to backdoor the world daemon. Influences the hacking skill required to backdoor the world daemon.
<b>Signature:</b> **Signature:**
```typescript ```typescript
WorldDaemonDifficulty: number; WorldDaemonDifficulty: number;

@ -6,7 +6,7 @@
Get whether an action is set to autolevel. Get whether an action is set to autolevel.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getActionAutolevel(type: string, name: string): boolean; getActionAutolevel(type: string, name: string): boolean;
@ -19,7 +19,7 @@ getActionAutolevel(type: string, name: string): boolean;
| type | string | Type of action. | | type | string | Type of action. |
| name | string | Name of action. Must be an exact match. | | name | string | Name of action. Must be an exact match. |
<b>Returns:</b> **Returns:**
boolean boolean

@ -6,7 +6,7 @@
Get action count remaining. Get action count remaining.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getActionCountRemaining(type: string, name: string): number; getActionCountRemaining(type: string, name: string): number;
@ -19,7 +19,7 @@ getActionCountRemaining(type: string, name: string): number;
| type | string | Type of action. | | type | string | Type of action. |
| name | string | Name of action. Must be an exact match. | | name | string | Name of action. Must be an exact match. |
<b>Returns:</b> **Returns:**
number number

@ -6,7 +6,7 @@
Get the current level of an action. Get the current level of an action.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getActionCurrentLevel(type: string, name: string): number; getActionCurrentLevel(type: string, name: string): number;
@ -19,7 +19,7 @@ getActionCurrentLevel(type: string, name: string): number;
| type | string | Type of action. | | type | string | Type of action. |
| name | string | Name of action. Must be an exact match. | | name | string | Name of action. Must be an exact match. |
<b>Returns:</b> **Returns:**
number number

@ -6,12 +6,12 @@
Get the time elapsed on current action. Get the time elapsed on current action.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getActionCurrentTime(): number; getActionCurrentTime(): number;
``` ```
<b>Returns:</b> **Returns:**
number number

@ -6,7 +6,7 @@
Get estimate success chance of an action. Get estimate success chance of an action.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getActionEstimatedSuccessChance(type: string, name: string): [number, number]; getActionEstimatedSuccessChance(type: string, name: string): [number, number];
@ -19,7 +19,7 @@ getActionEstimatedSuccessChance(type: string, name: string): [number, number];
| type | string | Type of action. | | type | string | Type of action. |
| name | string | Name of action. Must be an exact match. | | name | string | Name of action. Must be an exact match. |
<b>Returns:</b> **Returns:**
\[number, number\] \[number, number\]

@ -6,7 +6,7 @@
Get the maximum level of an action. Get the maximum level of an action.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getActionMaxLevel(type: string, name: string): number; getActionMaxLevel(type: string, name: string): number;
@ -19,7 +19,7 @@ getActionMaxLevel(type: string, name: string): number;
| type | string | Type of action. | | type | string | Type of action. |
| name | string | Name of action. Must be an exact match. | | name | string | Name of action. Must be an exact match. |
<b>Returns:</b> **Returns:**
number number

@ -6,7 +6,7 @@
Get the reputation gain of an action. Get the reputation gain of an action.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getActionRepGain(type: string, name: string, level: number): number; getActionRepGain(type: string, name: string, level: number): number;
@ -20,7 +20,7 @@ getActionRepGain(type: string, name: string, level: number): number;
| name | string | Name of action. Must be an exact match. | | name | string | Name of action. Must be an exact match. |
| level | number | Optional action level at which to calculate the gain | | level | number | Optional action level at which to calculate the gain |
<b>Returns:</b> **Returns:**
number number

@ -0,0 +1,33 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Bladeburner](./bitburner.bladeburner.md) &gt; [getActionSuccesses](./bitburner.bladeburner.getactionsuccesses.md)
## Bladeburner.getActionSuccesses() method
Get action successes.
**Signature:**
```typescript
getActionSuccesses(type: string, name: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |
**Returns:**
number
a number with how many successes you have with action.
## Remarks
RAM cost: 4 GB
Return a number with how many successes you have with action.

@ -6,7 +6,7 @@
Get the time to complete an action. Get the time to complete an action.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getActionTime(type: string, name: string): number; getActionTime(type: string, name: string): number;
@ -19,7 +19,7 @@ getActionTime(type: string, name: string): number;
| type | string | Type of action. | | type | string | Type of action. |
| name | string | Name of action. Must be an exact match. | | name | string | Name of action. Must be an exact match. |
<b>Returns:</b> **Returns:**
number number

@ -6,12 +6,12 @@
List all black ops. List all black ops.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getBlackOpNames(): string[]; getBlackOpNames(): string[];
``` ```
<b>Returns:</b> **Returns:**
string\[\] string\[\]

@ -6,7 +6,7 @@
Get black op required rank. Get black op required rank.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getBlackOpRank(name: string): number; getBlackOpRank(name: string): number;
@ -18,7 +18,7 @@ getBlackOpRank(name: string): number;
| --- | --- | --- | | --- | --- | --- |
| name | string | Name of BlackOp. Must be an exact match. | | name | string | Name of BlackOp. Must be an exact match. |
<b>Returns:</b> **Returns:**
number number

@ -6,12 +6,12 @@
Get bladeburner bonus time. Get bladeburner bonus time.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getBonusTime(): number; getBonusTime(): number;
``` ```
<b>Returns:</b> **Returns:**
number number

@ -6,12 +6,12 @@
Get current city. Get current city.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getCity(): CityName; getCity(): CityName;
``` ```
<b>Returns:</b> **Returns:**
[CityName](./bitburner.cityname.md) [CityName](./bitburner.cityname.md)

@ -6,7 +6,7 @@
Get chaos of a city. Get chaos of a city.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getCityChaos(city: CityName | `${CityName}`): number; getCityChaos(city: CityName | `${CityName}`): number;
@ -18,7 +18,7 @@ getCityChaos(city: CityName | `${CityName}`): number;
| --- | --- | --- | | --- | --- | --- |
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of city. Case-sensitive | | city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of city. Case-sensitive |
<b>Returns:</b> **Returns:**
number number

@ -6,7 +6,7 @@
Get number of communities in a city. Get number of communities in a city.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getCityCommunities(city: CityName | `${CityName}`): number; getCityCommunities(city: CityName | `${CityName}`): number;
@ -18,7 +18,7 @@ getCityCommunities(city: CityName | `${CityName}`): number;
| --- | --- | --- | | --- | --- | --- |
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of city. Case-sensitive | | city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of city. Case-sensitive |
<b>Returns:</b> **Returns:**
number number

@ -6,7 +6,7 @@
Get estimated population in city. Get estimated population in city.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getCityEstimatedPopulation(city: CityName | `${CityName}`): number; getCityEstimatedPopulation(city: CityName | `${CityName}`): number;
@ -18,7 +18,7 @@ getCityEstimatedPopulation(city: CityName | `${CityName}`): number;
| --- | --- | --- | | --- | --- | --- |
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of city. Case-sensitive | | city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of city. Case-sensitive |
<b>Returns:</b> **Returns:**
number number

@ -6,12 +6,12 @@
List all contracts. List all contracts.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getContractNames(): string[]; getContractNames(): string[];
``` ```
<b>Returns:</b> **Returns:**
string\[\] string\[\]

@ -6,12 +6,12 @@
Get current action. Get current action.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getCurrentAction(): BladeburnerCurAction; getCurrentAction(): BladeburnerCurAction;
``` ```
<b>Returns:</b> **Returns:**
[BladeburnerCurAction](./bitburner.bladeburnercuraction.md) [BladeburnerCurAction](./bitburner.bladeburnercuraction.md)

@ -6,12 +6,12 @@
List all general actions. List all general actions.
<b>Signature:</b> **Signature:**
```typescript ```typescript
getGeneralActionNames(): string[]; getGeneralActionNames(): string[];
``` ```
<b>Returns:</b> **Returns:**
string\[\] string\[\]

Some files were not shown because too many files have changed in this diff Show More