bitburner-src/markdown/bitburner.basichgwoptions.md
David Walker dc9b1050bf Result of npm run doc
Includes my change and a bunch of prior changes
2023-02-17 00:14:20 -08:00

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.