mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
dc9b1050bf
Includes my change and a bunch of prior changes
1.2 KiB
1.2 KiB
Home > bitburner > BasicHGWOptions
BasicHGWOptions interface
Options to affect the behavior of hack, grow, and weaken.
Signature:
interface BasicHGWOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
additionalMsec? | number | (Optional) Number of additional milliseconds that will be spent waiting between the start of the function and when it completes. There will only be one, contiguous wait, which is relevant because stats such as server security level are computed at the *start* of the function. Must be non-negative. | |
stock? | boolean | (Optional) Set to true this action will affect the stock market. | |
threads? | number | (Optional) Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. |