mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 18:23:54 +01:00
commit
867cf92dfe
385
.eslintrc.js
385
.eslintrc.js
@ -7,7 +7,7 @@ module.exports = {
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||||
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||||
],
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
@ -19,386 +19,17 @@ module.exports = {
|
||||
project: ["./tsconfig.json", "./test/tsconfig.json", "./tools/tsconfig.json", "./test/cypress/tsconfig.json"],
|
||||
},
|
||||
plugins: ["@typescript-eslint"],
|
||||
extends: ["plugin:@typescript-eslint/recommended"],
|
||||
rules: {
|
||||
"accessor-pairs": [
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
setWithoutGet: true,
|
||||
getWithoutSet: false,
|
||||
argsIgnorePattern: "^__",
|
||||
varsIgnorePattern: "^__",
|
||||
caughtErrorsIgnorePattern: "^__",
|
||||
},
|
||||
],
|
||||
"array-bracket-newline": ["off"],
|
||||
"array-bracket-spacing": ["off"],
|
||||
"array-callback-return": ["off"],
|
||||
"array-element-newline": ["off"],
|
||||
"arrow-body-style": ["off"],
|
||||
"arrow-parens": ["off"],
|
||||
"arrow-spacing": ["off"],
|
||||
"block-scoped-var": ["off"],
|
||||
"block-spacing": ["off"],
|
||||
"brace-style": ["off"],
|
||||
"callback-return": ["error"],
|
||||
camelcase: ["off"],
|
||||
"capitalized-comments": ["off"],
|
||||
"class-methods-use-this": ["off"],
|
||||
complexity: ["off"],
|
||||
"consistent-return": ["off"],
|
||||
"consistent-this": ["off"],
|
||||
"constructor-super": ["error"],
|
||||
curly: ["off"],
|
||||
"default-case": ["off"],
|
||||
"dot-notation": ["off"],
|
||||
"eol-last": ["error"],
|
||||
eqeqeq: ["off"],
|
||||
"for-direction": ["error"],
|
||||
"func-call-spacing": ["off"],
|
||||
"func-name-matching": ["error"],
|
||||
"func-names": ["off", "never"],
|
||||
"func-style": ["off"],
|
||||
"function-paren-newline": ["off"],
|
||||
"getter-return": [
|
||||
"error",
|
||||
{
|
||||
allowImplicit: false,
|
||||
},
|
||||
],
|
||||
"global-require": ["off"],
|
||||
"guard-for-in": ["off"],
|
||||
"handle-callback-err": ["error"],
|
||||
"id-blacklist": ["error"],
|
||||
"id-length": ["off"],
|
||||
"id-match": ["error"],
|
||||
indent: ["off"],
|
||||
"indent-legacy": ["off"],
|
||||
"init-declarations": ["off"],
|
||||
"key-spacing": ["off"],
|
||||
"keyword-spacing": ["off"],
|
||||
"line-comment-position": ["off"],
|
||||
"linebreak-style": [
|
||||
"off", // Line endings automatically converted to LF on git commit so probably shouldn't care about it here
|
||||
],
|
||||
"lines-around-comment": ["off"],
|
||||
"lines-around-directive": ["error"],
|
||||
"lines-between-class-members": ["error"],
|
||||
"max-depth": ["off"],
|
||||
"max-len": ["off"],
|
||||
"max-lines": ["off"],
|
||||
"max-nested-callbacks": ["error"],
|
||||
"max-params": ["off"],
|
||||
"max-statements": ["off"],
|
||||
"max-statements-per-line": ["off"],
|
||||
"multiline-comment-style": ["off", "starred-block"],
|
||||
"multiline-ternary": ["off", "never"],
|
||||
"new-cap": ["off"],
|
||||
"new-parens": ["off"],
|
||||
"newline-after-var": ["off"],
|
||||
"newline-before-return": ["off"],
|
||||
"newline-per-chained-call": ["off"],
|
||||
"no-alert": ["error"],
|
||||
"no-array-constructor": ["error"],
|
||||
"no-await-in-loop": ["error"],
|
||||
"no-bitwise": ["off"],
|
||||
"no-buffer-constructor": ["error"],
|
||||
"no-caller": ["error"],
|
||||
"no-case-declarations": ["error"],
|
||||
"no-catch-shadow": ["error"],
|
||||
"no-class-assign": ["error"],
|
||||
"no-compare-neg-zero": ["error"],
|
||||
"no-confusing-arrow": ["error"],
|
||||
"no-console": ["off"],
|
||||
"no-const-assign": ["error"],
|
||||
"no-constant-condition": [
|
||||
"error",
|
||||
{
|
||||
checkLoops: false,
|
||||
},
|
||||
],
|
||||
"no-continue": ["off"],
|
||||
"no-control-regex": ["error"],
|
||||
"no-debugger": ["error"],
|
||||
"no-delete-var": ["error"],
|
||||
"no-div-regex": ["error"],
|
||||
"no-dupe-args": ["error"],
|
||||
"no-dupe-class-members": ["error"],
|
||||
"no-dupe-keys": ["error"],
|
||||
"no-duplicate-case": ["error"],
|
||||
"no-duplicate-imports": [
|
||||
"error",
|
||||
{
|
||||
includeExports: true,
|
||||
},
|
||||
],
|
||||
"no-else-return": ["off"],
|
||||
"no-empty": [
|
||||
"off",
|
||||
{
|
||||
allowEmptyCatch: false,
|
||||
},
|
||||
],
|
||||
"no-empty-character-class": ["error"],
|
||||
"no-empty-function": ["off"],
|
||||
"no-empty-pattern": ["error"],
|
||||
"no-eq-null": ["off"],
|
||||
"no-ex-assign": ["off"],
|
||||
"no-extra-boolean-cast": ["error"],
|
||||
"no-extra-parens": ["off"],
|
||||
"no-extra-semi": ["error"],
|
||||
"no-eval": ["off"],
|
||||
"no-extend-native": ["off"],
|
||||
"no-extra-bind": ["error"],
|
||||
"no-extra-label": ["error"],
|
||||
"no-fallthrough": ["off"],
|
||||
"no-floating-decimal": ["off"],
|
||||
"no-func-assign": ["error"],
|
||||
"no-global-assign": ["error"],
|
||||
"no-implicit-coercion": ["off"],
|
||||
"no-implicit-globals": ["error"],
|
||||
"no-implied-eval": ["error"],
|
||||
"no-inline-comments": ["off"],
|
||||
"no-inner-declarations": ["off", "both"],
|
||||
"no-invalid-regexp": ["error"],
|
||||
"no-invalid-this": ["off"],
|
||||
"no-irregular-whitespace": [
|
||||
"error",
|
||||
{
|
||||
skipStrings: false,
|
||||
skipComments: false,
|
||||
skipRegExps: false,
|
||||
skipTemplates: false,
|
||||
},
|
||||
],
|
||||
"no-iterator": ["error"],
|
||||
"no-label-var": ["error"],
|
||||
"no-labels": ["off"],
|
||||
"no-lone-blocks": ["error"],
|
||||
"no-lonely-if": ["error"],
|
||||
"no-loop-func": ["off"],
|
||||
"no-magic-numbers": ["off"],
|
||||
"no-mixed-operators": ["off"],
|
||||
"no-mixed-requires": ["error"],
|
||||
"no-mixed-spaces-and-tabs": ["error"],
|
||||
"no-multi-assign": ["off"],
|
||||
"no-multi-spaces": ["off"],
|
||||
"no-multi-str": ["error"],
|
||||
"no-multiple-empty-lines": [
|
||||
"off",
|
||||
{
|
||||
max: 1,
|
||||
},
|
||||
],
|
||||
"no-native-reassign": ["error"],
|
||||
"no-negated-condition": ["off"],
|
||||
"no-negated-in-lhs": ["error"],
|
||||
"no-nested-ternary": ["off"],
|
||||
"no-new": ["error"],
|
||||
"no-new-func": ["error"],
|
||||
"no-new-object": ["error"],
|
||||
"no-new-require": ["error"],
|
||||
"no-new-symbol": ["error"],
|
||||
"no-new-wrappers": ["error"],
|
||||
"no-octal": ["error"],
|
||||
"no-octal-escape": ["error"],
|
||||
"no-obj-calls": ["error"],
|
||||
"no-param-reassign": ["off"],
|
||||
"no-path-concat": ["error"],
|
||||
"no-plusplus": ["off"],
|
||||
"no-process-env": ["off"],
|
||||
"no-process-exit": ["error"],
|
||||
"no-proto": ["error"],
|
||||
"no-prototype-builtins": ["off"],
|
||||
"no-redeclare": ["off"],
|
||||
"no-regex-spaces": ["error"],
|
||||
"no-restricted-globals": ["error"],
|
||||
"no-restricted-imports": ["error"],
|
||||
"no-restricted-modules": ["error"],
|
||||
"no-restricted-properties": [
|
||||
"off",
|
||||
{
|
||||
object: "console",
|
||||
property: "log",
|
||||
message: "'log' is too general, use an appropriate level when logging.",
|
||||
},
|
||||
],
|
||||
"no-restricted-syntax": ["error"],
|
||||
"no-return-assign": ["off"],
|
||||
"no-return-await": ["error"],
|
||||
"no-script-url": ["error"],
|
||||
"no-self-assign": [
|
||||
"error",
|
||||
{
|
||||
props: false,
|
||||
},
|
||||
],
|
||||
"no-self-compare": ["error"],
|
||||
"no-sequences": ["error"],
|
||||
"no-shadow": ["off"],
|
||||
"no-shadow-restricted-names": ["error"],
|
||||
"no-spaced-func": ["off"],
|
||||
"no-sparse-arrays": ["error"],
|
||||
"no-sync": ["error"],
|
||||
"no-tabs": ["off"],
|
||||
"no-template-curly-in-string": ["error"],
|
||||
"no-ternary": ["off"],
|
||||
"no-this-before-super": ["off"],
|
||||
"no-throw-literal": ["error"],
|
||||
"no-trailing-spaces": ["error"],
|
||||
"no-undef": ["off"],
|
||||
"no-undef-init": ["error"],
|
||||
"no-undefined": ["off"],
|
||||
"no-underscore-dangle": ["off"],
|
||||
"no-unexpected-multiline": ["error"],
|
||||
"no-unmodified-loop-condition": ["error"],
|
||||
"no-unneeded-ternary": ["off"],
|
||||
"no-unreachable": ["off"],
|
||||
"no-unsafe-finally": ["error"],
|
||||
"no-unsafe-negation": ["error"],
|
||||
"no-unused-expressions": ["off"],
|
||||
"no-unused-labels": ["error"],
|
||||
"no-unused-vars": ["off"],
|
||||
"no-use-before-define": ["off"],
|
||||
"no-useless-call": ["off"],
|
||||
"no-useless-computed-key": ["error"],
|
||||
"no-useless-concat": ["error"],
|
||||
"no-useless-constructor": ["error"],
|
||||
"no-useless-escape": ["off"],
|
||||
"no-useless-rename": [
|
||||
"error",
|
||||
{
|
||||
ignoreDestructuring: false,
|
||||
ignoreExport: false,
|
||||
ignoreImport: false,
|
||||
},
|
||||
],
|
||||
"no-useless-return": ["off"],
|
||||
"no-var": ["off"],
|
||||
"no-void": ["off"],
|
||||
"no-warning-comments": ["off"],
|
||||
"no-whitespace-before-property": ["error"],
|
||||
"no-with": ["error"],
|
||||
"nonblock-statement-body-position": ["off", "below"],
|
||||
"object-curly-newline": ["off"],
|
||||
"object-curly-spacing": ["off"],
|
||||
"object-property-newline": ["off"],
|
||||
"object-shorthand": ["off"],
|
||||
"one-var": ["off"],
|
||||
"one-var-declaration-per-line": ["off"],
|
||||
"operator-assignment": ["off"],
|
||||
"operator-linebreak": ["off", "none"],
|
||||
"padded-blocks": ["off"],
|
||||
"padding-line-between-statements": ["error"],
|
||||
"prefer-arrow-callback": ["off"],
|
||||
"prefer-const": ["off"],
|
||||
"prefer-destructuring": ["off"],
|
||||
"prefer-numeric-literals": ["error"],
|
||||
"prefer-promise-reject-errors": ["off"],
|
||||
"prefer-reflect": ["off"],
|
||||
"prefer-rest-params": ["off"],
|
||||
"prefer-spread": ["off"],
|
||||
"prefer-template": ["off"],
|
||||
"quote-props": ["off"],
|
||||
quotes: ["off"],
|
||||
radix: ["off", "as-needed"],
|
||||
"require-await": ["off"],
|
||||
"require-jsdoc": ["off"],
|
||||
"require-yield": ["error"],
|
||||
"rest-spread-spacing": ["error", "never"],
|
||||
semi: ["off"],
|
||||
"semi-spacing": ["off"],
|
||||
"semi-style": ["error", "last"],
|
||||
"sort-imports": ["off"],
|
||||
"sort-keys": ["off"],
|
||||
"sort-vars": ["off"],
|
||||
"space-before-blocks": ["off"],
|
||||
"space-before-function-paren": ["off"],
|
||||
"space-in-parens": ["off"],
|
||||
"space-infix-ops": ["off"],
|
||||
"space-unary-ops": ["off"],
|
||||
"spaced-comment": ["off"],
|
||||
strict: ["off"],
|
||||
"switch-colon-spacing": [
|
||||
"error",
|
||||
{
|
||||
after: true,
|
||||
before: false,
|
||||
},
|
||||
],
|
||||
"symbol-description": ["error"],
|
||||
"template-curly-spacing": ["error"],
|
||||
"template-tag-spacing": ["error"],
|
||||
"unicode-bom": ["error", "never"],
|
||||
"use-isnan": ["error"],
|
||||
"valid-jsdoc": ["off"],
|
||||
"valid-typeof": ["error"],
|
||||
"vars-on-top": ["off"],
|
||||
"wrap-iife": ["error", "any"],
|
||||
"wrap-regex": ["off"],
|
||||
"yield-star-spacing": ["error", "before"],
|
||||
yoda: ["error", "never"],
|
||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||
"@typescript-eslint/explicit-function-return-type": "off",
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
// enable the rule specifically for TypeScript files
|
||||
files: ["*.ts", "*.tsx"],
|
||||
rules: {
|
||||
"@typescript-eslint/explicit-function-return-type": ["error"],
|
||||
"@typescript-eslint/explicit-module-boundary-types": ["error"],
|
||||
},
|
||||
},
|
||||
{
|
||||
// TypeScript configuration
|
||||
files: ["**/*.ts", "**/*.tsx"],
|
||||
parser: "@typescript-eslint/parser",
|
||||
plugins: ["@typescript-eslint"],
|
||||
extends: ["plugin:@typescript-eslint/recommended"],
|
||||
rules: {
|
||||
"lines-between-class-members": "off",
|
||||
"no-empty-pattern": "off",
|
||||
"no-useless-constructor": [
|
||||
"off", // Valid for typescript due to property ctor shorthand
|
||||
],
|
||||
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/ban-ts-ignore": "off",
|
||||
"@typescript-eslint/camelcase": "off",
|
||||
"@typescript-eslint/explicit-function-return-type": [
|
||||
"error",
|
||||
{
|
||||
allowExpressions: true,
|
||||
},
|
||||
],
|
||||
"@typescript-eslint/member-delimiter-style": [
|
||||
"error",
|
||||
{
|
||||
multiline: {
|
||||
delimiter: "semi",
|
||||
requireLast: true,
|
||||
},
|
||||
singleline: {
|
||||
delimiter: "semi",
|
||||
requireLast: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
"@typescript-eslint/member-ordering": [
|
||||
"error",
|
||||
{
|
||||
default: [
|
||||
"signature",
|
||||
"static-field",
|
||||
"instance-field",
|
||||
"abstract-field",
|
||||
"constructor",
|
||||
"instance-method",
|
||||
"abstract-method",
|
||||
"static-method",
|
||||
],
|
||||
},
|
||||
],
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-use-before-define": "off",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
645
dist/bitburner.d.ts
vendored
645
dist/bitburner.d.ts
vendored
File diff suppressed because it is too large
Load Diff
4
dist/main.bundle.js
vendored
4
dist/main.bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/main.bundle.js.map
vendored
2
dist/main.bundle.js.map
vendored
File diff suppressed because one or more lines are too long
42
dist/vendor.bundle.js
vendored
42
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/vendor.bundle.js.map
vendored
2
dist/vendor.bundle.js.map
vendored
File diff suppressed because one or more lines are too long
@ -35,6 +35,8 @@ Furthermore, some BitNodes introduce new content and mechanics. For example ther
|
||||
BitNode that grants access to the `Singularity API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.singularity.md>`_.
|
||||
There is another BitNode in which you can manage a gang to earn money and reputation.
|
||||
|
||||
.. _gameplay_bitnodes_howtodestroy:
|
||||
|
||||
How to destroy a BitNode
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
Initially, the only way to destroy a BitNode is to join the Daedalus :ref:`Daedalus <gameplay_factions>`.
|
||||
|
@ -5,7 +5,7 @@
|
||||
Source-Files
|
||||
============
|
||||
Source-Files are a type of persistent upgrade that is more powerful than Augmentations.
|
||||
Source-Files are received by destroying a BitNode. There are many different BitNodes
|
||||
Source-Files are received by :ref:`destroying a BitNode <gameplay_bitnodes_howtodestroy>`. There are many different BitNodes
|
||||
in the game and each BitNode will grant a different Source-File when it is destroyed.
|
||||
|
||||
A Source-File can be upgraded by destroying its corresponding BitNode a second or
|
||||
|
@ -370,3 +370,35 @@ The list contains the name of (i.e. the value returned by
|
||||
| | | aaaaaaaaaaaaa -> 1a91031 |
|
||||
| | | aaaaaaaaaaaaaa -> 1a91041 |
|
||||
+-----------------------------------------+------------------------------------------------------------------------------------------+
|
||||
| Encryption I: Caesar Cipher | | Caesar cipher is one of the simplest encryption technique. It is a type of |
|
||||
| | | substitution cipher in which each letter in the plaintext is replaced by a letter some |
|
||||
| | | fixed number of positions down the alphabet. For example, with a left shift of 3, D |
|
||||
| | | would be replaced by A, E would become B, and A would become X (because of rotation). |
|
||||
| | | You are given an array with two elements.The first element is the plaintext, the |
|
||||
| | | second element is the left shift value. Return the ciphertext as uppercase string. |
|
||||
| | | Spaces remains the same. |
|
||||
+-----------------------------------------+------------------------------------------------------------------------------------------+
|
||||
| Encryption II: Vigenère Cipher | | Vigenère cipher is a type of polyalphabetic substitution. It uses the Vigenère square |
|
||||
| | | to encrypt and decrypt plaintext with a keyword. |
|
||||
| | | Vignenère square: |
|
||||
| | | A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|
||||
| | | +---------------------------------------------------- |
|
||||
| | | A | A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|
||||
| | | B | B C D E F G H I J K L M N O P Q R S T U V W X Y Z A |
|
||||
| | | C | C D E F G H I J K L M N O P Q R S T U V W X Y Z A B |
|
||||
| | | D | D E F G H I J K L M N O P Q R S T U V W X Y Z A B C |
|
||||
| | | E | E F G H I J K L M N O P Q R S T U V W X Y Z A B C D |
|
||||
| | | ... |
|
||||
| | | Y | Y Z A B C D E F G H I J K L M N O P Q R S T U V W X |
|
||||
| | | Z | Z A B C D E F G H I J K L M N O P Q R S T U V W X Y |
|
||||
| | | For encryption each letter of the plaintext is paired with the corresponding letter of |
|
||||
| | | a repeating keyword. For example, the plaintext DASHBOARD is encrypted with the |
|
||||
| | | keyword LINUX: |
|
||||
| | | Plaintext: DASHBOARD |
|
||||
| | | Keyword: LINUXLINU |
|
||||
| | | So, the first letter D is paired with the first letter of the key L. Therefore, row D |
|
||||
| | | and column L of the Vigenère square are used to get the first cipher letter O. This |
|
||||
| | | must be repeated for the whole ciphertext. |
|
||||
| | | You are given an array with two elements. The first element is the plaintext, the |
|
||||
| | | second element is the keyword. Return the ciphertext as uppercase string. |
|
||||
+-----------------------------------------+------------------------------------------------------------------------------------------+
|
||||
|
@ -3,6 +3,82 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
v2.0.0 - 2022-07-19 Work rework
|
||||
-------------------------------
|
||||
|
||||
API break rewards
|
||||
|
||||
* Everyone is awarded 10 NFG.
|
||||
* All work in progress program is auto completed.
|
||||
* All work in progress crafting is auto completed without adding entropy.
|
||||
|
||||
Work (Create program / Work for faction / Studying / etc ...)
|
||||
|
||||
* Working has been rebuilt from the grounds up. The motivation for that change is that all
|
||||
different types of work all required different cached variables on the main Player object.
|
||||
This caused a lot of bugs and crashes. It's been reworked in such a way as to prevent bugs
|
||||
and make it nearly trivial to add new kinds of work. However, since this caused a few API break
|
||||
I've decided to mark this version following semver protocols and call it 2.0.0
|
||||
* Crime can be unfocused and auto loops, no more spam clicking.
|
||||
* All work type give their reward immediately. No need to stop work to bank rewards like reputation.
|
||||
* Faction and Company work no longer have a time limit.
|
||||
* Company work no longer reduces rep gain by half for quitting early.
|
||||
* Company faction require 400k rep to join (from 200k)
|
||||
* Backdooring company server reduces faction requirement to 300k.
|
||||
* All work generally no longer keep track of cumulative gains like exp and reputation since it's applied instantly.
|
||||
* getPlayer returns way less fields but does return the new 'currentWork' field, some fields are moved around.
|
||||
|
||||
API breaks
|
||||
|
||||
* workForCompany argument 'companyName' is now not-optional
|
||||
* commitCrime now has 'focus' optional parameter
|
||||
* using getScriptIncome to get total income has been separated to getTotalScriptIncome.
|
||||
* using getScriptExpGain to get total income has been separated to getTotalScriptExpGain.
|
||||
* scp has it's 2 last argument reversed, the signature is now (files, destination, optional_source)
|
||||
* ns.connect and other singularity function are no longer available at the top level.
|
||||
They were already hidden from documentation but now they're gone.
|
||||
* stock.buy and stock.sell were renamed to stock.buyStock and stock.sellStock because 'buy' and 'sell'
|
||||
are very common tokens.
|
||||
* corporation.bribe no longer allows to give shares as bribe.
|
||||
|
||||
Netscript
|
||||
|
||||
* Add singularity.getCurrentWork
|
||||
* Add singularity.getAugmentationBasePrice
|
||||
* Add sleeve.getSleeveAugmentationPrice
|
||||
* Add sleeve.getSleeveAugmentationRepReq
|
||||
* Fix infiltration.getInfiltrationLocations
|
||||
* Singularity.goToLocation support for non-city-specific locations (@Ansopedian)
|
||||
* All corporation functions are synchronous. Job assignment only works on the following cycle. (@stalefishies)
|
||||
* Add batch functionality to NS spendHashes API (@undeemiss)
|
||||
* Fix #3661 Add missing memory property to Sleeve API (@borisflagell)
|
||||
* FIX#3732 Cannot assign two sleeve on "Take on contracts" regardless of contract type. (@borisflagell)
|
||||
|
||||
Corporation
|
||||
|
||||
* Dividend fixes and exposing dividends info via scripts (@stalefishies)
|
||||
* Add big number format support in some Corporation's modal (@borisflagell)
|
||||
* Fix #3261 Industry overview number formatting (@nickofolas)
|
||||
|
||||
Multipliers
|
||||
|
||||
* The main player object was also plagues with a million fields all called '*_mult'. Representing the different multipliers
|
||||
* These have been refactored in a field called 'mults'.
|
||||
|
||||
Misc.
|
||||
|
||||
* #3596 Enhanced terminal command parsing (@RevanProdigalKnight)
|
||||
* Fix #3366 Sleeve UI would sometimes displays the wrong stat while working out. (@borisflagell)
|
||||
* Two new encryption themed contracts - caesar and vigenere (@Markus-D-M)
|
||||
* Fixes #3132 several Sleeve can no longer works concurrently in the same company (@borisflagell)
|
||||
* FIX #3514 Clear recently killed tab on BN end event (@Daniel-Barbera)
|
||||
* HammingCodes description and implementation fixes (@s2ks)
|
||||
* FIX #3794 Sleeve were getting less shocked when hospitalized (was positive, should have detrimental) (@borisflagell)
|
||||
* Fix #3803 Servers can no longer have duplicate IPs (@crimsonhawk47)
|
||||
* Fix #3854 ctrl+c does not clear terminal input (@evil-tim)
|
||||
* Nerf noodle bar, obviously.
|
||||
|
||||
|
||||
v1.6.3 - 2022-04-01 Few stanek fixes
|
||||
------------------------------------
|
||||
|
||||
|
@ -64,9 +64,9 @@ documentation_title = '{0} Documentation'.format(project)
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '1.6'
|
||||
version = '2.0'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '1.6.4'
|
||||
release = '2.0.0'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
@ -30,6 +30,7 @@ secrets that you've been searching for.
|
||||
Tools & Resources <toolsandresources>
|
||||
Changelog <changelog>
|
||||
v1.0.0 script migration guide <v1.0.0_migration.rst>
|
||||
v2.0.0 script migration guide <v2.0.0_migration.rst>
|
||||
404 <404.rst>
|
||||
Donate <https://paypal.me/danielyxie>
|
||||
|
||||
|
109
doc/source/v2.0.0_migration.rst
Normal file
109
doc/source/v2.0.0_migration.rst
Normal file
@ -0,0 +1,109 @@
|
||||
v2.0.0 Migration Guide
|
||||
======================
|
||||
|
||||
In v2.0.0 a few more API have been broken.
|
||||
|
||||
Working
|
||||
-------
|
||||
|
||||
Working has been rebuilt from the grounds up. The motivation for that change is that all
|
||||
different types of work all required different cached variables on the main Player object.
|
||||
This caused a lot of bugs and crashes. It's been reworked in such a way as to prevent bugs
|
||||
and make it nearly trivial to add new kinds of work.
|
||||
All work type give their reward immediately. No need to stop work to bank rewards like reputation.
|
||||
Faction and Company work no longer have a time limit.
|
||||
Company work no longer reduces rep gain by half for quitting early.
|
||||
Company faction require 400k rep to join (from 200k)
|
||||
Backdooring company server reduces faction requirement to 300k.
|
||||
All types of work generally no longer keep track of cumulative gains like exp and reputation since it's applied instantly.
|
||||
|
||||
commitCrime
|
||||
-----------
|
||||
|
||||
crime now loops, meaning after finishing one shoplift you start the next one with no input. While the signature
|
||||
has not changed its behavior has. It also has a new 'focus' parameters.
|
||||
|
||||
getPlayer
|
||||
---------
|
||||
|
||||
The following work-related fields are not longer included:
|
||||
|
||||
* workChaExpGained
|
||||
* currentWorkFactionName
|
||||
* workDexExpGained
|
||||
* workHackExpGained
|
||||
* createProgramReqLvl
|
||||
* workStrExpGained
|
||||
* companyName
|
||||
* crimeType
|
||||
* workRepGained
|
||||
* workChaExpGainRate
|
||||
* workType
|
||||
* workStrExpGainRate
|
||||
* isWorking
|
||||
* workRepGainRate
|
||||
* workDefExpGained
|
||||
* currentWorkFactionDescription
|
||||
* workHackExpGainRate
|
||||
* workAgiExpGainRate
|
||||
* workDexExpGainRate
|
||||
* workMoneyGained
|
||||
* workMoneyLossRate
|
||||
* workMoneyGainRate
|
||||
* createProgramName
|
||||
* workDefExpGainRate
|
||||
* workAgiExpGained
|
||||
* className
|
||||
|
||||
The reason for that is that these fields are all, in one way or another, included in the new work field 'currentWork'.
|
||||
Some of these values are also irrelevant.
|
||||
Take a look at the new singularity.getCurrentWork function.
|
||||
|
||||
All fields ending in _mult have been moved to the 'mults' struct.
|
||||
For example: getPlayer().hacking_skill_mult => getPlayer().mults.hacking_skill
|
||||
|
||||
skills have been moved to the skills struct
|
||||
For example: getPlayer().hacking => getPlayer().skills.hacking
|
||||
|
||||
exp have been moved to the exp struct
|
||||
For example: getPlayer().hacking_exp => getPlayer().exp.hacking
|
||||
|
||||
hp have been moved to the hp struct
|
||||
For example: getPlayer().max_hp => getPlayer().hp.max or hp.current
|
||||
|
||||
hasWseAccount, hasTixApiAccess, has4SData, has4SDataTixApi have been removed and replaced with similar stock functions
|
||||
|
||||
workForCompany
|
||||
--------------
|
||||
|
||||
The argument 'companyName' is now not-optional.
|
||||
|
||||
|
||||
getScriptIncome & getScriptExpGain
|
||||
----------------------------------
|
||||
|
||||
Those 2 functions used to have a call where no arguments would return the total for all scripts. This caused weird signature.
|
||||
If you want to get the total income/exp for all scripts used the new getTotalScriptIncome / getTotalScriptExpGain instead.
|
||||
|
||||
scp
|
||||
---
|
||||
|
||||
scp has it's 2 last argument reversed, the signature is now scp(files, destination, optional_source)
|
||||
|
||||
Singularity
|
||||
-----------
|
||||
|
||||
A while ago top level singularity function were deprecated in favor of the singularity namespace.
|
||||
This means calls like 'ns.connect' need to be changed to 'ns.singularity.connect'
|
||||
|
||||
|
||||
stock.buy, stock.sell, stock.short
|
||||
----------------------------------
|
||||
|
||||
These functions were renamed to stock.buyStock, stock.sellStock, and stock.buyShort because 'buy', 'sell', and 'short'
|
||||
are very common tokens that would trick the ram calculation.
|
||||
|
||||
corporation.bribe
|
||||
-----------------
|
||||
|
||||
The ability to give shares as bribe has been removed. The signature is now bribe(faction, money)
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [agility\_mult](./bitburner.augmentationstats.agility_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [agility](./bitburner.augmentationstats.agility.md)
|
||||
|
||||
## AugmentationStats.agility\_mult property
|
||||
## AugmentationStats.agility property
|
||||
|
||||
Multiplier to agility skill
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
agility_mult?: number;
|
||||
agility?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [agility\_exp\_mult](./bitburner.augmentationstats.agility_exp_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [agility\_exp](./bitburner.augmentationstats.agility_exp.md)
|
||||
|
||||
## AugmentationStats.agility\_exp\_mult property
|
||||
## AugmentationStats.agility\_exp property
|
||||
|
||||
Multiplier to agility experience gain rate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
agility_exp_mult?: number;
|
||||
agility_exp?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_analysis\_mult](./bitburner.augmentationstats.bladeburner_analysis_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_analysis](./bitburner.augmentationstats.bladeburner_analysis.md)
|
||||
|
||||
## AugmentationStats.bladeburner\_analysis\_mult property
|
||||
## AugmentationStats.bladeburner\_analysis property
|
||||
|
||||
Multiplier to effectiveness in Bladeburner Field Analysis
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
bladeburner_analysis_mult?: number;
|
||||
bladeburner_analysis?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_max\_stamina\_mult](./bitburner.augmentationstats.bladeburner_max_stamina_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_max\_stamina](./bitburner.augmentationstats.bladeburner_max_stamina.md)
|
||||
|
||||
## AugmentationStats.bladeburner\_max\_stamina\_mult property
|
||||
## AugmentationStats.bladeburner\_max\_stamina property
|
||||
|
||||
Multiplier to Bladeburner max stamina
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
bladeburner_max_stamina_mult?: number;
|
||||
bladeburner_max_stamina?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_stamina\_gain\_mult](./bitburner.augmentationstats.bladeburner_stamina_gain_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_stamina\_gain](./bitburner.augmentationstats.bladeburner_stamina_gain.md)
|
||||
|
||||
## AugmentationStats.bladeburner\_stamina\_gain\_mult property
|
||||
## AugmentationStats.bladeburner\_stamina\_gain property
|
||||
|
||||
Multiplier to Bladeburner stamina gain rate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
bladeburner_stamina_gain_mult?: number;
|
||||
bladeburner_stamina_gain?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_success\_chance\_mult](./bitburner.augmentationstats.bladeburner_success_chance_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_success\_chance](./bitburner.augmentationstats.bladeburner_success_chance.md)
|
||||
|
||||
## AugmentationStats.bladeburner\_success\_chance\_mult property
|
||||
## AugmentationStats.bladeburner\_success\_chance property
|
||||
|
||||
Multiplier to success chance in Bladeburner contracts/operations
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
bladeburner_success_chance_mult?: number;
|
||||
bladeburner_success_chance?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [charisma\_mult](./bitburner.augmentationstats.charisma_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [charisma](./bitburner.augmentationstats.charisma.md)
|
||||
|
||||
## AugmentationStats.charisma\_mult property
|
||||
## AugmentationStats.charisma property
|
||||
|
||||
Multiplier to charisma skill
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
charisma_mult?: number;
|
||||
charisma?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [charisma\_exp\_mult](./bitburner.augmentationstats.charisma_exp_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [charisma\_exp](./bitburner.augmentationstats.charisma_exp.md)
|
||||
|
||||
## AugmentationStats.charisma\_exp\_mult property
|
||||
## AugmentationStats.charisma\_exp property
|
||||
|
||||
Multiplier to charisma experience gain rate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
charisma_exp_mult?: number;
|
||||
charisma_exp?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [company\_rep\_mult](./bitburner.augmentationstats.company_rep_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [company\_rep](./bitburner.augmentationstats.company_rep.md)
|
||||
|
||||
## AugmentationStats.company\_rep\_mult property
|
||||
## AugmentationStats.company\_rep property
|
||||
|
||||
Multiplier to amount of reputation gained when working
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
company_rep_mult?: number;
|
||||
company_rep?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [crime\_money\_mult](./bitburner.augmentationstats.crime_money_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [crime\_money](./bitburner.augmentationstats.crime_money.md)
|
||||
|
||||
## AugmentationStats.crime\_money\_mult property
|
||||
## AugmentationStats.crime\_money property
|
||||
|
||||
Multiplier to amount of money gained from crimes
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
crime_money_mult?: number;
|
||||
crime_money?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [crime\_success\_mult](./bitburner.augmentationstats.crime_success_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [crime\_success](./bitburner.augmentationstats.crime_success.md)
|
||||
|
||||
## AugmentationStats.crime\_success\_mult property
|
||||
## AugmentationStats.crime\_success property
|
||||
|
||||
Multiplier to crime success rate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
crime_success_mult?: number;
|
||||
crime_success?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [defense\_mult](./bitburner.augmentationstats.defense_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [defense](./bitburner.augmentationstats.defense.md)
|
||||
|
||||
## AugmentationStats.defense\_mult property
|
||||
## AugmentationStats.defense property
|
||||
|
||||
Multiplier to defense skill
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
defense_mult?: number;
|
||||
defense?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [defense\_exp\_mult](./bitburner.augmentationstats.defense_exp_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [defense\_exp](./bitburner.augmentationstats.defense_exp.md)
|
||||
|
||||
## AugmentationStats.defense\_exp\_mult property
|
||||
## AugmentationStats.defense\_exp property
|
||||
|
||||
Multiplier to defense experience gain rate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
defense_exp_mult?: number;
|
||||
defense_exp?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [dexterity\_mult](./bitburner.augmentationstats.dexterity_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [dexterity](./bitburner.augmentationstats.dexterity.md)
|
||||
|
||||
## AugmentationStats.dexterity\_mult property
|
||||
## AugmentationStats.dexterity property
|
||||
|
||||
Multiplier to dexterity skill
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
dexterity_mult?: number;
|
||||
dexterity?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [dexterity\_exp\_mult](./bitburner.augmentationstats.dexterity_exp_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [dexterity\_exp](./bitburner.augmentationstats.dexterity_exp.md)
|
||||
|
||||
## AugmentationStats.dexterity\_exp\_mult property
|
||||
## AugmentationStats.dexterity\_exp property
|
||||
|
||||
Multiplier to dexterity experience gain rate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
dexterity_exp_mult?: number;
|
||||
dexterity_exp?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [faction\_rep\_mult](./bitburner.augmentationstats.faction_rep_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [faction\_rep](./bitburner.augmentationstats.faction_rep.md)
|
||||
|
||||
## AugmentationStats.faction\_rep\_mult property
|
||||
## AugmentationStats.faction\_rep property
|
||||
|
||||
Multiplier to amount of reputation gained when working
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
faction_rep_mult?: number;
|
||||
faction_rep?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_mult](./bitburner.augmentationstats.hacking_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking](./bitburner.augmentationstats.hacking.md)
|
||||
|
||||
## AugmentationStats.hacking\_mult property
|
||||
## AugmentationStats.hacking property
|
||||
|
||||
Multiplier to hacking skill
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacking_mult?: number;
|
||||
hacking?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_chance\_mult](./bitburner.augmentationstats.hacking_chance_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_chance](./bitburner.augmentationstats.hacking_chance.md)
|
||||
|
||||
## AugmentationStats.hacking\_chance\_mult property
|
||||
## AugmentationStats.hacking\_chance property
|
||||
|
||||
Multiplier to chance of successfully performing a hack
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacking_chance_mult?: number;
|
||||
hacking_chance?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_exp\_mult](./bitburner.augmentationstats.hacking_exp_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_exp](./bitburner.augmentationstats.hacking_exp.md)
|
||||
|
||||
## AugmentationStats.hacking\_exp\_mult property
|
||||
## AugmentationStats.hacking\_exp property
|
||||
|
||||
Multiplier to hacking experience gain rate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacking_exp_mult?: number;
|
||||
hacking_exp?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_grow\_mult](./bitburner.augmentationstats.hacking_grow_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_grow](./bitburner.augmentationstats.hacking_grow.md)
|
||||
|
||||
## AugmentationStats.hacking\_grow\_mult property
|
||||
## AugmentationStats.hacking\_grow property
|
||||
|
||||
Multiplier to amount of money injected into servers using grow
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacking_grow_mult?: number;
|
||||
hacking_grow?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_money\_mult](./bitburner.augmentationstats.hacking_money_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_money](./bitburner.augmentationstats.hacking_money.md)
|
||||
|
||||
## AugmentationStats.hacking\_money\_mult property
|
||||
## AugmentationStats.hacking\_money property
|
||||
|
||||
Multiplier to amount of money the player gains from hacking
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacking_money_mult?: number;
|
||||
hacking_money?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_speed\_mult](./bitburner.augmentationstats.hacking_speed_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_speed](./bitburner.augmentationstats.hacking_speed.md)
|
||||
|
||||
## AugmentationStats.hacking\_speed\_mult property
|
||||
## AugmentationStats.hacking\_speed property
|
||||
|
||||
Multiplier to hacking speed
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacking_speed_mult?: number;
|
||||
hacking_speed?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_core\_cost\_mult](./bitburner.augmentationstats.hacknet_node_core_cost_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_core\_cost](./bitburner.augmentationstats.hacknet_node_core_cost.md)
|
||||
|
||||
## AugmentationStats.hacknet\_node\_core\_cost\_mult property
|
||||
## AugmentationStats.hacknet\_node\_core\_cost property
|
||||
|
||||
Multiplier to cost of core for a Hacknet Node
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacknet_node_core_cost_mult?: number;
|
||||
hacknet_node_core_cost?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_level\_cost\_mult](./bitburner.augmentationstats.hacknet_node_level_cost_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_level\_cost](./bitburner.augmentationstats.hacknet_node_level_cost.md)
|
||||
|
||||
## AugmentationStats.hacknet\_node\_level\_cost\_mult property
|
||||
## AugmentationStats.hacknet\_node\_level\_cost property
|
||||
|
||||
Multiplier to cost of leveling up a Hacknet Node
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacknet_node_level_cost_mult?: number;
|
||||
hacknet_node_level_cost?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_money\_mult](./bitburner.augmentationstats.hacknet_node_money_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_money](./bitburner.augmentationstats.hacknet_node_money.md)
|
||||
|
||||
## AugmentationStats.hacknet\_node\_money\_mult property
|
||||
## AugmentationStats.hacknet\_node\_money property
|
||||
|
||||
Multiplier to amount of money produced by Hacknet Nodes
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacknet_node_money_mult?: number;
|
||||
hacknet_node_money?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_purchase\_cost\_mult](./bitburner.augmentationstats.hacknet_node_purchase_cost_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_purchase\_cost](./bitburner.augmentationstats.hacknet_node_purchase_cost.md)
|
||||
|
||||
## AugmentationStats.hacknet\_node\_purchase\_cost\_mult property
|
||||
## AugmentationStats.hacknet\_node\_purchase\_cost property
|
||||
|
||||
Multiplier to cost of purchasing a Hacknet Node
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacknet_node_purchase_cost_mult?: number;
|
||||
hacknet_node_purchase_cost?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_ram\_cost\_mult](./bitburner.augmentationstats.hacknet_node_ram_cost_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_ram\_cost](./bitburner.augmentationstats.hacknet_node_ram_cost.md)
|
||||
|
||||
## AugmentationStats.hacknet\_node\_ram\_cost\_mult property
|
||||
## AugmentationStats.hacknet\_node\_ram\_cost property
|
||||
|
||||
Multiplier to cost of ram for a Hacknet Node
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hacknet_node_ram_cost_mult?: number;
|
||||
hacknet_node_ram_cost?: number;
|
||||
```
|
@ -16,34 +16,34 @@ export interface AugmentationStats
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [agility\_exp\_mult?](./bitburner.augmentationstats.agility_exp_mult.md) | number | <i>(Optional)</i> Multiplier to agility experience gain rate |
|
||||
| [agility\_mult?](./bitburner.augmentationstats.agility_mult.md) | number | <i>(Optional)</i> Multiplier to agility skill |
|
||||
| [bladeburner\_analysis\_mult?](./bitburner.augmentationstats.bladeburner_analysis_mult.md) | number | <i>(Optional)</i> Multiplier to effectiveness in Bladeburner Field Analysis |
|
||||
| [bladeburner\_max\_stamina\_mult?](./bitburner.augmentationstats.bladeburner_max_stamina_mult.md) | number | <i>(Optional)</i> Multiplier to Bladeburner max stamina |
|
||||
| [bladeburner\_stamina\_gain\_mult?](./bitburner.augmentationstats.bladeburner_stamina_gain_mult.md) | number | <i>(Optional)</i> Multiplier to Bladeburner stamina gain rate |
|
||||
| [bladeburner\_success\_chance\_mult?](./bitburner.augmentationstats.bladeburner_success_chance_mult.md) | number | <i>(Optional)</i> Multiplier to success chance in Bladeburner contracts/operations |
|
||||
| [charisma\_exp\_mult?](./bitburner.augmentationstats.charisma_exp_mult.md) | number | <i>(Optional)</i> Multiplier to charisma experience gain rate |
|
||||
| [charisma\_mult?](./bitburner.augmentationstats.charisma_mult.md) | number | <i>(Optional)</i> Multiplier to charisma skill |
|
||||
| [company\_rep\_mult?](./bitburner.augmentationstats.company_rep_mult.md) | number | <i>(Optional)</i> Multiplier to amount of reputation gained when working |
|
||||
| [crime\_money\_mult?](./bitburner.augmentationstats.crime_money_mult.md) | number | <i>(Optional)</i> Multiplier to amount of money gained from crimes |
|
||||
| [crime\_success\_mult?](./bitburner.augmentationstats.crime_success_mult.md) | number | <i>(Optional)</i> Multiplier to crime success rate |
|
||||
| [defense\_exp\_mult?](./bitburner.augmentationstats.defense_exp_mult.md) | number | <i>(Optional)</i> Multiplier to defense experience gain rate |
|
||||
| [defense\_mult?](./bitburner.augmentationstats.defense_mult.md) | number | <i>(Optional)</i> Multiplier to defense skill |
|
||||
| [dexterity\_exp\_mult?](./bitburner.augmentationstats.dexterity_exp_mult.md) | number | <i>(Optional)</i> Multiplier to dexterity experience gain rate |
|
||||
| [dexterity\_mult?](./bitburner.augmentationstats.dexterity_mult.md) | number | <i>(Optional)</i> Multiplier to dexterity skill |
|
||||
| [faction\_rep\_mult?](./bitburner.augmentationstats.faction_rep_mult.md) | number | <i>(Optional)</i> Multiplier to amount of reputation gained when working |
|
||||
| [hacking\_chance\_mult?](./bitburner.augmentationstats.hacking_chance_mult.md) | number | <i>(Optional)</i> Multiplier to chance of successfully performing a hack |
|
||||
| [hacking\_exp\_mult?](./bitburner.augmentationstats.hacking_exp_mult.md) | number | <i>(Optional)</i> Multiplier to hacking experience gain rate |
|
||||
| [hacking\_grow\_mult?](./bitburner.augmentationstats.hacking_grow_mult.md) | number | <i>(Optional)</i> Multiplier to amount of money injected into servers using grow |
|
||||
| [hacking\_money\_mult?](./bitburner.augmentationstats.hacking_money_mult.md) | number | <i>(Optional)</i> Multiplier to amount of money the player gains from hacking |
|
||||
| [hacking\_mult?](./bitburner.augmentationstats.hacking_mult.md) | number | <i>(Optional)</i> Multiplier to hacking skill |
|
||||
| [hacking\_speed\_mult?](./bitburner.augmentationstats.hacking_speed_mult.md) | number | <i>(Optional)</i> Multiplier to hacking speed |
|
||||
| [hacknet\_node\_core\_cost\_mult?](./bitburner.augmentationstats.hacknet_node_core_cost_mult.md) | number | <i>(Optional)</i> Multiplier to cost of core for a Hacknet Node |
|
||||
| [hacknet\_node\_level\_cost\_mult?](./bitburner.augmentationstats.hacknet_node_level_cost_mult.md) | number | <i>(Optional)</i> Multiplier to cost of leveling up a Hacknet Node |
|
||||
| [hacknet\_node\_money\_mult?](./bitburner.augmentationstats.hacknet_node_money_mult.md) | number | <i>(Optional)</i> Multiplier to amount of money produced by Hacknet Nodes |
|
||||
| [hacknet\_node\_purchase\_cost\_mult?](./bitburner.augmentationstats.hacknet_node_purchase_cost_mult.md) | number | <i>(Optional)</i> Multiplier to cost of purchasing a Hacknet Node |
|
||||
| [hacknet\_node\_ram\_cost\_mult?](./bitburner.augmentationstats.hacknet_node_ram_cost_mult.md) | number | <i>(Optional)</i> Multiplier to cost of ram for a Hacknet Node |
|
||||
| [strength\_exp\_mult?](./bitburner.augmentationstats.strength_exp_mult.md) | number | <i>(Optional)</i> Multiplier to strength experience gain rate |
|
||||
| [strength\_mult?](./bitburner.augmentationstats.strength_mult.md) | number | <i>(Optional)</i> Multiplier to strength skill |
|
||||
| [work\_money\_mult?](./bitburner.augmentationstats.work_money_mult.md) | number | <i>(Optional)</i> Multiplier to amount of money gained from working |
|
||||
| [agility\_exp?](./bitburner.augmentationstats.agility_exp.md) | number | <i>(Optional)</i> Multiplier to agility experience gain rate |
|
||||
| [agility?](./bitburner.augmentationstats.agility.md) | number | <i>(Optional)</i> Multiplier to agility skill |
|
||||
| [bladeburner\_analysis?](./bitburner.augmentationstats.bladeburner_analysis.md) | number | <i>(Optional)</i> Multiplier to effectiveness in Bladeburner Field Analysis |
|
||||
| [bladeburner\_max\_stamina?](./bitburner.augmentationstats.bladeburner_max_stamina.md) | number | <i>(Optional)</i> Multiplier to Bladeburner max stamina |
|
||||
| [bladeburner\_stamina\_gain?](./bitburner.augmentationstats.bladeburner_stamina_gain.md) | number | <i>(Optional)</i> Multiplier to Bladeburner stamina gain rate |
|
||||
| [bladeburner\_success\_chance?](./bitburner.augmentationstats.bladeburner_success_chance.md) | number | <i>(Optional)</i> Multiplier to success chance in Bladeburner contracts/operations |
|
||||
| [charisma\_exp?](./bitburner.augmentationstats.charisma_exp.md) | number | <i>(Optional)</i> Multiplier to charisma experience gain rate |
|
||||
| [charisma?](./bitburner.augmentationstats.charisma.md) | number | <i>(Optional)</i> Multiplier to charisma skill |
|
||||
| [company\_rep?](./bitburner.augmentationstats.company_rep.md) | number | <i>(Optional)</i> Multiplier to amount of reputation gained when working |
|
||||
| [crime\_money?](./bitburner.augmentationstats.crime_money.md) | number | <i>(Optional)</i> Multiplier to amount of money gained from crimes |
|
||||
| [crime\_success?](./bitburner.augmentationstats.crime_success.md) | number | <i>(Optional)</i> Multiplier to crime success rate |
|
||||
| [defense\_exp?](./bitburner.augmentationstats.defense_exp.md) | number | <i>(Optional)</i> Multiplier to defense experience gain rate |
|
||||
| [defense?](./bitburner.augmentationstats.defense.md) | number | <i>(Optional)</i> Multiplier to defense skill |
|
||||
| [dexterity\_exp?](./bitburner.augmentationstats.dexterity_exp.md) | number | <i>(Optional)</i> Multiplier to dexterity experience gain rate |
|
||||
| [dexterity?](./bitburner.augmentationstats.dexterity.md) | number | <i>(Optional)</i> Multiplier to dexterity skill |
|
||||
| [faction\_rep?](./bitburner.augmentationstats.faction_rep.md) | number | <i>(Optional)</i> Multiplier to amount of reputation gained when working |
|
||||
| [hacking\_chance?](./bitburner.augmentationstats.hacking_chance.md) | number | <i>(Optional)</i> Multiplier to chance of successfully performing a hack |
|
||||
| [hacking\_exp?](./bitburner.augmentationstats.hacking_exp.md) | number | <i>(Optional)</i> Multiplier to hacking experience gain rate |
|
||||
| [hacking\_grow?](./bitburner.augmentationstats.hacking_grow.md) | number | <i>(Optional)</i> Multiplier to amount of money injected into servers using grow |
|
||||
| [hacking\_money?](./bitburner.augmentationstats.hacking_money.md) | number | <i>(Optional)</i> Multiplier to amount of money the player gains from hacking |
|
||||
| [hacking\_speed?](./bitburner.augmentationstats.hacking_speed.md) | number | <i>(Optional)</i> Multiplier to hacking speed |
|
||||
| [hacking?](./bitburner.augmentationstats.hacking.md) | number | <i>(Optional)</i> Multiplier to hacking skill |
|
||||
| [hacknet\_node\_core\_cost?](./bitburner.augmentationstats.hacknet_node_core_cost.md) | number | <i>(Optional)</i> Multiplier to cost of core for a Hacknet Node |
|
||||
| [hacknet\_node\_level\_cost?](./bitburner.augmentationstats.hacknet_node_level_cost.md) | number | <i>(Optional)</i> Multiplier to cost of leveling up a Hacknet Node |
|
||||
| [hacknet\_node\_money?](./bitburner.augmentationstats.hacknet_node_money.md) | number | <i>(Optional)</i> Multiplier to amount of money produced by Hacknet Nodes |
|
||||
| [hacknet\_node\_purchase\_cost?](./bitburner.augmentationstats.hacknet_node_purchase_cost.md) | number | <i>(Optional)</i> Multiplier to cost of purchasing a Hacknet Node |
|
||||
| [hacknet\_node\_ram\_cost?](./bitburner.augmentationstats.hacknet_node_ram_cost.md) | number | <i>(Optional)</i> Multiplier to cost of ram for a Hacknet Node |
|
||||
| [strength\_exp?](./bitburner.augmentationstats.strength_exp.md) | number | <i>(Optional)</i> Multiplier to strength experience gain rate |
|
||||
| [strength?](./bitburner.augmentationstats.strength.md) | number | <i>(Optional)</i> Multiplier to strength skill |
|
||||
| [work\_money?](./bitburner.augmentationstats.work_money.md) | number | <i>(Optional)</i> Multiplier to amount of money gained from working |
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [strength\_mult](./bitburner.augmentationstats.strength_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [strength](./bitburner.augmentationstats.strength.md)
|
||||
|
||||
## AugmentationStats.strength\_mult property
|
||||
## AugmentationStats.strength property
|
||||
|
||||
Multiplier to strength skill
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
strength_mult?: number;
|
||||
strength?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [strength\_exp\_mult](./bitburner.augmentationstats.strength_exp_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [strength\_exp](./bitburner.augmentationstats.strength_exp.md)
|
||||
|
||||
## AugmentationStats.strength\_exp\_mult property
|
||||
## AugmentationStats.strength\_exp property
|
||||
|
||||
Multiplier to strength experience gain rate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
strength_exp_mult?: number;
|
||||
strength_exp?: number;
|
||||
```
|
@ -1,13 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [work\_money\_mult](./bitburner.augmentationstats.work_money_mult.md)
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [work\_money](./bitburner.augmentationstats.work_money.md)
|
||||
|
||||
## AugmentationStats.work\_money\_mult property
|
||||
## AugmentationStats.work\_money property
|
||||
|
||||
Multiplier to amount of money gained from working
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
work_money_mult?: number;
|
||||
work_money?: number;
|
||||
```
|
@ -7,7 +7,7 @@
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
flags(schema: [string, string | number | boolean | string[]][]): any;
|
||||
flags(schema: [string, string | number | boolean | string[]][]): { [key: string]: ScriptArg };
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@ -18,5 +18,5 @@ flags(schema: [string, string | number | boolean | string[]][]): any;
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
any
|
||||
{ \[key: string\]: [ScriptArg](./bitburner.scriptarg.md) }
|
||||
|
||||
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [agilityExp](./bitburner.characterinfo.agilityexp.md)
|
||||
|
||||
## CharacterInfo.agilityExp property
|
||||
|
||||
total agility exp
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
agilityExp: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [bitnode](./bitburner.characterinfo.bitnode.md)
|
||||
|
||||
## CharacterInfo.bitnode property
|
||||
|
||||
Current BitNode number
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
bitnode: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [charismaExp](./bitburner.characterinfo.charismaexp.md)
|
||||
|
||||
## CharacterInfo.charismaExp property
|
||||
|
||||
total charisma exp
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
charismaExp: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [city](./bitburner.characterinfo.city.md)
|
||||
|
||||
## CharacterInfo.city property
|
||||
|
||||
Name of city you are currently in
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
city: string;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [defenseExp](./bitburner.characterinfo.defenseexp.md)
|
||||
|
||||
## CharacterInfo.defenseExp property
|
||||
|
||||
total defense exp
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
defenseExp: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [dexterityExp](./bitburner.characterinfo.dexterityexp.md)
|
||||
|
||||
## CharacterInfo.dexterityExp property
|
||||
|
||||
total dexterity exp
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
dexterityExp: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [factions](./bitburner.characterinfo.factions.md)
|
||||
|
||||
## CharacterInfo.factions property
|
||||
|
||||
Array of factions you are currently a member of
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
factions: string[];
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [hackingExp](./bitburner.characterinfo.hackingexp.md)
|
||||
|
||||
## CharacterInfo.hackingExp property
|
||||
|
||||
total hacking exp
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hackingExp: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [hp](./bitburner.characterinfo.hp.md)
|
||||
|
||||
## CharacterInfo.hp property
|
||||
|
||||
Current health points
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hp: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [jobs](./bitburner.characterinfo.jobs.md)
|
||||
|
||||
## CharacterInfo.jobs property
|
||||
|
||||
Array of all jobs
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
jobs: string[];
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [jobTitles](./bitburner.characterinfo.jobtitles.md)
|
||||
|
||||
## CharacterInfo.jobTitles property
|
||||
|
||||
Array of job positions for all companies you are employed at. Same order as 'jobs'
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
jobTitles: string[];
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [maxHp](./bitburner.characterinfo.maxhp.md)
|
||||
|
||||
## CharacterInfo.maxHp property
|
||||
|
||||
Maximum health points
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
maxHp: number;
|
||||
```
|
@ -1,42 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md)
|
||||
|
||||
## CharacterInfo interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface CharacterInfo
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [agilityExp](./bitburner.characterinfo.agilityexp.md) | number | total agility exp |
|
||||
| [bitnode](./bitburner.characterinfo.bitnode.md) | number | Current BitNode number |
|
||||
| [charismaExp](./bitburner.characterinfo.charismaexp.md) | number | total charisma exp |
|
||||
| [city](./bitburner.characterinfo.city.md) | string | Name of city you are currently in |
|
||||
| [defenseExp](./bitburner.characterinfo.defenseexp.md) | number | total defense exp |
|
||||
| [dexterityExp](./bitburner.characterinfo.dexterityexp.md) | number | total dexterity exp |
|
||||
| [factions](./bitburner.characterinfo.factions.md) | string\[\] | Array of factions you are currently a member of |
|
||||
| [hackingExp](./bitburner.characterinfo.hackingexp.md) | number | total hacking exp |
|
||||
| [hp](./bitburner.characterinfo.hp.md) | number | Current health points |
|
||||
| [jobs](./bitburner.characterinfo.jobs.md) | string\[\] | Array of all jobs |
|
||||
| [jobTitles](./bitburner.characterinfo.jobtitles.md) | string\[\] | Array of job positions for all companies you are employed at. Same order as 'jobs' |
|
||||
| [maxHp](./bitburner.characterinfo.maxhp.md) | number | Maximum health points |
|
||||
| [mult](./bitburner.characterinfo.mult.md) | [CharacterMult](./bitburner.charactermult.md) | Object with many of the player's multipliers from Augmentations/Source Files |
|
||||
| [strengthExp](./bitburner.characterinfo.strengthexp.md) | number | total strength exp |
|
||||
| [timeWorked](./bitburner.characterinfo.timeworked.md) | number | Timed worked in ms |
|
||||
| [tor](./bitburner.characterinfo.tor.md) | boolean | Boolean indicating whether or not you have a tor router |
|
||||
| [workAgiExpGain](./bitburner.characterinfo.workagiexpgain.md) | number | Agi experience earned so far from work |
|
||||
| [workChaExpGain](./bitburner.characterinfo.workchaexpgain.md) | number | Cha experience earned so far from work |
|
||||
| [workDefExpGain](./bitburner.characterinfo.workdefexpgain.md) | number | Def experience earned so far from work |
|
||||
| [workDexExpGain](./bitburner.characterinfo.workdexexpgain.md) | number | Dex experience earned so far from work |
|
||||
| [workHackExpGain](./bitburner.characterinfo.workhackexpgain.md) | number | Hacking experience earned so far from work |
|
||||
| [workMoneyGain](./bitburner.characterinfo.workmoneygain.md) | number | Money earned so far from work, if applicable |
|
||||
| [workRepGain](./bitburner.characterinfo.workrepgain.md) | number | Reputation earned so far from work, if applicable |
|
||||
| [workStrExpGain](./bitburner.characterinfo.workstrexpgain.md) | number | Str experience earned so far from work |
|
||||
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [mult](./bitburner.characterinfo.mult.md)
|
||||
|
||||
## CharacterInfo.mult property
|
||||
|
||||
Object with many of the player's multipliers from Augmentations/Source Files
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
mult: CharacterMult;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [strengthExp](./bitburner.characterinfo.strengthexp.md)
|
||||
|
||||
## CharacterInfo.strengthExp property
|
||||
|
||||
total strength exp
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
strengthExp: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [timeWorked](./bitburner.characterinfo.timeworked.md)
|
||||
|
||||
## CharacterInfo.timeWorked property
|
||||
|
||||
Timed worked in ms
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
timeWorked: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [tor](./bitburner.characterinfo.tor.md)
|
||||
|
||||
## CharacterInfo.tor property
|
||||
|
||||
Boolean indicating whether or not you have a tor router
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
tor: boolean;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workAgiExpGain](./bitburner.characterinfo.workagiexpgain.md)
|
||||
|
||||
## CharacterInfo.workAgiExpGain property
|
||||
|
||||
Agi experience earned so far from work
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
workAgiExpGain: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workChaExpGain](./bitburner.characterinfo.workchaexpgain.md)
|
||||
|
||||
## CharacterInfo.workChaExpGain property
|
||||
|
||||
Cha experience earned so far from work
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
workChaExpGain: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workDefExpGain](./bitburner.characterinfo.workdefexpgain.md)
|
||||
|
||||
## CharacterInfo.workDefExpGain property
|
||||
|
||||
Def experience earned so far from work
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
workDefExpGain: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workDexExpGain](./bitburner.characterinfo.workdexexpgain.md)
|
||||
|
||||
## CharacterInfo.workDexExpGain property
|
||||
|
||||
Dex experience earned so far from work
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
workDexExpGain: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workHackExpGain](./bitburner.characterinfo.workhackexpgain.md)
|
||||
|
||||
## CharacterInfo.workHackExpGain property
|
||||
|
||||
Hacking experience earned so far from work
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
workHackExpGain: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workMoneyGain](./bitburner.characterinfo.workmoneygain.md)
|
||||
|
||||
## CharacterInfo.workMoneyGain property
|
||||
|
||||
Money earned so far from work, if applicable
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
workMoneyGain: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workRepGain](./bitburner.characterinfo.workrepgain.md)
|
||||
|
||||
## CharacterInfo.workRepGain property
|
||||
|
||||
Reputation earned so far from work, if applicable
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
workRepGain: number;
|
||||
```
|
@ -1,13 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workStrExpGain](./bitburner.characterinfo.workstrexpgain.md)
|
||||
|
||||
## CharacterInfo.workStrExpGain property
|
||||
|
||||
Str experience earned so far from work
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
workStrExpGain: number;
|
||||
```
|
@ -9,7 +9,7 @@ Get the input data.
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getData(filename: string, host?: string): any;
|
||||
getData(filename: string, host?: string): CodingContractData;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@ -21,7 +21,7 @@ getData(filename: string, host?: string): any;
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
any
|
||||
[CodingContractData](./bitburner.codingcontractdata.md)
|
||||
|
||||
The specified contract’s data, data type depends on contract type.;
|
||||
|
||||
|
13
markdown/bitburner.codingcontractdata.md
Normal file
13
markdown/bitburner.codingcontractdata.md
Normal file
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContractData](./bitburner.codingcontractdata.md)
|
||||
|
||||
## CodingContractData type
|
||||
|
||||
Coding contract data will differ depending on coding contract.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
type CodingContractData = any;
|
||||
```
|
@ -9,7 +9,7 @@ Bribe a faction
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
bribe(factionName: string, amountCash: number, amountShares: number): boolean;
|
||||
bribe(factionName: string, amountCash: number): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@ -18,7 +18,6 @@ bribe(factionName: string, amountCash: number, amountShares: number): boolean;
|
||||
| --- | --- | --- |
|
||||
| factionName | string | Faction name |
|
||||
| amountCash | number | Amount of money to bribe |
|
||||
| amountShares | number | Amount of shares to bribe |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
19
markdown/bitburner.corporation.getindustrytypes.md
Normal file
19
markdown/bitburner.corporation.getindustrytypes.md
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getIndustryTypes](./bitburner.corporation.getindustrytypes.md)
|
||||
|
||||
## Corporation.getIndustryTypes() method
|
||||
|
||||
Get list of industry types
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getIndustryTypes(): string[];
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
string\[\]
|
||||
|
||||
industry names
|
||||
|
19
markdown/bitburner.corporation.getmaterialnames.md
Normal file
19
markdown/bitburner.corporation.getmaterialnames.md
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getMaterialNames](./bitburner.corporation.getmaterialnames.md)
|
||||
|
||||
## Corporation.getMaterialNames() method
|
||||
|
||||
Get list of materials
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getMaterialNames(): string[];
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
string\[\]
|
||||
|
||||
material names
|
||||
|
19
markdown/bitburner.corporation.getresearchnames.md
Normal file
19
markdown/bitburner.corporation.getresearchnames.md
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getResearchNames](./bitburner.corporation.getresearchnames.md)
|
||||
|
||||
## Corporation.getResearchNames() method
|
||||
|
||||
Get list of research names
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getResearchNames(): string[];
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
string\[\]
|
||||
|
||||
research names
|
||||
|
19
markdown/bitburner.corporation.getunlockables.md
Normal file
19
markdown/bitburner.corporation.getunlockables.md
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getUnlockables](./bitburner.corporation.getunlockables.md)
|
||||
|
||||
## Corporation.getUnlockables() method
|
||||
|
||||
Get list of one-time unlockable upgrades
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getUnlockables(): string[];
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
string\[\]
|
||||
|
||||
unlockable upgrades names
|
||||
|
19
markdown/bitburner.corporation.getupgradenames.md
Normal file
19
markdown/bitburner.corporation.getupgradenames.md
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getUpgradeNames](./bitburner.corporation.getupgradenames.md)
|
||||
|
||||
## Corporation.getUpgradeNames() method
|
||||
|
||||
Get list of upgrade names
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
getUpgradeNames(): string[];
|
||||
```
|
||||
<b>Returns:</b>
|
||||
|
||||
string\[\]
|
||||
|
||||
upgrade names
|
||||
|
@ -9,14 +9,14 @@ Issue dividends
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
issueDividends(percent: number): void;
|
||||
issueDividends(rate: number): void;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| percent | number | Percent of profit to issue as dividends. |
|
||||
| rate | number | Fraction of profit to issue as dividends. |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
@ -18,7 +18,7 @@ export interface Corporation extends WarehouseAPI, OfficeAPI
|
||||
| Method | Description |
|
||||
| --- | --- |
|
||||
| [acceptInvestmentOffer()](./bitburner.corporation.acceptinvestmentoffer.md) | Accept investment based on you companies current valuation |
|
||||
| [bribe(factionName, amountCash, amountShares)](./bitburner.corporation.bribe.md) | Bribe a faction |
|
||||
| [bribe(factionName, amountCash)](./bitburner.corporation.bribe.md) | Bribe a faction |
|
||||
| [buyBackShares(amount)](./bitburner.corporation.buybackshares.md) | Buyback Shares |
|
||||
| [createCorporation(corporationName, selfFund)](./bitburner.corporation.createcorporation.md) | Create a Corporation |
|
||||
| [expandCity(divisionName, cityName)](./bitburner.corporation.expandcity.md) | Expand to a new city |
|
||||
@ -28,13 +28,18 @@ export interface Corporation extends WarehouseAPI, OfficeAPI
|
||||
| [getDivision(divisionName)](./bitburner.corporation.getdivision.md) | Get division data |
|
||||
| [getExpandCityCost()](./bitburner.corporation.getexpandcitycost.md) | Gets the cost to expand into a new city |
|
||||
| [getExpandIndustryCost(industryName)](./bitburner.corporation.getexpandindustrycost.md) | Gets the cost to expand into a new industry |
|
||||
| [getIndustryTypes()](./bitburner.corporation.getindustrytypes.md) | Get list of industry types |
|
||||
| [getInvestmentOffer()](./bitburner.corporation.getinvestmentoffer.md) | Get an offer for investment based on you companies current valuation |
|
||||
| [getMaterialNames()](./bitburner.corporation.getmaterialnames.md) | Get list of materials |
|
||||
| [getResearchNames()](./bitburner.corporation.getresearchnames.md) | Get list of research names |
|
||||
| [getUnlockables()](./bitburner.corporation.getunlockables.md) | Get list of one-time unlockable upgrades |
|
||||
| [getUnlockUpgradeCost(upgradeName)](./bitburner.corporation.getunlockupgradecost.md) | Gets the cost to unlock a one time unlockable upgrade |
|
||||
| [getUpgradeLevel(upgradeName)](./bitburner.corporation.getupgradelevel.md) | Get the level of a levelable upgrade |
|
||||
| [getUpgradeLevelCost(upgradeName)](./bitburner.corporation.getupgradelevelcost.md) | Gets the cost to unlock the next level of a levelable upgrade |
|
||||
| [getUpgradeNames()](./bitburner.corporation.getupgradenames.md) | Get list of upgrade names |
|
||||
| [goPublic(numShares)](./bitburner.corporation.gopublic.md) | Go public |
|
||||
| [hasUnlockUpgrade(upgradeName)](./bitburner.corporation.hasunlockupgrade.md) | Check if you have a one time unlockable upgrade |
|
||||
| [issueDividends(percent)](./bitburner.corporation.issuedividends.md) | Issue dividends |
|
||||
| [issueDividends(rate)](./bitburner.corporation.issuedividends.md) | Issue dividends |
|
||||
| [levelUpgrade(upgradeName)](./bitburner.corporation.levelupgrade.md) | Level an upgrade. |
|
||||
| [sellShares(amount)](./bitburner.corporation.sellshares.md) | Sell Shares |
|
||||
| [unlockUpgrade(upgradeName)](./bitburner.corporation.unlockupgrade.md) | Unlock an upgrade |
|
||||
|
13
markdown/bitburner.corporationinfo.dividendearnings.md
Normal file
13
markdown/bitburner.corporationinfo.dividendearnings.md
Normal file
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CorporationInfo](./bitburner.corporationinfo.md) > [dividendEarnings](./bitburner.corporationinfo.dividendearnings.md)
|
||||
|
||||
## CorporationInfo.dividendEarnings property
|
||||
|
||||
Your earnings as a shareholder per second this cycle
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
dividendEarnings: number;
|
||||
```
|
13
markdown/bitburner.corporationinfo.dividendrate.md
Normal file
13
markdown/bitburner.corporationinfo.dividendrate.md
Normal file
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CorporationInfo](./bitburner.corporationinfo.md) > [dividendRate](./bitburner.corporationinfo.dividendrate.md)
|
||||
|
||||
## CorporationInfo.dividendRate property
|
||||
|
||||
Fraction of profits issued as dividends
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
dividendRate: number;
|
||||
```
|
13
markdown/bitburner.corporationinfo.dividendtax.md
Normal file
13
markdown/bitburner.corporationinfo.dividendtax.md
Normal file
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [CorporationInfo](./bitburner.corporationinfo.md) > [dividendTax](./bitburner.corporationinfo.dividendtax.md)
|
||||
|
||||
## CorporationInfo.dividendTax property
|
||||
|
||||
Tax applied on your earnings as a shareholder
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
dividendTax: number;
|
||||
```
|
@ -16,6 +16,9 @@ interface CorporationInfo
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [dividendEarnings](./bitburner.corporationinfo.dividendearnings.md) | number | Your earnings as a shareholder per second this cycle |
|
||||
| [dividendRate](./bitburner.corporationinfo.dividendrate.md) | number | Fraction of profits issued as dividends |
|
||||
| [dividendTax](./bitburner.corporationinfo.dividendtax.md) | number | Tax applied on your earnings as a shareholder |
|
||||
| [divisions](./bitburner.corporationinfo.divisions.md) | [Division](./bitburner.division.md)<!-- -->\[\] | Array of all divisions |
|
||||
| [expenses](./bitburner.corporationinfo.expenses.md) | number | Expenses per second this cycle |
|
||||
| [funds](./bitburner.corporationinfo.funds.md) | number | Funds available |
|
||||
|
@ -9,7 +9,7 @@ Employee in an office
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
interface Employee
|
||||
export interface Employee
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
@ -1,11 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md) > ["Slum Snakes"](./bitburner.gangotherinfo._slum_snakes_.md)
|
||||
|
||||
## GangOtherInfo."Slum Snakes" property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
"Slum Snakes": GangOtherInfoObject;
|
||||
```
|
@ -1,11 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md) > ["Speakers for the Dead"](./bitburner.gangotherinfo._speakers_for_the_dead_.md)
|
||||
|
||||
## GangOtherInfo."Speakers for the Dead" property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
"Speakers for the Dead": GangOtherInfoObject;
|
||||
```
|
@ -1,11 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md) > ["The Black Hand"](./bitburner.gangotherinfo._the_black_hand_.md)
|
||||
|
||||
## GangOtherInfo."The Black Hand" property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
"The Black Hand": GangOtherInfoObject;
|
||||
```
|
@ -1,11 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md) > ["The Dark Army"](./bitburner.gangotherinfo._the_dark_army_.md)
|
||||
|
||||
## GangOtherInfo."The Dark Army" property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
"The Dark Army": GangOtherInfoObject;
|
||||
```
|
@ -1,11 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md) > ["The Syndicate"](./bitburner.gangotherinfo._the_syndicate_.md)
|
||||
|
||||
## GangOtherInfo."The Syndicate" property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
"The Syndicate": GangOtherInfoObject;
|
||||
```
|
@ -10,16 +10,3 @@
|
||||
```typescript
|
||||
export interface GangOtherInfo
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| ["Slum Snakes"](./bitburner.gangotherinfo._slum_snakes_.md) | [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||
| ["Speakers for the Dead"](./bitburner.gangotherinfo._speakers_for_the_dead_.md) | [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||
| ["The Black Hand"](./bitburner.gangotherinfo._the_black_hand_.md) | [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||
| ["The Dark Army"](./bitburner.gangotherinfo._the_dark_army_.md) | [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||
| ["The Syndicate"](./bitburner.gangotherinfo._the_syndicate_.md) | [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||
| [NiteSec](./bitburner.gangotherinfo.nitesec.md) | [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||
| [Tetrads](./bitburner.gangotherinfo.tetrads.md) | [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md) > [NiteSec](./bitburner.gangotherinfo.nitesec.md)
|
||||
|
||||
## GangOtherInfo.NiteSec property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
NiteSec: GangOtherInfoObject;
|
||||
```
|
@ -1,11 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md) > [Tetrads](./bitburner.gangotherinfo.tetrads.md)
|
||||
|
||||
## GangOtherInfo.Tetrads property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
Tetrads: GangOtherInfoObject;
|
||||
```
|
@ -9,7 +9,7 @@ Get the cost of a hash upgrade.
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
hashCost(upgName: string): number;
|
||||
hashCost(upgName: string, count?: number): number;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@ -17,6 +17,7 @@ hashCost(upgName: string): number;
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| upgName | string | Name of the upgrade of Hacknet Node. |
|
||||
| count | number | Number of upgrades to buy at once. Defaults to 1 if not specified. |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
@ -31,12 +31,12 @@ Not all these functions are immediately available.
|
||||
| [getStudyMult()](./bitburner.hacknet.getstudymult.md) | Get the multiplier to study. |
|
||||
| [getTrainingMult()](./bitburner.hacknet.gettrainingmult.md) | Get the multiplier to training. |
|
||||
| [hashCapacity()](./bitburner.hacknet.hashcapacity.md) | Get the maximum number of hashes you can store. |
|
||||
| [hashCost(upgName)](./bitburner.hacknet.hashcost.md) | Get the cost of a hash upgrade. |
|
||||
| [hashCost(upgName, count)](./bitburner.hacknet.hashcost.md) | Get the cost of a hash upgrade. |
|
||||
| [maxNumNodes()](./bitburner.hacknet.maxnumnodes.md) | Get the maximum number of hacknet nodes. |
|
||||
| [numHashes()](./bitburner.hacknet.numhashes.md) | Get the total number of hashes stored. |
|
||||
| [numNodes()](./bitburner.hacknet.numnodes.md) | Get the number of hacknet nodes you own. |
|
||||
| [purchaseNode()](./bitburner.hacknet.purchasenode.md) | Purchase a new hacknet node. |
|
||||
| [spendHashes(upgName, upgTarget)](./bitburner.hacknet.spendhashes.md) | Purchase a hash upgrade. |
|
||||
| [spendHashes(upgName, upgTarget, count)](./bitburner.hacknet.spendhashes.md) | Purchase a hash upgrade. |
|
||||
| [upgradeCache(index, n)](./bitburner.hacknet.upgradecache.md) | Upgrade the cache of a hacknet node. |
|
||||
| [upgradeCore(index, n)](./bitburner.hacknet.upgradecore.md) | Upgrade the core of a hacknet node. |
|
||||
| [upgradeLevel(index, n)](./bitburner.hacknet.upgradelevel.md) | Upgrade the level of a hacknet node. |
|
||||
|
@ -9,7 +9,7 @@ Purchase a hash upgrade.
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
spendHashes(upgName: string, upgTarget?: string): boolean;
|
||||
spendHashes(upgName: string, upgTarget?: string, count?: number): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@ -18,6 +18,7 @@ spendHashes(upgName: string, upgTarget?: string): boolean;
|
||||
| --- | --- | --- |
|
||||
| upgName | string | Name of the upgrade of Hacknet Node. |
|
||||
| upgTarget | string | Object to which upgrade applies. Required for certain upgrades. |
|
||||
| count | number | Number of upgrades to buy at once. Defaults to 1 if not specified. For compatability reasons, upgTarget must be specified, even if it is not used, in order to specify count. |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
11
markdown/bitburner.hp.current.md
Normal file
11
markdown/bitburner.hp.current.md
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [HP](./bitburner.hp.md) > [current](./bitburner.hp.current.md)
|
||||
|
||||
## HP.current property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
current: number;
|
||||
```
|
11
markdown/bitburner.hp.max.md
Normal file
11
markdown/bitburner.hp.max.md
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [HP](./bitburner.hp.md) > [max](./bitburner.hp.max.md)
|
||||
|
||||
## HP.max property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
max: number;
|
||||
```
|
20
markdown/bitburner.hp.md
Normal file
20
markdown/bitburner.hp.md
Normal file
@ -0,0 +1,20 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [HP](./bitburner.hp.md)
|
||||
|
||||
## HP interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface HP
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [current](./bitburner.hp.current.md) | number | |
|
||||
| [max](./bitburner.hp.max.md) | number | |
|
||||
|
11
markdown/bitburner.ilocation.city.md
Normal file
11
markdown/bitburner.ilocation.city.md
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [ILocation](./bitburner.ilocation.md) > [city](./bitburner.ilocation.city.md)
|
||||
|
||||
## ILocation.city property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
city: string;
|
||||
```
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user