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/*.css
/input/bitburner.api.json
dist/bitburner.d.ts
dist/images
.cypress
# 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
<b>Signature:</b>
**Signature:**
```typescript
highestCharge: number;

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -4,7 +4,7 @@
## AutocompleteData.txts property
<b>Signature:</b>
**Signature:**
```typescript
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)<!-- -->.
<b>Signature:</b>
**Signature:**
```typescript
interface BasicHGWOptions
@ -14,8 +14,8 @@ interface BasicHGWOptions
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [stock?](./bitburner.basichgwoptions.stock.md) | boolean | <i>(Optional)</i> 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. |
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [stock?](./bitburner.basichgwoptions.stock.md) | | boolean | _(Optional)_ Set to true this action will affect the stock market. |
| [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.
<b>Signature:</b>
**Signature:**
```typescript
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.
<b>Signature:</b>
**Signature:**
```typescript
threads?: number;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -6,7 +6,7 @@
All multipliers affecting the difficulty of the current challenge.
<b>Signature:</b>
**Signature:**
```typescript
interface BitNodeMultipliers
@ -14,52 +14,52 @@ interface BitNodeMultipliers
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [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. |
| [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. |
| [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 |
| [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 |
| [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. |
| [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. |
| [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. |
| [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 |
| [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. |
| [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. |
| [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) |
| [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. |
| [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) |
| [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. |
| [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. |
| [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 |
| [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 |
| [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. |
| [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. |
| [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. |
| [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. |
| [StaneksGiftExtraSize](./bitburner.bitnodemultipliers.staneksgiftextrasize.md) | number | Influences the size 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 |
| [WorldDaemonDifficulty](./bitburner.bitnodemultipliers.worlddaemondifficulty.md) | number | Influences the hacking skill required to backdoor the world daemon. |
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [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. |
| [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. |
| [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 |
| [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 |
| [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. |
| [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. |
| [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. |
| [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 |
| [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. |
| [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. |
| [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) |
| [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. |
| [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) |
| [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. |
| [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. |
| [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 |
| [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 |
| [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. |
| [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. |
| [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. |
| [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. |
| [StaneksGiftExtraSize](./bitburner.bitnodemultipliers.staneksgiftextrasize.md) | | number | Influences the size 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 |
| [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
<b>Signature:</b>
**Signature:**
```typescript
PurchasedServerCost: number;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -6,7 +6,7 @@
Get chaos of a city.
<b>Signature:</b>
**Signature:**
```typescript
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 |
<b>Returns:</b>
**Returns:**
number

@ -6,7 +6,7 @@
Get number of communities in a city.
<b>Signature:</b>
**Signature:**
```typescript
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 |
<b>Returns:</b>
**Returns:**
number

@ -6,7 +6,7 @@
Get estimated population in city.
<b>Signature:</b>
**Signature:**
```typescript
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 |
<b>Returns:</b>
**Returns:**
number

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

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

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

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