formulas for gang stuff

This commit is contained in:
Olivier Gagnon
2021-12-08 18:19:30 -05:00
parent d01d75606a
commit 2af57cb01e
141 changed files with 2828 additions and 1662 deletions

72
dist/bitburner.d.ts vendored
View File

@ -826,6 +826,9 @@ export declare interface CodingContract {
getNumTriesRemaining(filename: string, host?: string): number;
}
/**
* @public
*/
export declare interface Corporation extends WarehouseAPI, OfficeAPI {
getCorporation(): CorporationInfo;
getDivision(divisionName: string): Division;
@ -836,6 +839,9 @@ export declare interface Corporation extends WarehouseAPI, OfficeAPI {
issueDividends(percent: number): void;
}
/**
* @public
*/
export declare interface CorporationInfo {
name: string;
funds: number;
@ -897,6 +903,9 @@ export declare interface CrimeStats {
intelligence_exp: number;
}
/**
* @public
*/
export declare interface Division {
name: string;
type: string;
@ -912,6 +921,9 @@ export declare interface Division {
cities: string[];
}
/**
* @public
*/
export declare interface Employee {
name: string;
mor: number;
@ -927,6 +939,9 @@ export declare interface Employee {
pos: string;
}
/**
* @public
*/
export declare interface EmployeeJobs {
Operations: number;
Engineer: number;
@ -964,6 +979,7 @@ export declare interface Formulas {
hacking: HackingFormulas;
hacknetNodes: HacknetNodesFormulas;
hacknetServers: HacknetServersFormulas;
gang: GangFormulas;
}
/**
@ -1185,6 +1201,18 @@ export declare interface Gang {
*/
ascendMember(memberName: string): GangMemberAscension | undefined;
/**
* Get the result of an ascension without ascending.
* @remarks
* RAM cost: 2 GB
*
* Get the result of an ascension without ascending.
*
* @param memberName - Name of member.
* @returns Object with info about the ascension results. undefined if ascension is impossible.
*/
getAscensionResult(memberName: string): GangMemberAscension | undefined;
/**
* Enable/Disable territory warfare.
* @remarks
@ -1224,6 +1252,16 @@ export declare interface Gang {
getBonusTime(): number;
}
/**
* @public
*/
export declare interface GangFormulas {
calculateWantedPenalty(gang: GangGenInfo): number;
calculateRespectGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
calculateWantedLevelGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
calculateMoneyGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
}
/**
* Gang general info.
* @public
@ -1233,24 +1271,26 @@ export declare interface GangGenInfo {
faction: string;
/** Boolean indicating whether or not its a hacking gang */
isHacking: boolean;
/** Money earned per second */
/** Money earned per game cycle */
moneyGainRate: number;
/** Gang's power for territory warfare */
power: number;
/** Gang's respect */
respect: number;
/** Respect earned per second */
/** Respect earned per game cycle */
respectGainRate: number;
/** Amount of territory held. Returned in decimal form, not percentage */
/** Amount of territory held. */
territory: number;
/** Clash chance. Returned in decimal form, not percentage */
/** Clash chance. */
territoryClashChance: number;
/** Gang's wanted level */
wantedLevel: number;
/** Wanted level gained/lost per second (negative for losses) */
/** Wanted level gained/lost per game cycle (negative for losses) */
wantedLevelGainRate: number;
/** Boolean indicating if territory warfare is enabled. */
territoryWarfareEngaged: boolean;
/** Number indicating the current wanted penalty. */
wantedPenalty: number;
}
/**
@ -1317,6 +1357,10 @@ export declare interface GangMemberInfo {
upgrades: string[];
augmentations: string[];
respectGain: number;
wantedLevelGain: number;
moneyGain: number;
}
/**
@ -1780,6 +1824,9 @@ export declare interface HacknetServersFormulas {
constants(): any;
}
/**
* @public
*/
export declare interface Material {
name: string;
qty: number;
@ -3480,6 +3527,9 @@ export declare interface NS extends Singularity {
flags(schema: [string, string | number | boolean | string[]][]): any;
}
/**
* @public
*/
export declare interface Office {
loc: string;
size: number;
@ -3492,6 +3542,9 @@ export declare interface Office {
employeeProd: EmployeeJobs;
}
/**
* @public
*/
export declare interface OfficeAPI {
employees(divisionName: string, cityName: string): string[];
assignJob(divisionName: string, cityName: string, employeeName: string, job: string): Promise<void>;
@ -3631,6 +3684,9 @@ export declare interface ProcessInfo {
args: string[];
}
/**
* @public
*/
export declare interface Product {
name: string;
dmd: number;
@ -5241,6 +5297,9 @@ export declare interface TIX {
purchase4SMarketDataTixApi(): boolean;
}
/**
* @public
*/
export declare interface Warehouse {
level: number;
loc: string;
@ -5248,6 +5307,9 @@ export declare interface Warehouse {
sizeUsed: number;
}
/**
* @public
*/
export declare interface WarehouseAPI {
sellMaterial(divisionName: string, cityName: string, materialName: string, amt: number, price: number): void;
sellProduct(

36
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

View File

@ -5178,7 +5178,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!Corporation:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -5545,7 +5545,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!CorporationInfo:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -6383,7 +6383,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!Division:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -6711,7 +6711,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!Employee:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -7039,7 +7039,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!EmployeeJobs:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -7419,6 +7419,33 @@
"releaseTag": "Public",
"name": "Formulas",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Formulas#gang:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "gang: "
},
{
"kind": "Reference",
"text": "GangFormulas",
"canonicalReference": "bitburner!GangFormulas:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "gang",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Formulas#hacking:member",
@ -7810,6 +7837,55 @@
],
"name": "createGang"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getAscensionResult:member(1)",
"docComment": "/**\n * Get the result of an ascension without ascending.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the result of an ascension without ascending.\n *\n * @param memberName - Name of member.\n *\n * @returns Object with info about the ascension results. undefined if ascension is impossible.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getAscensionResult(memberName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangMemberAscension",
"canonicalReference": "bitburner!GangMemberAscension:interface"
},
{
"kind": "Content",
"text": " | undefined"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAscensionResult"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getBonusTime:member(1)",
@ -8484,6 +8560,298 @@
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangFormulas:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface GangFormulas "
}
],
"releaseTag": "Public",
"name": "GangFormulas",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!GangFormulas#calculateMoneyGain:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "calculateMoneyGain(gang: "
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": ", member: "
},
{
"kind": "Reference",
"text": "GangMemberInfo",
"canonicalReference": "bitburner!GangMemberInfo:interface"
},
{
"kind": "Content",
"text": ", task: "
},
{
"kind": "Reference",
"text": "GangTaskStats",
"canonicalReference": "bitburner!GangTaskStats:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gang",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "member",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "task",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "calculateMoneyGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!GangFormulas#calculateRespectGain:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "calculateRespectGain(gang: "
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": ", member: "
},
{
"kind": "Reference",
"text": "GangMemberInfo",
"canonicalReference": "bitburner!GangMemberInfo:interface"
},
{
"kind": "Content",
"text": ", task: "
},
{
"kind": "Reference",
"text": "GangTaskStats",
"canonicalReference": "bitburner!GangTaskStats:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gang",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "member",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "task",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "calculateRespectGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!GangFormulas#calculateWantedLevelGain:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "calculateWantedLevelGain(gang: "
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": ", member: "
},
{
"kind": "Reference",
"text": "GangMemberInfo",
"canonicalReference": "bitburner!GangMemberInfo:interface"
},
{
"kind": "Content",
"text": ", task: "
},
{
"kind": "Reference",
"text": "GangTaskStats",
"canonicalReference": "bitburner!GangTaskStats:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gang",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "member",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "task",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "calculateWantedLevelGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!GangFormulas#calculateWantedPenalty:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "calculateWantedPenalty(gang: "
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gang",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "calculateWantedPenalty"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangGenInfo:interface",
@ -8552,7 +8920,7 @@
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#moneyGainRate:member",
"docComment": "/**\n * Money earned per second\n */\n",
"docComment": "/**\n * Money earned per game cycle\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -8630,7 +8998,7 @@
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#respectGainRate:member",
"docComment": "/**\n * Respect earned per second\n */\n",
"docComment": "/**\n * Respect earned per game cycle\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -8656,7 +9024,7 @@
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#territory:member",
"docComment": "/**\n * Amount of territory held. Returned in decimal form, not percentage\n */\n",
"docComment": "/**\n * Amount of territory held.\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -8682,7 +9050,7 @@
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#territoryClashChance:member",
"docComment": "/**\n * Clash chance. Returned in decimal form, not percentage\n */\n",
"docComment": "/**\n * Clash chance.\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -8760,7 +9128,7 @@
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#wantedLevelGainRate:member",
"docComment": "/**\n * Wanted level gained/lost per second (negative for losses)\n */\n",
"docComment": "/**\n * Wanted level gained/lost per game cycle (negative for losses)\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -8782,6 +9150,32 @@
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#wantedPenalty:member",
"docComment": "/**\n * Number indicating the current wanted penalty.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "wantedPenalty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "wantedPenalty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
@ -9699,6 +10093,32 @@
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#moneyGain:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "moneyGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "moneyGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#name:member",
@ -9725,6 +10145,32 @@
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#respectGain:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "respectGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "respectGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#str_asc_mult:member",
@ -9906,6 +10352,32 @@
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#wantedLevelGain:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "wantedLevelGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "wantedLevelGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
@ -13277,7 +13749,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!Material:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -18858,7 +19330,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!Office:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -19109,7 +19581,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!OfficeAPI:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -22337,7 +22809,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!Product:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -29016,7 +29488,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!Warehouse:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
@ -29136,7 +29608,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!WarehouseAPI:interface",
"docComment": "",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [expandCity](./bitburner.corporation.expandcity.md)
## Corporation.expandCity() method
<b>Signature:</b>
```typescript
expandCity(divisionName: string, cityName: string): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | |
| cityName | string | |
<b>Returns:</b>
void

View File

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [expandIndustry](./bitburner.corporation.expandindustry.md)
## Corporation.expandIndustry() method
<b>Signature:</b>
```typescript
expandIndustry(industryName: string, divisionName: string): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| industryName | string | |
| divisionName | string | |
<b>Returns:</b>
void

View File

@ -0,0 +1,15 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [getCorporation](./bitburner.corporation.getcorporation.md)
## Corporation.getCorporation() method
<b>Signature:</b>
```typescript
getCorporation(): CorporationInfo;
```
<b>Returns:</b>
[CorporationInfo](./bitburner.corporationinfo.md)

View File

@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [getDivision](./bitburner.corporation.getdivision.md)
## Corporation.getDivision() method
<b>Signature:</b>
```typescript
getDivision(divisionName: string): Division;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | |
<b>Returns:</b>
[Division](./bitburner.division.md)

View File

@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [issueDividends](./bitburner.corporation.issuedividends.md)
## Corporation.issueDividends() method
<b>Signature:</b>
```typescript
issueDividends(percent: number): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| percent | number | |
<b>Returns:</b>
void

View File

@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [levelUpgrade](./bitburner.corporation.levelupgrade.md)
## Corporation.levelUpgrade() method
<b>Signature:</b>
```typescript
levelUpgrade(upgradeName: string): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| upgradeName | string | |
<b>Returns:</b>
void

View File

@ -0,0 +1,26 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md)
## Corporation interface
<b>Signature:</b>
```typescript
export interface Corporation extends WarehouseAPI, OfficeAPI
```
<b>Extends:</b> [WarehouseAPI](./bitburner.warehouseapi.md)<!-- -->, [OfficeAPI](./bitburner.officeapi.md)
## Methods
| Method | Description |
| --- | --- |
| [expandCity(divisionName, cityName)](./bitburner.corporation.expandcity.md) | |
| [expandIndustry(industryName, divisionName)](./bitburner.corporation.expandindustry.md) | |
| [getCorporation()](./bitburner.corporation.getcorporation.md) | |
| [getDivision(divisionName)](./bitburner.corporation.getdivision.md) | |
| [issueDividends(percent)](./bitburner.corporation.issuedividends.md) | |
| [levelUpgrade(upgradeName)](./bitburner.corporation.levelupgrade.md) | |
| [unlockUpgrade(upgradeName)](./bitburner.corporation.unlockupgrade.md) | |

View File

@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [unlockUpgrade](./bitburner.corporation.unlockupgrade.md)
## Corporation.unlockUpgrade() method
<b>Signature:</b>
```typescript
unlockUpgrade(upgradeName: string): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| upgradeName | string | |
<b>Returns:</b>
void

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [expenses](./bitburner.corporationinfo.expenses.md)
## CorporationInfo.expenses property
<b>Signature:</b>
```typescript
expenses: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [funds](./bitburner.corporationinfo.funds.md)
## CorporationInfo.funds property
<b>Signature:</b>
```typescript
funds: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [issuedShares](./bitburner.corporationinfo.issuedshares.md)
## CorporationInfo.issuedShares property
<b>Signature:</b>
```typescript
issuedShares: number;
```

View File

@ -0,0 +1,29 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md)
## CorporationInfo interface
<b>Signature:</b>
```typescript
interface CorporationInfo
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [expenses](./bitburner.corporationinfo.expenses.md) | number | |
| [funds](./bitburner.corporationinfo.funds.md) | number | |
| [issuedShares](./bitburner.corporationinfo.issuedshares.md) | number | |
| [name](./bitburner.corporationinfo.name.md) | string | |
| [numShares](./bitburner.corporationinfo.numshares.md) | number | |
| [public](./bitburner.corporationinfo.public.md) | boolean | |
| [revenue](./bitburner.corporationinfo.revenue.md) | number | |
| [sharePrice](./bitburner.corporationinfo.shareprice.md) | number | |
| [shareSaleCooldown](./bitburner.corporationinfo.sharesalecooldown.md) | number | |
| [state](./bitburner.corporationinfo.state.md) | string | |
| [totalShares](./bitburner.corporationinfo.totalshares.md) | number | |

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [name](./bitburner.corporationinfo.name.md)
## CorporationInfo.name property
<b>Signature:</b>
```typescript
name: string;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [numShares](./bitburner.corporationinfo.numshares.md)
## CorporationInfo.numShares property
<b>Signature:</b>
```typescript
numShares: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [public](./bitburner.corporationinfo.public.md)
## CorporationInfo.public property
<b>Signature:</b>
```typescript
public: boolean;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [revenue](./bitburner.corporationinfo.revenue.md)
## CorporationInfo.revenue property
<b>Signature:</b>
```typescript
revenue: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [sharePrice](./bitburner.corporationinfo.shareprice.md)
## CorporationInfo.sharePrice property
<b>Signature:</b>
```typescript
sharePrice: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [shareSaleCooldown](./bitburner.corporationinfo.sharesalecooldown.md)
## CorporationInfo.shareSaleCooldown property
<b>Signature:</b>
```typescript
shareSaleCooldown: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [state](./bitburner.corporationinfo.state.md)
## CorporationInfo.state property
<b>Signature:</b>
```typescript
state: string;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CorporationInfo](./bitburner.corporationinfo.md) &gt; [totalShares](./bitburner.corporationinfo.totalshares.md)
## CorporationInfo.totalShares property
<b>Signature:</b>
```typescript
totalShares: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [awareness](./bitburner.division.awareness.md)
## Division.awareness property
<b>Signature:</b>
```typescript
awareness: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [cities](./bitburner.division.cities.md)
## Division.cities property
<b>Signature:</b>
```typescript
cities: string[];
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [lastCycleExpenses](./bitburner.division.lastcycleexpenses.md)
## Division.lastCycleExpenses property
<b>Signature:</b>
```typescript
lastCycleExpenses: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [lastCycleRevenue](./bitburner.division.lastcyclerevenue.md)
## Division.lastCycleRevenue property
<b>Signature:</b>
```typescript
lastCycleRevenue: number;
```

View File

@ -0,0 +1,30 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md)
## Division interface
<b>Signature:</b>
```typescript
interface Division
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [awareness](./bitburner.division.awareness.md) | number | |
| [cities](./bitburner.division.cities.md) | string\[\] | |
| [lastCycleExpenses](./bitburner.division.lastcycleexpenses.md) | number | |
| [lastCycleRevenue](./bitburner.division.lastcyclerevenue.md) | number | |
| [name](./bitburner.division.name.md) | string | |
| [popularity](./bitburner.division.popularity.md) | number | |
| [prodMult](./bitburner.division.prodmult.md) | number | |
| [research](./bitburner.division.research.md) | number | |
| [thisCycleExpenses](./bitburner.division.thiscycleexpenses.md) | number | |
| [thisCycleRevenue](./bitburner.division.thiscyclerevenue.md) | number | |
| [type](./bitburner.division.type.md) | string | |
| [upgrades](./bitburner.division.upgrades.md) | number\[\] | |

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [name](./bitburner.division.name.md)
## Division.name property
<b>Signature:</b>
```typescript
name: string;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [popularity](./bitburner.division.popularity.md)
## Division.popularity property
<b>Signature:</b>
```typescript
popularity: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [prodMult](./bitburner.division.prodmult.md)
## Division.prodMult property
<b>Signature:</b>
```typescript
prodMult: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [research](./bitburner.division.research.md)
## Division.research property
<b>Signature:</b>
```typescript
research: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [thisCycleExpenses](./bitburner.division.thiscycleexpenses.md)
## Division.thisCycleExpenses property
<b>Signature:</b>
```typescript
thisCycleExpenses: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [thisCycleRevenue](./bitburner.division.thiscyclerevenue.md)
## Division.thisCycleRevenue property
<b>Signature:</b>
```typescript
thisCycleRevenue: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [type](./bitburner.division.type.md)
## Division.type property
<b>Signature:</b>
```typescript
type: string;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Division](./bitburner.division.md) &gt; [upgrades](./bitburner.division.upgrades.md)
## Division.upgrades property
<b>Signature:</b>
```typescript
upgrades: number[];
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [cha](./bitburner.employee.cha.md)
## Employee.cha property
<b>Signature:</b>
```typescript
cha: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [cre](./bitburner.employee.cre.md)
## Employee.cre property
<b>Signature:</b>
```typescript
cre: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [eff](./bitburner.employee.eff.md)
## Employee.eff property
<b>Signature:</b>
```typescript
eff: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [ene](./bitburner.employee.ene.md)
## Employee.ene property
<b>Signature:</b>
```typescript
ene: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [exp](./bitburner.employee.exp.md)
## Employee.exp property
<b>Signature:</b>
```typescript
exp: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [hap](./bitburner.employee.hap.md)
## Employee.hap property
<b>Signature:</b>
```typescript
hap: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [int](./bitburner.employee.int.md)
## Employee.int property
<b>Signature:</b>
```typescript
int: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [loc](./bitburner.employee.loc.md)
## Employee.loc property
<b>Signature:</b>
```typescript
loc: string;
```

View File

@ -0,0 +1,30 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md)
## Employee interface
<b>Signature:</b>
```typescript
interface Employee
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [cha](./bitburner.employee.cha.md) | number | |
| [cre](./bitburner.employee.cre.md) | number | |
| [eff](./bitburner.employee.eff.md) | number | |
| [ene](./bitburner.employee.ene.md) | number | |
| [exp](./bitburner.employee.exp.md) | number | |
| [hap](./bitburner.employee.hap.md) | number | |
| [int](./bitburner.employee.int.md) | number | |
| [loc](./bitburner.employee.loc.md) | string | |
| [mor](./bitburner.employee.mor.md) | number | |
| [name](./bitburner.employee.name.md) | string | |
| [pos](./bitburner.employee.pos.md) | string | |
| [sal](./bitburner.employee.sal.md) | number | |

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [mor](./bitburner.employee.mor.md)
## Employee.mor property
<b>Signature:</b>
```typescript
mor: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [name](./bitburner.employee.name.md)
## Employee.name property
<b>Signature:</b>
```typescript
name: string;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [pos](./bitburner.employee.pos.md)
## Employee.pos property
<b>Signature:</b>
```typescript
pos: string;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Employee](./bitburner.employee.md) &gt; [sal](./bitburner.employee.sal.md)
## Employee.sal property
<b>Signature:</b>
```typescript
sal: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [EmployeeJobs](./bitburner.employeejobs.md) &gt; ["Research &amp; Development"](./bitburner.employeejobs._research___development_.md)
## EmployeeJobs."Research &amp; Development" property
<b>Signature:</b>
```typescript
"Research & Development": number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [EmployeeJobs](./bitburner.employeejobs.md) &gt; [Business](./bitburner.employeejobs.business.md)
## EmployeeJobs.Business property
<b>Signature:</b>
```typescript
Business: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [EmployeeJobs](./bitburner.employeejobs.md) &gt; [Engineer](./bitburner.employeejobs.engineer.md)
## EmployeeJobs.Engineer property
<b>Signature:</b>
```typescript
Engineer: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [EmployeeJobs](./bitburner.employeejobs.md) &gt; [Management](./bitburner.employeejobs.management.md)
## EmployeeJobs.Management property
<b>Signature:</b>
```typescript
Management: number;
```

View File

@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [EmployeeJobs](./bitburner.employeejobs.md)
## EmployeeJobs interface
<b>Signature:</b>
```typescript
interface EmployeeJobs
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| ["Research &amp; Development"](./bitburner.employeejobs._research___development_.md) | number | |
| [Business](./bitburner.employeejobs.business.md) | number | |
| [Engineer](./bitburner.employeejobs.engineer.md) | number | |
| [Management](./bitburner.employeejobs.management.md) | number | |
| [Operations](./bitburner.employeejobs.operations.md) | number | |
| [Training](./bitburner.employeejobs.training.md) | number | |
| [Unassigned](./bitburner.employeejobs.unassigned.md) | number | |

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [EmployeeJobs](./bitburner.employeejobs.md) &gt; [Operations](./bitburner.employeejobs.operations.md)
## EmployeeJobs.Operations property
<b>Signature:</b>
```typescript
Operations: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [EmployeeJobs](./bitburner.employeejobs.md) &gt; [Training](./bitburner.employeejobs.training.md)
## EmployeeJobs.Training property
<b>Signature:</b>
```typescript
Training: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [EmployeeJobs](./bitburner.employeejobs.md) &gt; [Unassigned](./bitburner.employeejobs.unassigned.md)
## EmployeeJobs.Unassigned property
<b>Signature:</b>
```typescript
Unassigned: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Formulas](./bitburner.formulas.md) &gt; [gang](./bitburner.formulas.gang.md)
## Formulas.gang property
<b>Signature:</b>
```typescript
gang: GangFormulas;
```

View File

@ -15,6 +15,7 @@ export interface Formulas
| Property | Type | Description |
| --- | --- | --- |
| [gang](./bitburner.formulas.gang.md) | [GangFormulas](./bitburner.gangformulas.md) | |
| [hacking](./bitburner.formulas.hacking.md) | [HackingFormulas](./bitburner.hackingformulas.md) | |
| [hacknetNodes](./bitburner.formulas.hacknetnodes.md) | [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) | |
| [hacknetServers](./bitburner.formulas.hacknetservers.md) | [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) | |

View File

@ -0,0 +1,32 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Gang](./bitburner.gang.md) &gt; [getAscensionResult](./bitburner.gang.getascensionresult.md)
## Gang.getAscensionResult() method
Get the result of an ascension without ascending.
<b>Signature:</b>
```typescript
getAscensionResult(memberName: string): GangMemberAscension | undefined;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| memberName | string | Name of member. |
<b>Returns:</b>
[GangMemberAscension](./bitburner.gangmemberascension.md) \| undefined
Object with info about the ascension results. undefined if ascension is impossible.
## Remarks
RAM cost: 2 GB
Get the result of an ascension without ascending.

View File

@ -23,6 +23,7 @@ If you are not in BitNode-2, then you must have Source-File 2 in order to use th
| [ascendMember(memberName)](./bitburner.gang.ascendmember.md) | Ascend a gang member. |
| [canRecruitMember()](./bitburner.gang.canrecruitmember.md) | Check if you can recruit a new gang member. |
| [createGang(faction)](./bitburner.gang.creategang.md) | Create a gang. |
| [getAscensionResult(memberName)](./bitburner.gang.getascensionresult.md) | Get the result of an ascension without ascending. |
| [getBonusTime()](./bitburner.gang.getbonustime.md) | Get bonus time. |
| [getChanceToWinClash(gangName)](./bitburner.gang.getchancetowinclash.md) | Get chance to win clash with other gang. |
| [getEquipmentCost(equipName)](./bitburner.gang.getequipmentcost.md) | Get cost of equipment. |

View File

@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md) &gt; [calculateMoneyGain](./bitburner.gangformulas.calculatemoneygain.md)
## GangFormulas.calculateMoneyGain() method
<b>Signature:</b>
```typescript
calculateMoneyGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| gang | [GangGenInfo](./bitburner.ganggeninfo.md) | |
| member | [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
| task | [GangTaskStats](./bitburner.gangtaskstats.md) | |
<b>Returns:</b>
number

View File

@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md) &gt; [calculateRespectGain](./bitburner.gangformulas.calculaterespectgain.md)
## GangFormulas.calculateRespectGain() method
<b>Signature:</b>
```typescript
calculateRespectGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| gang | [GangGenInfo](./bitburner.ganggeninfo.md) | |
| member | [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
| task | [GangTaskStats](./bitburner.gangtaskstats.md) | |
<b>Returns:</b>
number

View File

@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md) &gt; [calculateWantedLevelGain](./bitburner.gangformulas.calculatewantedlevelgain.md)
## GangFormulas.calculateWantedLevelGain() method
<b>Signature:</b>
```typescript
calculateWantedLevelGain(gang: GangGenInfo, member: GangMemberInfo, task: GangTaskStats): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| gang | [GangGenInfo](./bitburner.ganggeninfo.md) | |
| member | [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
| task | [GangTaskStats](./bitburner.gangtaskstats.md) | |
<b>Returns:</b>
number

View File

@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md) &gt; [calculateWantedPenalty](./bitburner.gangformulas.calculatewantedpenalty.md)
## GangFormulas.calculateWantedPenalty() method
<b>Signature:</b>
```typescript
calculateWantedPenalty(gang: GangGenInfo): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| gang | [GangGenInfo](./bitburner.ganggeninfo.md) | |
<b>Returns:</b>
number

View File

@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md)
## GangFormulas interface
<b>Signature:</b>
```typescript
interface GangFormulas
```
## Methods
| Method | Description |
| --- | --- |
| [calculateMoneyGain(gang, member, task)](./bitburner.gangformulas.calculatemoneygain.md) | |
| [calculateRespectGain(gang, member, task)](./bitburner.gangformulas.calculaterespectgain.md) | |
| [calculateWantedLevelGain(gang, member, task)](./bitburner.gangformulas.calculatewantedlevelgain.md) | |
| [calculateWantedPenalty(gang)](./bitburner.gangformulas.calculatewantedpenalty.md) | |

View File

@ -18,13 +18,14 @@ export interface GangGenInfo
| --- | --- | --- |
| [faction](./bitburner.ganggeninfo.faction.md) | string | Name of faction that the gang belongs to ("Slum Snakes", etc.) |
| [isHacking](./bitburner.ganggeninfo.ishacking.md) | boolean | Boolean indicating whether or not its a hacking gang |
| [moneyGainRate](./bitburner.ganggeninfo.moneygainrate.md) | number | Money earned per second |
| [moneyGainRate](./bitburner.ganggeninfo.moneygainrate.md) | number | Money earned per game cycle |
| [power](./bitburner.ganggeninfo.power.md) | number | Gang's power for territory warfare |
| [respect](./bitburner.ganggeninfo.respect.md) | number | Gang's respect |
| [respectGainRate](./bitburner.ganggeninfo.respectgainrate.md) | number | Respect earned per second |
| [territory](./bitburner.ganggeninfo.territory.md) | number | Amount of territory held. Returned in decimal form, not percentage |
| [territoryClashChance](./bitburner.ganggeninfo.territoryclashchance.md) | number | Clash chance. Returned in decimal form, not percentage |
| [respectGainRate](./bitburner.ganggeninfo.respectgainrate.md) | number | Respect earned per game cycle |
| [territory](./bitburner.ganggeninfo.territory.md) | number | Amount of territory held. |
| [territoryClashChance](./bitburner.ganggeninfo.territoryclashchance.md) | number | Clash chance. |
| [territoryWarfareEngaged](./bitburner.ganggeninfo.territorywarfareengaged.md) | boolean | Boolean indicating if territory warfare is enabled. |
| [wantedLevel](./bitburner.ganggeninfo.wantedlevel.md) | number | Gang's wanted level |
| [wantedLevelGainRate](./bitburner.ganggeninfo.wantedlevelgainrate.md) | number | Wanted level gained/lost per second (negative for losses) |
| [wantedLevelGainRate](./bitburner.ganggeninfo.wantedlevelgainrate.md) | number | Wanted level gained/lost per game cycle (negative for losses) |
| [wantedPenalty](./bitburner.ganggeninfo.wantedpenalty.md) | number | Number indicating the current wanted penalty. |

View File

@ -4,7 +4,7 @@
## GangGenInfo.moneyGainRate property
Money earned per second
Money earned per game cycle
<b>Signature:</b>

View File

@ -4,7 +4,7 @@
## GangGenInfo.respectGainRate property
Respect earned per second
Respect earned per game cycle
<b>Signature:</b>

View File

@ -4,7 +4,7 @@
## GangGenInfo.territory property
Amount of territory held. Returned in decimal form, not percentage
Amount of territory held.
<b>Signature:</b>

View File

@ -4,7 +4,7 @@
## GangGenInfo.territoryClashChance property
Clash chance. Returned in decimal form, not percentage
Clash chance.
<b>Signature:</b>

View File

@ -4,7 +4,7 @@
## GangGenInfo.wantedLevelGainRate property
Wanted level gained/lost per second (negative for losses)
Wanted level gained/lost per game cycle (negative for losses)
<b>Signature:</b>

View File

@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangGenInfo](./bitburner.ganggeninfo.md) &gt; [wantedPenalty](./bitburner.ganggeninfo.wantedpenalty.md)
## GangGenInfo.wantedPenalty property
Number indicating the current wanted penalty.
<b>Signature:</b>
```typescript
wantedPenalty: number;
```

View File

@ -42,7 +42,9 @@ export interface GangMemberInfo
| [hack\_exp](./bitburner.gangmemberinfo.hack_exp.md) | number | |
| [hack\_mult](./bitburner.gangmemberinfo.hack_mult.md) | number | |
| [hack](./bitburner.gangmemberinfo.hack.md) | number | |
| [moneyGain](./bitburner.gangmemberinfo.moneygain.md) | number | |
| [name](./bitburner.gangmemberinfo.name.md) | string | |
| [respectGain](./bitburner.gangmemberinfo.respectgain.md) | number | |
| [str\_asc\_mult](./bitburner.gangmemberinfo.str_asc_mult.md) | number | |
| [str\_asc\_points](./bitburner.gangmemberinfo.str_asc_points.md) | number | |
| [str\_exp](./bitburner.gangmemberinfo.str_exp.md) | number | |
@ -50,4 +52,5 @@ export interface GangMemberInfo
| [str](./bitburner.gangmemberinfo.str.md) | number | |
| [task](./bitburner.gangmemberinfo.task.md) | string | |
| [upgrades](./bitburner.gangmemberinfo.upgrades.md) | string\[\] | |
| [wantedLevelGain](./bitburner.gangmemberinfo.wantedlevelgain.md) | number | |

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [moneyGain](./bitburner.gangmemberinfo.moneygain.md)
## GangMemberInfo.moneyGain property
<b>Signature:</b>
```typescript
moneyGain: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [respectGain](./bitburner.gangmemberinfo.respectgain.md)
## GangMemberInfo.respectGain property
<b>Signature:</b>
```typescript
respectGain: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [wantedLevelGain](./bitburner.gangmemberinfo.wantedlevelgain.md)
## GangMemberInfo.wantedLevelGain property
<b>Signature:</b>
```typescript
wantedLevelGain: number;
```

View File

@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Material](./bitburner.material.md)
## Material interface
<b>Signature:</b>
```typescript
interface Material
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [name](./bitburner.material.name.md) | string | |
| [qlt](./bitburner.material.qlt.md) | number | |
| [qty](./bitburner.material.qty.md) | number | |

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Material](./bitburner.material.md) &gt; [name](./bitburner.material.name.md)
## Material.name property
<b>Signature:</b>
```typescript
name: string;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Material](./bitburner.material.md) &gt; [qlt](./bitburner.material.qlt.md)
## Material.qlt property
<b>Signature:</b>
```typescript
qlt: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Material](./bitburner.material.md) &gt; [qty](./bitburner.material.qty.md)
## Material.qty property
<b>Signature:</b>
```typescript
qty: number;
```

View File

@ -19,11 +19,17 @@
| [CharacterMult](./bitburner.charactermult.md) | |
| [CodingAttemptOptions](./bitburner.codingattemptoptions.md) | Options to affect the behavior of [CodingContract](./bitburner.codingcontract.md) attempt. |
| [CodingContract](./bitburner.codingcontract.md) | Coding Contact API |
| [Corporation](./bitburner.corporation.md) | |
| [CorporationInfo](./bitburner.corporationinfo.md) | |
| [CrimeStats](./bitburner.crimestats.md) | Data representing the internal values of a crime. |
| [Division](./bitburner.division.md) | |
| [Employee](./bitburner.employee.md) | |
| [EmployeeJobs](./bitburner.employeejobs.md) | |
| [EquipmentStats](./bitburner.equipmentstats.md) | Object representing data representing a gang member equipment. |
| [Formulas](./bitburner.formulas.md) | |
| [Fragment](./bitburner.fragment.md) | |
| [Gang](./bitburner.gang.md) | Gang API |
| [GangFormulas](./bitburner.gangformulas.md) | |
| [GangGenInfo](./bitburner.ganggeninfo.md) | Gang general info. |
| [GangMemberAscension](./bitburner.gangmemberascension.md) | |
| [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
@ -37,11 +43,15 @@
| [HacknetMultipliers](./bitburner.hacknetmultipliers.md) | Hacknet related multipliers. |
| [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) | |
| [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) | |
| [Material](./bitburner.material.md) | |
| [NodeStats](./bitburner.nodestats.md) | Object representing all the values related to a hacknet node. |
| [NS](./bitburner.ns.md) | Collection of all functions passed to scripts |
| [Office](./bitburner.office.md) | |
| [OfficeAPI](./bitburner.officeapi.md) | |
| [Player](./bitburner.player.md) | |
| [PlayerSkills](./bitburner.playerskills.md) | Short summary of the players skills. |
| [ProcessInfo](./bitburner.processinfo.md) | A single process on a server. |
| [Product](./bitburner.product.md) | |
| [RunningScript](./bitburner.runningscript.md) | |
| [Server](./bitburner.server.md) | A single server. |
| [Singularity](./bitburner.singularity.md) | Singularity API |
@ -56,4 +66,6 @@
| [StockOrder](./bitburner.stockorder.md) | Return value of [getOrders](./bitburner.tix.getorders.md) |
| [StockOrderObject](./bitburner.stockorderobject.md) | Value in map of [StockOrder](./bitburner.stockorder.md) |
| [TIX](./bitburner.tix.md) | Stock market API |
| [Warehouse](./bitburner.warehouse.md) | |
| [WarehouseAPI](./bitburner.warehouseapi.md) | |

View File

@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [corporation](./bitburner.ns.corporation.md)
## NS.corporation property
Namespace for corporation functions. RAM cost: 0 GB
<b>Signature:</b>
```typescript
readonly corporation: Corporation;
```

View File

@ -20,6 +20,7 @@ export interface NS extends Singularity
| [args](./bitburner.ns.args.md) | (string \| number)\[\] | Arguments passed into the script. |
| [bladeburner](./bitburner.ns.bladeburner.md) | [Bladeburner](./bitburner.bladeburner.md) | Namespace for bladeburner functions. |
| [codingcontract](./bitburner.ns.codingcontract.md) | [CodingContract](./bitburner.codingcontract.md) | Namespace for codingcontract functions. |
| [corporation](./bitburner.ns.corporation.md) | [Corporation](./bitburner.corporation.md) | Namespace for corporation functions. RAM cost: 0 GB |
| [formulas](./bitburner.ns.formulas.md) | [Formulas](./bitburner.formulas.md) | Namespace for formulas functions. |
| [gang](./bitburner.ns.gang.md) | [Gang](./bitburner.gang.md) | Namespace for gang functions. |
| [hacknet](./bitburner.ns.hacknet.md) | [Hacknet](./bitburner.hacknet.md) | Namespace for hacknet functions. |

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [employeeProd](./bitburner.office.employeeprod.md)
## Office.employeeProd property
<b>Signature:</b>
```typescript
employeeProd: EmployeeJobs;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [employees](./bitburner.office.employees.md)
## Office.employees property
<b>Signature:</b>
```typescript
employees: string[];
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [loc](./bitburner.office.loc.md)
## Office.loc property
<b>Signature:</b>
```typescript
loc: string;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [maxEne](./bitburner.office.maxene.md)
## Office.maxEne property
<b>Signature:</b>
```typescript
maxEne: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [maxHap](./bitburner.office.maxhap.md)
## Office.maxHap property
<b>Signature:</b>
```typescript
maxHap: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [maxMor](./bitburner.office.maxmor.md)
## Office.maxMor property
<b>Signature:</b>
```typescript
maxMor: number;
```

View File

@ -0,0 +1,27 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md)
## Office interface
<b>Signature:</b>
```typescript
interface Office
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [employeeProd](./bitburner.office.employeeprod.md) | [EmployeeJobs](./bitburner.employeejobs.md) | |
| [employees](./bitburner.office.employees.md) | string\[\] | |
| [loc](./bitburner.office.loc.md) | string | |
| [maxEne](./bitburner.office.maxene.md) | number | |
| [maxHap](./bitburner.office.maxhap.md) | number | |
| [maxMor](./bitburner.office.maxmor.md) | number | |
| [minEne](./bitburner.office.minene.md) | number | |
| [minHap](./bitburner.office.minhap.md) | number | |
| [size](./bitburner.office.size.md) | number | |

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [minEne](./bitburner.office.minene.md)
## Office.minEne property
<b>Signature:</b>
```typescript
minEne: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [minHap](./bitburner.office.minhap.md)
## Office.minHap property
<b>Signature:</b>
```typescript
minHap: number;
```

View File

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Office](./bitburner.office.md) &gt; [size](./bitburner.office.size.md)
## Office.size property
<b>Signature:</b>
```typescript
size: number;
```

View File

@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [OfficeAPI](./bitburner.officeapi.md) &gt; [assignJob](./bitburner.officeapi.assignjob.md)
## OfficeAPI.assignJob() method
<b>Signature:</b>
```typescript
assignJob(divisionName: string, cityName: string, employeeName: string, job: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | |
| cityName | string | |
| employeeName | string | |
| job | string | |
<b>Returns:</b>
Promise&lt;void&gt;

View File

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [OfficeAPI](./bitburner.officeapi.md) &gt; [buyCoffee](./bitburner.officeapi.buycoffee.md)
## OfficeAPI.buyCoffee() method
<b>Signature:</b>
```typescript
buyCoffee(divisionName: string, cityName: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | |
| cityName | string | |
<b>Returns:</b>
Promise&lt;void&gt;

View File

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [OfficeAPI](./bitburner.officeapi.md) &gt; [employees](./bitburner.officeapi.employees.md)
## OfficeAPI.employees() method
<b>Signature:</b>
```typescript
employees(divisionName: string, cityName: string): string[];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | |
| cityName | string | |
<b>Returns:</b>
string\[\]

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